diff options
author | tb <> | 2024-10-31 15:37:53 +0000 |
---|---|---|
committer | tb <> | 2024-10-31 15:37:53 +0000 |
commit | 65fc25f0127c246c6ca0b80faa55bd49fa2ef13f (patch) | |
tree | 213f15ca307e60a6806d6afab897c0a81c295102 /src/lib/libcrypto/ec/ecp_smpl.c | |
parent | 2f2f748fde73822038414204b26d3d5f3b07d5ba (diff) | |
download | openbsd-65fc25f0127c246c6ca0b80faa55bd49fa2ef13f.tar.gz openbsd-65fc25f0127c246c6ca0b80faa55bd49fa2ef13f.tar.bz2 openbsd-65fc25f0127c246c6ca0b80faa55bd49fa2ef13f.zip |
Retire the oct2point and point2oct EC_METHOD members
Both our remaining EC_METHODs use the methods that used to be called
ec_GFp_simple_{oct2point,point2oct}() so there's no need for the function
pointer indirection. Make the public API call them directly.
ok jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/ec/ecp_smpl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c index 018aedfd4e..ab79680742 100644 --- a/src/lib/libcrypto/ec/ecp_smpl.c +++ b/src/lib/libcrypto/ec/ecp_smpl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_smpl.c,v 1.56 2023/08/03 18:53:56 tb Exp $ */ | 1 | /* $OpenBSD: ecp_smpl.c,v 1.57 2024/10/31 15:37:53 tb Exp $ */ |
2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
3 | * for the OpenSSL project. | 3 | * for the OpenSSL project. |
4 | * Includes code written by Bodo Moeller for the OpenSSL project. | 4 | * Includes code written by Bodo Moeller for the OpenSSL project. |
@@ -1534,8 +1534,6 @@ static const EC_METHOD ec_GFp_simple_method = { | |||
1534 | ec_GFp_simple_point_get_affine_coordinates, | 1534 | ec_GFp_simple_point_get_affine_coordinates, |
1535 | .point_set_compressed_coordinates = | 1535 | .point_set_compressed_coordinates = |
1536 | ec_GFp_simple_set_compressed_coordinates, | 1536 | ec_GFp_simple_set_compressed_coordinates, |
1537 | .point2oct = ec_GFp_simple_point2oct, | ||
1538 | .oct2point = ec_GFp_simple_oct2point, | ||
1539 | .add = ec_GFp_simple_add, | 1537 | .add = ec_GFp_simple_add, |
1540 | .dbl = ec_GFp_simple_dbl, | 1538 | .dbl = ec_GFp_simple_dbl, |
1541 | .invert = ec_GFp_simple_invert, | 1539 | .invert = ec_GFp_simple_invert, |