summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-09-19 20:10:25 +1000
committerShane Lontis <shane.lontis@oracle.com>2019-09-19 20:10:25 +1000
commit3837c202b5e91f009d1508a8f3608c94515ca776 (patch)
tree3673f611ffd029cf3cb2b7374c610d99a0f49165 /crypto
parent105dde2528d64b4af25c241288a985fdfc27afbc (diff)
Add aes_ocb cipher to providers
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9320)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/evp_enc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
index 41edd0decd..f2511a2b28 100644
--- a/crypto/evp/evp_enc.c
+++ b/crypto/evp/evp_enc.c
@@ -165,6 +165,9 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
case NID_aes_128_ctr:
case NID_aes_128_xts:
case NID_aes_256_xts:
+ case NID_aes_256_ocb:
+ case NID_aes_192_ocb:
+ case NID_aes_128_ocb:
case NID_aes_256_gcm:
case NID_aes_192_gcm:
case NID_aes_128_gcm: