openssl/providers/implementations
Pauli 141cc94e44 Add a real type for OSSL_CORE_BIO which is distinct from and not castable to BIO
Providers (particularly the FIPS provider) needs access to BIOs from libcrypto.
Libcrypto is allowed to change the internal format of the BIO structure and it
is still expected to work with providers that were already built.  This means
that the libcrypto BIO must be distinct from and not castable to the provider
side OSSL_CORE_BIO.

Unfortunately, this requirement was broken in both directions.  This fixes
things by forcing the two to be different and any casts break loudly.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14419)
2021-03-11 09:25:57 +10:00
..
asymciphers EVP_PKEY_CTX_get/settable_params: pass provider operation context 2021-03-03 11:25:39 +01:00
ciphers prov: upport modified gettable/settable ctx calls for ciphers 2021-02-26 18:08:41 +10:00
digests prov: update digests to support modified ctx params 2021-02-26 18:08:41 +10:00
encode_decode OSSL_STORE: restore diagnostics on decrypt error; provide password hints 2021-03-04 08:54:09 +01:00
exchange EVP_PKEY_CTX_get/settable_params: pass provider operation context 2021-03-03 11:25:39 +01:00
include/prov Remove unused MAX_TLS_MAC_SIZE define 2021-03-03 10:00:21 +10:00
kdfs prov: add extra params argument to KDF implementations 2021-02-28 17:25:49 +10:00
kem EVP_PKEY_CTX_get/settable_params: pass provider operation context 2021-03-03 11:25:39 +01:00
keymgmt EVP_PKEY_CTX_get/settable_params: pass provider operation context 2021-03-03 11:25:39 +01:00
macs update poly1305 to have additional init arguments 2021-02-28 17:25:49 +10:00
rands rand: remove FIPS mode conditional code. 2021-03-03 21:22:06 +10:00
signature EVP_PKEY_CTX_get/settable_params: pass provider operation context 2021-03-03 11:25:39 +01:00
storemgmt Add a real type for OSSL_CORE_BIO which is distinct from and not castable to BIO 2021-03-11 09:25:57 +10:00
build.info Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00