aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_openssl
diff options
context:
space:
mode:
authorfituldo <filip.tehlar@gmail.com>2019-04-12 12:26:43 +0000
committerDamjan Marion <dmarion@me.com>2019-04-14 14:44:56 +0000
commit89e66434a2c93a07d7e913bb66b2be5e6e6df14c (patch)
tree17b3ed7dfd68283b4a3d6f0fd6deed3336a19426 /src/plugins/crypto_openssl
parent4e08316f3ec2c98165f156c6551f1e6557931739 (diff)
crypto: add support for AES-CTR cipher
Change-Id: I7d84bab7768421ed37813702c0413e52167f41ab Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/crypto_openssl')
-rw-r--r--src/plugins/crypto_openssl/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/crypto_openssl/main.c b/src/plugins/crypto_openssl/main.c
index 13981e929c7..9b741bbbc71 100644
--- a/src/plugins/crypto_openssl/main.c
+++ b/src/plugins/crypto_openssl/main.c
@@ -44,7 +44,10 @@ static openssl_per_thread_data_t *per_thread_data = 0;
_(cbc, AES_256_CBC, EVP_aes_256_cbc) \
_(gcm, AES_128_GCM, EVP_aes_128_gcm) \
_(gcm, AES_192_GCM, EVP_aes_192_gcm) \
- _(gcm, AES_256_GCM, EVP_aes_256_gcm)
+ _(gcm, AES_256_GCM, EVP_aes_256_gcm) \
+ _(cbc, AES_128_CTR, EVP_aes_128_ctr) \
+ _(cbc, AES_192_CTR, EVP_aes_192_ctr) \
+ _(cbc, AES_256_CTR, EVP_aes_256_ctr) \
#define foreach_openssl_hmac_op \
_(MD5, EVP_md5) \