summaryrefslogtreecommitdiff
path: root/gosthash94.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-11-30 14:44:24 +0100
committerNiels Möller <nisse@lysator.liu.se>2020-11-30 14:44:24 +0100
commitcbe701537e2975a659bc8bfe55851410daf1b5ce (patch)
tree0b3786b83575012ea34f1fac5d60a4648024609d /gosthash94.c
parentfcf38705f2c34349c011f9bb97f318bce736fdcb (diff)
downloadnettle-cbe701537e2975a659bc8bfe55851410daf1b5ce.tar.gz
Delete name mangling of internal gost symbols
Diffstat (limited to 'gosthash94.c')
-rw-r--r--gosthash94.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gosthash94.c b/gosthash94.c
index 749e9e5b..81663e7f 100644
--- a/gosthash94.c
+++ b/gosthash94.c
@@ -108,7 +108,7 @@ gost_block_compress (struct gosthash94_ctx *ctx, const uint32_t *block,
((w[5] & 0xff000000) >> 8) | (w[7] & 0xff000000);
/* encryption: s_i := E_{key_i} (h_i) */
- _gost28147_encrypt_block (key, sbox, &ctx->hash[i], &s[i]);
+ _nettle_gost28147_encrypt_block (key, sbox, &ctx->hash[i], &s[i]);
if (i == 0)
{
@@ -314,7 +314,7 @@ gosthash94_update (struct gosthash94_ctx *ctx,
size_t length, const uint8_t *msg)
{
gosthash94_update_int (ctx, length, msg,
- _gost28147_param_test_3411.sbox);
+ _nettle_gost28147_param_test_3411.sbox);
}
/**
@@ -330,7 +330,7 @@ gosthash94cp_update (struct gosthash94_ctx *ctx,
size_t length, const uint8_t *msg)
{
gosthash94_update_int (ctx, length, msg,
- _gost28147_param_CryptoPro_3411.sbox);
+ _nettle_gost28147_param_CryptoPro_3411.sbox);
}
/**
@@ -373,7 +373,7 @@ gosthash94_digest (struct gosthash94_ctx *ctx,
size_t length, uint8_t *result)
{
gosthash94_write_digest (ctx, length, result,
- _gost28147_param_test_3411.sbox);
+ _nettle_gost28147_param_test_3411.sbox);
}
void
@@ -381,5 +381,5 @@ gosthash94cp_digest (struct gosthash94_ctx *ctx,
size_t length, uint8_t *result)
{
gosthash94_write_digest (ctx, length, result,
- _gost28147_param_CryptoPro_3411.sbox);
+ _nettle_gost28147_param_CryptoPro_3411.sbox);
}