summaryrefslogtreecommitdiff
path: root/gcm.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-11-30 13:06:37 +0100
committerNiels Möller <nisse@lysator.liu.se>2020-11-30 13:06:37 +0100
commit5ebf77033b05fdbad0bb612fa9c224862c6a5b7e (patch)
treed1d85c3d4b2c2f6249c0de3d0afe3e4b7b50f104 /gcm.c
parent3246dd90dd26766485dc571b3e40f45da30ed746 (diff)
downloadnettle-5ebf77033b05fdbad0bb612fa9c224862c6a5b7e.tar.gz
Delete name mangling of internal _nettle_ctr_crypt16 function
Diffstat (limited to 'gcm.c')
-rw-r--r--gcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcm.c b/gcm.c
index d6d68070..d1f21d3a 100644
--- a/gcm.c
+++ b/gcm.c
@@ -430,7 +430,7 @@ gcm_encrypt (struct gcm_ctx *ctx, const struct gcm_key *key,
{
assert(ctx->data_size % GCM_BLOCK_SIZE == 0);
- _ctr_crypt16(cipher, f, gcm_fill, ctx->ctr.b, length, dst, src);
+ _nettle_ctr_crypt16(cipher, f, gcm_fill, ctx->ctr.b, length, dst, src);
_nettle_gcm_hash(key, &ctx->x, length, dst);
ctx->data_size += length;
@@ -444,7 +444,7 @@ gcm_decrypt(struct gcm_ctx *ctx, const struct gcm_key *key,
assert(ctx->data_size % GCM_BLOCK_SIZE == 0);
_nettle_gcm_hash(key, &ctx->x, length, src);
- _ctr_crypt16(cipher, f, gcm_fill, ctx->ctr.b, length, dst, src);
+ _nettle_ctr_crypt16(cipher, f, gcm_fill, ctx->ctr.b, length, dst, src);
ctx->data_size += length;
}