openssl/include/crypto
Richard Levitte 3c6ed9555c Rethink the EVP_PKEY cache of provider side keys
The role of this cache was two-fold:

1.  It was a cache of key copies exported to providers with which an
    operation was initiated.
2.  If the EVP_PKEY didn't have a legacy key, item 0 of the cache was
    the corresponding provider side origin, while the rest was the
    actual cache.

This dual role for item 0 made the code a bit confusing, so we now
make a separate keymgmt / keydata pair outside of that cache, which is
the provider side "origin" key.

A hard rule is that an EVP_PKEY cannot hold a legacy "origin" and a
provider side "origin" at the same time.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11148)
2020-02-29 05:39:43 +01:00
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
aes_platform.h Add AES_CBC_HMAC_SHA ciphers to providers. 2020-01-06 13:02:16 +10:00
aria.h
asn1_dsa.h
asn1.h Redesign the KEYMGMT libcrypto <-> provider interface - the basics 2020-02-07 09:37:56 +01:00
async.h
bn_conf.h.in
bn_dh.h Add support for DH 'modp' group parameters (RFC 3526) 2020-01-31 08:18:46 +10:00
bn_srp.h
bn.h RSA generation: Use more bits of 1/sqrt(2) 2019-11-09 16:01:54 +01:00
chacha.h
cmll_platform.h CRYPTO: split cipher_platform.h into algorithm specific headers 2019-12-19 13:31:29 +01:00
cms.h
cryptlib.h
ctype.h
des_platform.h CRYPTO: split cipher_platform.h into algorithm specific headers 2019-12-19 13:31:29 +01:00
dh.h Add FFC param/key validation 2020-02-16 13:03:46 +10:00
dsa.h Add FFC param/key validation 2020-02-16 13:03:46 +10:00
dso_conf.h.in
ec.h
ecx.h Add S390 support for provider based X25519/X448 2020-02-11 22:32:56 +00:00
engine.h
err.h
ess.h
evp.h Rethink the EVP_PKEY cache of provider side keys 2020-02-29 05:39:43 +01:00
lhash.h
md32_common.h
modes.h Fix a bug for aarch64 BigEndian 2020-02-17 12:13:23 +10:00
objects.h
poly1305.h Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00
rand.h Convert rand_bytes_ex and rand_priv_bytes_ex to public functions 2020-01-20 14:54:31 +00:00
rsa.h PROV: add RSA signature implementation 2020-02-22 01:07:15 +01:00
serializer.h SERIALIZER: New API for serialization of objects through providers 2019-11-29 20:54:48 +01:00
sha.h
siphash.h
siv.h
sm2.h
sm2err.h Update source files for deprecation at 3.0 2019-11-07 11:37:25 +01:00
sm4.h
sparse_array.h
store.h
x509.h chunk 7 of CMP contribution to OpenSSL 2020-02-17 07:43:58 +01:00
x509v3.h x509v3 subjectSignTool extention support 2020-02-28 18:01:16 +03:00