diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-11-26 15:43:55 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-12-03 10:12:19 +0100 |
commit | 4ffd956c9464b2ab669331578abccc08803131c2 (patch) | |
tree | d83a6fe93834f2686907e02bfce8a46fd8dc71f9 /lib/nettle | |
parent | 7fe49f359f217d4b5c01e5b4b183ae0b81fff6ff (diff) | |
download | gnutls-4ffd956c9464b2ab669331578abccc08803131c2.tar.gz |
corrected issue in AES-256-GCM
Diffstat (limited to 'lib/nettle')
-rw-r--r-- | lib/nettle/cipher.c | 2 |
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, |