summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nettle/cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nettle/cipher.c b/lib/nettle/cipher.c
index 383b0b97b5..d5ff1cc1b4 100644
--- a/lib/nettle/cipher.c
+++ b/lib/nettle/cipher.c
@@ -198,7 +198,7 @@ static const struct nettle_cipher_st builtin_ciphers[] = {
.ctx_size = sizeof(struct gcm_aes256_ctx),
.encrypt = _gcm_encrypt,
.decrypt = _gcm_decrypt,
- .set_encrypt_key = (nettle_set_key_func*)gcm_aes128_set_key,
+ .set_encrypt_key = (nettle_set_key_func*)gcm_aes256_set_key,
.set_decrypt_key = (nettle_set_key_func*)gcm_aes256_set_key,
.tag = (nettle_hash_digest_func*)gcm_aes256_digest,