openssl/providers/implementations
Nicola Tuveri e0137ca92b [EC][ASN1] Detect missing OID when serializing EC parameters and keys
The following built-in curves do not have an assigned OID:

- Oakley-EC2N-3
- Oakley-EC2N-4

In general we shouldn't assume that an OID is always available.

This commit detects such cases, raises an error and returns appropriate
return values so that the condition can be detected and correctly
handled by the callers, when serializing EC parameters or EC keys with
the default `ec_param_enc:named_curve`.

Fixes #12306

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12313)
2020-07-06 19:15:36 +03:00
..
asymciphers Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
ciphers Ensure TLS padding is added during encryption on the provider side 2020-07-06 09:26:09 +01:00
digests Update copyright year 2020-06-25 14:13:12 +01:00
exchange Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
include/prov Ensure any allocated MAC is freed in the provider code 2020-07-06 09:26:09 +01:00
kdfs Don't forget our provider ctx when resetting 2020-07-01 11:31:45 +01:00
keymgmt Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
macs Update copyright year 2020-06-25 14:13:12 +01:00
rands coverity 1464983: null pointer dereference 2020-07-05 13:20:09 +10:00
serializers [EC][ASN1] Detect missing OID when serializing EC parameters and keys 2020-07-06 19:15:36 +03:00
signature Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
build.info rand: set up EVP and DRBG infrastructure for RAND from providers. 2020-06-24 20:05:41 +10:00