openssl/crypto/ec
Richard Levitte d101700dff CRYPTO: Remove the check for built-in methods in the export_to function
That check was seen as necessary at the time, but other changes have
been made since, so we now have better control on when we're handling
legacy structures and methods, making it safe to run the export_to
function on keys with foreign methods.

The basic message is that foreign methods must set key structure
values according to our standards no matter what, or not set them at
all.  This has really always been the case, but was harder to see at
the time because of interaction with other bugs.

Fixes #15927

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15996)
2021-07-07 15:38:21 +02:00
..
asm ec: Add alignment pseudo-op at beginning of function 2021-06-22 18:30:17 +10:00
curve448 Update copyright year 2021-06-17 13:24:59 +01:00
build.info ppccap.c: Split out algorithm-specific functions 2021-06-25 08:49:45 +01:00
curve25519.c Update copyright year 2021-04-08 13:04:41 +01:00
ec2_oct.c Replace some of the ERR_clear_error() calls with mark calls 2021-05-13 19:26:06 +02:00
ec2_smpl.c add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
ec_ameth.c CRYPTO: Remove the check for built-in methods in the export_to function 2021-07-07 15:38:21 +02:00
ec_asn1.c Implement pem_read_key directly through OSSL_DECODER 2021-05-13 13:30:07 +02:00
ec_backend.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
ec_check.c Update copyright year 2021-03-11 13:27:36 +00:00
ec_curve.c Update copyright year 2021-03-11 13:27:36 +00:00
ec_cvt.c Update copyright year 2021-03-11 13:27:36 +00:00
ec_deprecated.c Deprecate EC_POINT_bn2point and EC_POINT_point2bn. 2020-12-07 17:15:39 +10:00
ec_err.c crypto: updates to pass size_t to RAND_bytes_ex() 2021-06-01 18:13:56 +10:00
ec_key.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
ec_kmeth.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
ec_lib.c Fix external symbols related to ec & sm2 keys 2021-02-26 10:53:01 +10:00
ec_local.h ec: Fail build on big-endian with enable-ec_nistp_64_gcc_128 2021-06-22 18:27:29 +10:00
ec_mult.c ec: remove TODOs 2021-06-02 16:30:15 +10:00
ec_oct.c Update copyright year 2021-03-11 13:27:36 +00:00
ec_pmeth.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
ec_print.c Deprecate EC_POINT_bn2point and EC_POINT_point2bn. 2020-12-07 17:15:39 +10:00
ecdh_kdf.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
ecdh_ossl.c Update copyright year 2021-03-11 13:27:36 +00:00
ecdsa_ossl.c add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
ecdsa_sign.c
ecdsa_vrf.c
eck_prn.c Update copyright year 2021-01-28 13:54:57 +01:00
ecp_mont.c Update copyright year 2021-03-11 13:27:36 +00:00
ecp_nist.c Update copyright year 2021-03-11 13:27:36 +00:00
ecp_nistp224.c Rework and make DEBUG macros consistent. 2021-05-28 10:04:31 +02:00
ecp_nistp256.c Rework and make DEBUG macros consistent. 2021-05-28 10:04:31 +02:00
ecp_nistp521.c ppccap.c: Split out algorithm-specific functions 2021-06-25 08:49:45 +01:00
ecp_nistputil.c Update copyright year 2021-03-11 13:27:36 +00:00
ecp_nistz256_table.c
ecp_nistz256.c Update copyright year 2021-03-11 13:27:36 +00:00
ecp_oct.c Replace some of the ERR_clear_error() calls with mark calls 2021-05-13 19:26:06 +02:00
ecp_ppc.c ppccap.c: Split out algorithm-specific functions 2021-06-25 08:49:45 +01:00
ecp_s390x_nistp.c crypto: updates to pass size_t to RAND_bytes_ex() 2021-06-01 18:13:56 +10:00
ecp_smpl.c add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
ecx_backend.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
ecx_backend.h
ecx_key.c Do not allow creating empty RSA keys by duplication 2021-04-15 09:23:18 +02:00
ecx_meth.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
ecx_s390x.c