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 Fix header file include guard names 2019-09-28 20:26:36 +02:00
asn1.h STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
asn1_dsa.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
async.h
bn.h RSA generation: Use more bits of 1/sqrt(2) 2019-11-09 16:01:54 +01:00
bn_conf.h.in Fix header file include guard names 2019-09-28 20:26:36 +02:00
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
chacha.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
cmll_platform.h CRYPTO: split cipher_platform.h into algorithm specific headers 2019-12-19 13:31:29 +01:00
cms.h crypto/cms: add CAdES-BES signed attributes validation 2020-05-27 13:16:30 +02:00
cryptlib.h
ctype.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
decoder.h STORE: Add a built-in 'file:' storemgmt implementation (loader) 2020-09-03 17:48:32 +02:00
des_platform.h CRYPTO: split cipher_platform.h into algorithm specific headers 2019-12-19 13:31:29 +01:00
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 Fix header file include guard names 2019-09-28 20:26:36 +02:00
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 Fix header file include guard names 2019-09-28 20:26:36 +02:00
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 Fix header file include guard names 2019-09-28 20:26:36 +02:00
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 Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00
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 Fix header file include guard names 2019-09-28 20:26:36 +02:00
siphash.h
siv.h Update copyright year 2020-08-06 13:22:30 +01:00
sm2.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
sm2err.h Update source files for deprecation at 3.0 2019-11-07 11:37:25 +01:00
sm4.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
sparse_array.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
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 x509v3 subjectSignTool extention support 2020-02-28 18:01:16 +03:00