Commit 3e19f3bc authored by Niels Möller's avatar Niels Möller
Browse files

* gcm-aes.c (gcm_aes_set_iv): Updated for gcm_set_iv change.

Rev: nettle/gcm-aes.c:1.2
parent 9924966a
...@@ -36,7 +36,7 @@ void ...@@ -36,7 +36,7 @@ void
gcm_aes_set_iv(struct gcm_aes_ctx *ctx, gcm_aes_set_iv(struct gcm_aes_ctx *ctx,
unsigned length, const uint8_t *iv) unsigned length, const uint8_t *iv)
{ {
gcm_set_iv(&ctx->gcm, length, iv); gcm_set_iv(&ctx->gcm, &ctx->key, length, iv);
} }
/* FIXME: Rename to gcm_aes_update, for consistency with other hash /* FIXME: Rename to gcm_aes_update, for consistency with other hash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment