openssl/crypto/serializer
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
..
build.info SERIALIZER: add support for serializing EVP_PKEYs 2019-11-29 20:55:16 +01:00
serializer_err.c SERIALIZER: add support for serializing EVP_PKEYs 2019-11-29 20:55:16 +01:00
serializer_lib.c SERIALIZER: add functions for serialization to file 2019-11-29 20:55:16 +01:00
serializer_local.h Update copyright year 2020-04-23 13:55:52 +01:00
serializer_meth.c Fix some typos 2019-12-11 19:04:01 +01:00
serializer_pkey.c Maintain strict type discipline between the core and providers 2020-05-16 17:10:03 +01:00