Make AES CCM available in tables.
authortb <tb@openbsd.org>
Wed, 26 Dec 2018 15:11:04 +0000 (15:11 +0000)
committertb <tb@openbsd.org>
Wed, 26 Dec 2018 15:11:04 +0000 (15:11 +0000)
Omission reported by reyk and Alice Wonder.

ok bcook jsing

lib/libcrypto/evp/c_all.c

index 85322d9..5ed55f6 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_all.c,v 1.23 2018/11/11 07:07:44 tb Exp $ */
+/* $OpenBSD: c_all.c,v 1.24 2018/12/26 15:11:04 tb Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -152,6 +152,7 @@ OpenSSL_add_all_ciphers_internal(void)
 #ifndef OPENSSL_NO_AES
        EVP_add_cipher(EVP_aes_128_ecb());
        EVP_add_cipher(EVP_aes_128_cbc());
+       EVP_add_cipher(EVP_aes_128_ccm());
        EVP_add_cipher(EVP_aes_128_cfb());
        EVP_add_cipher(EVP_aes_128_cfb1());
        EVP_add_cipher(EVP_aes_128_cfb8());
@@ -163,6 +164,7 @@ OpenSSL_add_all_ciphers_internal(void)
        EVP_add_cipher_alias(SN_aes_128_cbc, "aes128");
        EVP_add_cipher(EVP_aes_192_ecb());
        EVP_add_cipher(EVP_aes_192_cbc());
+       EVP_add_cipher(EVP_aes_192_ccm());
        EVP_add_cipher(EVP_aes_192_cfb());
        EVP_add_cipher(EVP_aes_192_cfb1());
        EVP_add_cipher(EVP_aes_192_cfb8());
@@ -173,6 +175,7 @@ OpenSSL_add_all_ciphers_internal(void)
        EVP_add_cipher_alias(SN_aes_192_cbc, "aes192");
        EVP_add_cipher(EVP_aes_256_ecb());
        EVP_add_cipher(EVP_aes_256_cbc());
+       EVP_add_cipher(EVP_aes_256_ccm());
        EVP_add_cipher(EVP_aes_256_cfb());
        EVP_add_cipher(EVP_aes_256_cfb1());
        EVP_add_cipher(EVP_aes_256_cfb8());