From ab8f71258450a56c92b78867c97852aac102b0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 4 Oct 2015 07:19:52 +0000 Subject: [PATCH] Correctly register AES192 and AES256 --- lib/cipher/aes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cipher/aes.c b/lib/cipher/aes.c index 20163e8..5206b8f 100644 --- a/lib/cipher/aes.c +++ b/lib/cipher/aes.c @@ -609,7 +609,7 @@ cipher_algorithm aes128_cipher = { }; cipher_algorithm aes192_cipher = { - .name = "aes", + .name = "aes192", .contextlen = sizeof(aes_ctx), .blocklen = AES_BLOCK_LEN, .keylen = 192 / 8, @@ -619,7 +619,7 @@ cipher_algorithm aes192_cipher = { }; cipher_algorithm aes256_cipher = { - .name = "aes", + .name = "aes256", .contextlen = sizeof(aes_ctx), .blocklen = AES_BLOCK_LEN, .keylen = 256 / 8,