diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/Symbols.list | 2 | ||||
| -rw-r--r-- | src/lib/libcrypto/ec/ec.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list index ca8e371ff6..c5023001ef 100644 --- a/src/lib/libcrypto/Symbols.list +++ b/src/lib/libcrypto/Symbols.list | |||
| @@ -1047,6 +1047,7 @@ EC_GROUP_get0_seed | |||
| 1047 | EC_GROUP_get_asn1_flag | 1047 | EC_GROUP_get_asn1_flag |
| 1048 | EC_GROUP_get_basis_type | 1048 | EC_GROUP_get_basis_type |
| 1049 | EC_GROUP_get_cofactor | 1049 | EC_GROUP_get_cofactor |
| 1050 | EC_GROUP_get_curve | ||
| 1050 | EC_GROUP_get_curve_GF2m | 1051 | EC_GROUP_get_curve_GF2m |
| 1051 | EC_GROUP_get_curve_GFp | 1052 | EC_GROUP_get_curve_GFp |
| 1052 | EC_GROUP_get_curve_name | 1053 | EC_GROUP_get_curve_name |
| @@ -1064,6 +1065,7 @@ EC_GROUP_new_curve_GF2m | |||
| 1064 | EC_GROUP_new_curve_GFp | 1065 | EC_GROUP_new_curve_GFp |
| 1065 | EC_GROUP_precompute_mult | 1066 | EC_GROUP_precompute_mult |
| 1066 | EC_GROUP_set_asn1_flag | 1067 | EC_GROUP_set_asn1_flag |
| 1068 | EC_GROUP_set_curve | ||
| 1067 | EC_GROUP_set_curve_GF2m | 1069 | EC_GROUP_set_curve_GF2m |
| 1068 | EC_GROUP_set_curve_GFp | 1070 | EC_GROUP_set_curve_GFp |
| 1069 | EC_GROUP_set_curve_name | 1071 | EC_GROUP_set_curve_name |
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index dece357d02..e8b00c8e23 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec.h,v 1.22 2021/04/20 17:32:57 tb Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.23 2021/05/10 16:55:19 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -280,12 +280,11 @@ unsigned char *EC_GROUP_get0_seed(const EC_GROUP *x); | |||
| 280 | size_t EC_GROUP_get_seed_len(const EC_GROUP *); | 280 | size_t EC_GROUP_get_seed_len(const EC_GROUP *); |
| 281 | size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len); | 281 | size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len); |
| 282 | 282 | ||
| 283 | #if defined(LIBRESSL_INTERNAL) | ||
| 284 | int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, | 283 | int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, |
| 285 | const BIGNUM *b, BN_CTX *ctx); | 284 | const BIGNUM *b, BN_CTX *ctx); |
| 286 | int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, | 285 | int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, |
| 287 | BN_CTX *ctx); | 286 | BN_CTX *ctx); |
| 288 | #else | 287 | #if !defined(LIBRESSL_INTERNAL) |
| 289 | /** Sets the parameter of a ec over GFp defined by y^2 = x^3 + a*x + b | 288 | /** Sets the parameter of a ec over GFp defined by y^2 = x^3 + a*x + b |
| 290 | * \param group EC_GROUP object | 289 | * \param group EC_GROUP object |
| 291 | * \param p BIGNUM with the prime number | 290 | * \param p BIGNUM with the prime number |
