openssl/crypto/ec
Richard Levitte fcd2d5a612 Refactor the computation of API version limits
Previously, the API version limit was indicated with a numeric version
number.  This was "natural" in the pre-3.0.0 because the version was
this simple number.

With 3.0.0, the version is divided into three separate numbers, and
it's only the major number that counts, but we still need to be able
to support pre-3.0.0 version limits.

Therefore, we allow OPENSSL_API_COMPAT to be defined with a pre-3.0.0
style numeric version number or with a simple major number, i.e. can
be defined like this for any application:

    -D OPENSSL_API_COMPAT=0x10100000L
    -D OPENSSL_API_COMPAT=3

Since the pre-3.0.0 numerical version numbers are high, it's easy to
distinguish between a simple major number and a pre-3.0.0 numerical
version number and to thereby support both forms at the same time.

Internally, we define the following macros depending on the value of
OPENSSL_API_COMPAT:

    OPENSSL_API_0_9_8
    OPENSSL_API_1_0_0
    OPENSSL_API_1_1_0
    OPENSSL_API_3

They indicate that functions marked for deprecation in the
corresponding major release shall not be built if defined.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7724)
2018-12-06 12:24:48 +01:00
..
asm Update copyright year 2018-09-11 13:45:17 +01:00
curve448 Fix some undefined behaviour in the Curve448 code (2nd attempt) 2018-08-03 12:02:14 +02:00
build.info Add ec/asm/x25519-ppc64.pl module. 2018-07-26 14:01:49 +02:00
curve25519.c Disallow Ed25519 signature maleability 2018-12-03 14:21:05 +00:00
ec2_oct.c Update copyright year 2018-09-11 13:45:17 +01:00
ec2_smpl.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ec_ameth.c Stop marking default digest for EC keys as mandatory 2018-11-10 03:23:14 +02:00
ec_asn1.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ec_check.c
ec_curve.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ec_cvt.c Update copyright year 2018-09-11 13:45:17 +01:00
ec_err.c Provide EC functions that are not curve type specific 2018-07-31 09:08:38 +01:00
ec_key.c Fix segfault in RSA_free() (and DSA/DH/EC_KEY) 2018-09-05 15:22:35 +03:00
ec_kmeth.c Update copyright year 2018-09-11 13:45:17 +01:00
ec_lcl.h Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ec_lib.c Refactor the computation of API version limits 2018-12-06 12:24:48 +01:00
ec_mult.c Timing vulnerability in ECDSA signature generation (CVE-2018-0735) 2018-10-29 07:47:22 +10:00
ec_oct.c Refactor the computation of API version limits 2018-12-06 12:24:48 +01:00
ec_pmeth.c EVP module documentation pass 2018-10-17 13:22:14 +03:00
ec_print.c Update copyright year 2018-04-17 15:18:40 +02:00
ecdh_kdf.c Refactor the computation of API version limits 2018-12-06 12:24:48 +01:00
ecdh_ossl.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ecdsa_ossl.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ecdsa_sign.c
ecdsa_vrf.c
eck_prn.c Update copyright year 2018-09-11 13:45:17 +01:00
ecp_mont.c EC GFp ladder 2018-07-26 19:41:16 +02:00
ecp_nist.c EC GFp ladder 2018-07-26 19:41:16 +02:00
ecp_nistp224.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ecp_nistp256.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ecp_nistp521.c Use the new non-curve type specific EC functions internally 2018-07-31 09:08:38 +01:00
ecp_nistputil.c
ecp_nistz256.c ec/ecp_nistz256.c: fix Coverity nit. 2018-07-25 15:45:18 +02:00
ecp_nistz256_table.c
ecp_oct.c Update copyright year 2018-09-11 13:45:17 +01:00
ecp_smpl.c Replace GFp ladder implementation with ladd-2002-it-4 from EFD 2018-08-21 09:51:18 +01:00
ecx_meth.c Improve the usability of the ca app using EdDSA 2018-08-22 16:35:54 +01:00