diff options
author | Niels Möller <nisse@lysator.liu.se> | 2019-12-25 16:30:50 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-12-25 16:30:50 +0100 |
commit | f77bd0a33c255b4fd6cac4f8be4d1cde8da0980b (patch) | |
tree | 55208e3fbd427fe1a517720bbf1cee5262c2caee /sha3-384.c | |
parent | d4c3e2ee91ddd992ae155b9375e6bc25e98b22f1 (diff) | |
download | nettle-f77bd0a33c255b4fd6cac4f8be4d1cde8da0980b.tar.gz |
Generalize _sha3_pad to take magic value as argument.
Diffstat (limited to 'sha3-384.c')
-rw-r--r-- | sha3-384.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ sha3_384_digest(struct sha3_384_ctx *ctx, size_t length, uint8_t *digest) { - _sha3_pad (&ctx->state, SHA3_384_BLOCK_SIZE, ctx->block, ctx->index); + _sha3_pad_hash (&ctx->state, SHA3_384_BLOCK_SIZE, ctx->block, ctx->index); _nettle_write_le64 (length, digest, ctx->state.a); sha3_384_init (ctx); } |