summaryrefslogtreecommitdiff
path: root/lib/nettle
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-05-14 14:00:11 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-05-14 14:00:13 +0200
commit6adde30fcea02d3cb541b5a5bfb3b12074f1f3e9 (patch)
treebd6923bfdee9d71b1dddcff1774642f5b80f8cf1 /lib/nettle
parentcd76fe0a226ebd3fe43231276ef891122a25b75f (diff)
downloadgnutls-6adde30fcea02d3cb541b5a5bfb3b12074f1f3e9.tar.gz
camellia256-gcm: corrected regression
Reported by Manuel Pegourie-Gonnard.
Diffstat (limited to 'lib/nettle')
-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 59e70dda32..74e42031c6 100644
--- a/lib/nettle/cipher.c
+++ b/lib/nettle/cipher.c
@@ -302,7 +302,7 @@ static const struct nettle_cipher_st builtin_ciphers[] = {
.ctx_size = sizeof(struct gcm_camellia256_ctx),
.encrypt = _gcm_encrypt,
.decrypt = _gcm_decrypt,
- .set_encrypt_key = (nettle_set_key_func*)gcm_camellia128_set_key,
+ .set_encrypt_key = (nettle_set_key_func*)gcm_camellia256_set_key,
.set_decrypt_key = (nettle_set_key_func*)gcm_camellia256_set_key,
.tag = (nettle_hash_digest_func*)gcm_camellia256_digest,