diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-09-19 20:10:25 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2019-09-19 20:10:25 +1000 |
commit | 3837c202b5e91f009d1508a8f3608c94515ca776 (patch) | |
tree | 3673f611ffd029cf3cb2b7374c610d99a0f49165 /providers/default/defltprov.c | |
parent | 105dde2528d64b4af25c241288a985fdfc27afbc (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 'providers/default/defltprov.c')
-rw-r--r-- | providers/default/defltprov.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/providers/default/defltprov.c b/providers/default/defltprov.c index 845f0c11c0..3ea0698d1a 100644 --- a/providers/default/defltprov.c +++ b/providers/default/defltprov.c @@ -116,6 +116,11 @@ static const OSSL_ALGORITHM deflt_ciphers[] = { { "AES-128-CTR", "default=yes", aes128ctr_functions }, { "AES-256-XTS", "default=yes", aes256xts_functions }, { "AES-128-XTS", "default=yes", aes128xts_functions }, +#ifndef OPENSSL_NO_OCB + { "AES-256-OCB", "default=yes", aes256ocb_functions }, + { "AES-192-OCB", "default=yes", aes192ocb_functions }, + { "AES-128-OCB", "default=yes", aes128ocb_functions }, +#endif /* OPENSSL_NO_OCB */ /* TODO(3.0) Add aliases when they are supported */ { "id-aes256-GCM", "default=yes", aes256gcm_functions }, { "id-aes192-GCM", "default=yes", aes192gcm_functions }, |