openssl/include/crypto
Richard Levitte 63f187cfed STORE: Add a built-in 'file:' storemgmt implementation (loader)
This replaces the older 'file:' loader that is now an engine.

It's still possible to use the older 'file:' loader by explicitly
using the engine, and tests will remain for it as long as ENGINEs are
still supported (even through deprecated).

To support this storemgmt implementation, a few internal OSSL_DECODER
modifications are needed:

-   An internal function that implements most of
    OSSL_DECODER_CTX_new_by_EVP_PKEY(), but operates on an already
    existing OSSL_DECODER_CTX instead of allocating a new one.
-   Allow direct creation of a OSSL_DECODER from an OSSL_ALGORITHM.
    It isn't attached to any provider, and is only used internally, to
    simply catch any DER encoded object to be passed back to the
    object callback with no further checking.  This implementation
    becomes the last resort decoder, when all "normal"
    decodation attempts (i.e. those that are supposed to result
    in an OpenSSL object of some sort) have failed.

Because file_store_attach() uses BIO_tell(), we must also support
BIO_ctrl() as a libcrypto upcall.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12587)
2020-09-03 17:48:32 +02:00
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
aes_platform.h Update copyright year 2020-04-23 13:55:52 +01:00
aria.h
asn1_dsa.h
asn1.h STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
async.h
bn_conf.h.in
bn_dh.h Fix DH_get_nid() so that it does not cache values. 2020-04-20 11:07:38 +10:00
bn_srp.h
bn.h
chacha.h
cmll_platform.h
cms.h crypto/cms: add CAdES-BES signed attributes validation 2020-05-27 13:16:30 +02:00
cryptlib.h
ctype.h
decoder.h STORE: Add a built-in 'file:' storemgmt implementation (loader) 2020-09-03 17:48:32 +02:00
des_platform.h
dh.h Add dh_kdf support to provider 2020-08-11 20:39:19 +10:00
dsa.h Clean away some declarations 2020-08-21 15:18:20 +02:00
dso_conf.h.in
ec.h Add Explicit EC parameter support to providers. 2020-08-22 14:55:41 +10:00
ecx.h Add the library ctx into an ECX_KEY 2020-05-04 09:30:55 +01:00
encoder.h Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE 2020-08-21 09:23:58 +02:00
engine.h
err.h
ess.h crypto/cms: add CAdES-BES signed attributes validation 2020-05-27 13:16:30 +02:00
evp.h STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
lhash.h
md32_common.h
modes.h Update copyright year 2020-04-23 13:55:52 +01:00
objects.h
pkcs7.h Add libctx support to PKCS7. 2020-08-09 17:34:52 +10:00
poly1305.h
punycode.h Punycode decoding implementation 2020-08-26 14:04:11 +03:00
rand.h share rand_pool between libcrypto and providers 2020-06-24 20:05:41 +10:00
rsa.h Clean away some declarations 2020-08-21 15:18:20 +02:00
security_bits.h Change DH_get_nid() to set the value of q if it is not already set 2020-03-07 07:47:58 +10:00
sha.h
siphash.h
siv.h Update copyright year 2020-08-06 13:22:30 +01:00
sm2.h
sm2err.h
sm4.h
sparse_array.h
store.h Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
x509.h STORE: Modify to support loading with provider based loaders 2020-08-24 10:02:26 +02:00
x509v3.h