openssl/providers/common
Matt Caswell d40b42ab4c Maintain strict type discipline between the core and providers
A provider could be linked against a different version of libcrypto than
the version of libcrypto that loaded the provider. Different versions of
libcrypto could define opaque types differently. It must never occur that
a type created in one libcrypto is used directly by the other libcrypto.
This will cause crashes.

We can "cheat" for "built-in" providers that are part of libcrypto itself,
because we know that the two libcrypto versions are the same - but not for
other providers.

To ensure this does not occur we use different types names for the handful
of opaque types that are passed between the core and providers.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11758)
2020-05-16 17:10:03 +01:00
..
der PROV: make some DER AID arrays non-static, to avoid clang complaints 2020-05-14 12:20:24 +02:00
include/prov Maintain strict type discipline between the core and providers 2020-05-16 17:10:03 +01:00
bio_prov.c Maintain strict type discipline between the core and providers 2020-05-16 17:10:03 +01:00
build.info PROV: Adapt all our providers to use the new PROV_CTX structure 2020-05-13 17:22:13 +01:00
nid_to_name.c Rename providers/common/provlib.c to nid_to_name.c 2019-11-10 05:05:06 +01:00
provider_ctx.c Maintain strict type discipline between the core and providers 2020-05-16 17:10:03 +01:00
provider_err.c PROV & SIGNATURE: Adapt the RSA signature code for PSS-parameters 2020-05-14 12:16:36 +02:00
provider_util.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00