diff options
| author | tb <> | 2025-01-06 19:23:25 +0000 |
|---|---|---|
| committer | tb <> | 2025-01-06 19:23:25 +0000 |
| commit | 4000ace83aa7a7af741f90f2a7e77776c720cff2 (patch) | |
| tree | 57da7e63aeed38c0272b01e4ca939af9730274bc /src | |
| parent | 807bff804d374f879527740d0c889f7c73ccba38 (diff) | |
| download | openbsd-4000ace83aa7a7af741f90f2a7e77776c720cff2.tar.gz openbsd-4000ace83aa7a7af741f90f2a7e77776c720cff2.tar.bz2 openbsd-4000ace83aa7a7af741f90f2a7e77776c720cff2.zip | |
ec_lib: create a garbage bin at the end, throw Jprojective stuff in there
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_lib.c | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index 3c5a7d5c34..7a82eb23f8 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_lib.c,v 1.101 2025/01/06 14:29:33 tb Exp $ */ | 1 | /* $OpenBSD: ec_lib.c,v 1.102 2025/01/06 19:23:25 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 | */ |
| @@ -895,24 +895,6 @@ EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point) | |||
| 895 | LCRYPTO_ALIAS(EC_POINT_set_to_infinity); | 895 | LCRYPTO_ALIAS(EC_POINT_set_to_infinity); |
| 896 | 896 | ||
| 897 | int | 897 | int |
| 898 | EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, | ||
| 899 | const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) | ||
| 900 | { | ||
| 901 | ECerror(ERR_R_DISABLED); | ||
| 902 | return 0; | ||
| 903 | } | ||
| 904 | LCRYPTO_ALIAS(EC_POINT_set_Jprojective_coordinates_GFp); | ||
| 905 | |||
| 906 | int | ||
| 907 | EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, | ||
| 908 | const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) | ||
| 909 | { | ||
| 910 | ECerror(ERR_R_DISABLED); | ||
| 911 | return 0; | ||
| 912 | } | ||
| 913 | LCRYPTO_ALIAS(EC_POINT_get_Jprojective_coordinates_GFp); | ||
| 914 | |||
| 915 | int | ||
| 916 | EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, | 898 | EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, |
| 917 | const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx_in) | 899 | const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx_in) |
| 918 | { | 900 | { |
| @@ -1381,3 +1363,26 @@ EC_GROUP_have_precompute_mult(const EC_GROUP *group) | |||
| 1381 | return 0; | 1363 | return 0; |
| 1382 | } | 1364 | } |
| 1383 | LCRYPTO_ALIAS(EC_GROUP_have_precompute_mult); | 1365 | LCRYPTO_ALIAS(EC_GROUP_have_precompute_mult); |
| 1366 | |||
| 1367 | /* | ||
| 1368 | * XXX - remove everything below in the next bump | ||
| 1369 | */ | ||
| 1370 | |||
| 1371 | int | ||
| 1372 | EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, | ||
| 1373 | const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) | ||
| 1374 | { | ||
| 1375 | ECerror(ERR_R_DISABLED); | ||
| 1376 | return 0; | ||
| 1377 | } | ||
| 1378 | LCRYPTO_ALIAS(EC_POINT_set_Jprojective_coordinates_GFp); | ||
| 1379 | |||
| 1380 | int | ||
| 1381 | EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, | ||
| 1382 | const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) | ||
| 1383 | { | ||
| 1384 | ECerror(ERR_R_DISABLED); | ||
| 1385 | return 0; | ||
| 1386 | } | ||
| 1387 | LCRYPTO_ALIAS(EC_POINT_get_Jprojective_coordinates_GFp); | ||
| 1388 | |||
