Add AES_CBC_HMAC_SHA ciphers to providers.
authorShane Lontis <shane.lontis@oracle.com>
Mon, 6 Jan 2020 03:02:16 +0000 (13:02 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 6 Jan 2020 03:02:16 +0000 (13:02 +1000)
commit0d2bfe52bb7e839f7bddcdb1160c335f2994df2f
tree91d972d9aca1832ae2bdfc5ebd130e1c74dc4bc1
parent26583f6aa8dc28e3598e61db66e54e2fdf8b195f
Add AES_CBC_HMAC_SHA ciphers to providers.

Also Add ability for providers to dynamically exclude cipher algorithms.
Cipher algorithms are only returned from providers if their capable() method is either NULL,
or the method returns 1.
This is mainly required for ciphers that only have hardware implementations.
If there is no hardware support, then the algorithm needs to be not available.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10146)
17 files changed:
crypto/aes/build.info
crypto/evp/evp_enc.c
doc/man7/provider-cipher.pod
include/crypto/aes_platform.h
include/openssl/core_names.h
providers/common/include/prov/provider_util.h
providers/common/include/prov/providercommon.h
providers/common/provider_util.c
providers/defltprov.c
providers/fips/fipsprov.c
providers/implementations/ciphers/build.info
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c [new file with mode: 0644]
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.h [new file with mode: 0644]
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c [new file with mode: 0644]
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c [new file with mode: 0644]
providers/implementations/include/prov/implementations.h
test/sslapitest.c