aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/crypto.c
diff options
context:
space:
mode:
authorAndrew Bennett <[email protected]>2015-12-17 16:03:05 +0100
committerSverker Eriksson <[email protected]>2015-12-17 16:05:15 +0100
commit41e0a3fcbcc39ed1b7d503fc6d648c00f858bd42 (patch)
treeb9e71c0fbb6daa31212396474a524a4d0929618c /lib/crypto/c_src/crypto.c
parent7d9d88e9adf040a17c8ffb01b069fb2a5d125dab (diff)
downloadotp-41e0a3fcbcc39ed1b7d503fc6d648c00f858bd42.tar.gz
otp-41e0a3fcbcc39ed1b7d503fc6d648c00f858bd42.tar.bz2
otp-41e0a3fcbcc39ed1b7d503fc6d648c00f858bd42.zip
crypto: Support 192-bit keys for AES ECB
Diffstat (limited to 'lib/crypto/c_src/crypto.c')
-rw-r--r--lib/crypto/c_src/crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index bb2771163d..a839518a64 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -452,6 +452,7 @@ struct cipher_type_t cipher_types[] =
{"aes_cfb8", &EVP_aes_128_cfb8},
{"aes_cfb128", &EVP_aes_128_cfb128},
{"aes_ecb", &EVP_aes_128_ecb, 16},
+ {"aes_ecb", &EVP_aes_192_ecb, 24},
{"aes_ecb", &EVP_aes_256_ecb, 32},
{NULL}
};