openssl/providers/implementations
Matt Caswell 6187d9eac2 Don't crash encoding a public key with no public key value
If asked to encode an EC_KEY public key, but no public key value is present
in the structure, we should fail rather than crash.

Fixes the crash seen here:
https://mta.openssl.org/pipermail/openssl-users/2021-October/014479.html

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16911)
2021-10-27 08:57:12 +10:00
..
asymciphers Correctly calculate the length of SM2 plaintext given the ciphertext 2021-08-24 14:22:07 +01:00
ciphers providers: Add SM4 GCM implementation 2021-09-28 19:27:58 +10:00
digests Add default provider support for Keccak 224, 256, 384 and 512 2021-09-23 12:07:57 +10:00
encode_decode Don't crash encoding a public key with no public key value 2021-10-27 08:57:12 +10:00
exchange Fix dh dupctx refcount error 2021-09-03 12:31:59 +02:00
include/prov providers: Add SM4 GCM implementation 2021-09-28 19:27:58 +10:00
kdfs Fix SSKDF to not claim a buffer size that is too small for the MAC 2021-10-22 08:43:27 +01:00
kem prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
keymgmt fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
macs fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
rands test-rand: return failure on not enough data, allow parent 2021-10-26 20:02:55 +10:00
signature Raise error when invalid digest used with SM2 2021-10-15 14:37:21 +02:00
storemgmt OSSL_STORE 'file:' scheme: Set input structure for certificates and CRLs 2021-09-05 21:34:50 +02:00
build.info