diff options
| author | jsing <> | 2025-01-06 12:35:14 +0000 |
|---|---|---|
| committer | jsing <> | 2025-01-06 12:35:14 +0000 |
| commit | b49ed379be5d4e78d2fe9ffefb79f0ec0ddff691 (patch) | |
| tree | 56bceda3598e917f19ee015bb6e277b5c45d2f85 /src/lib/libcrypto/ec/ec_local.h | |
| parent | a22e5a32f47da204cfb322f18fc06bad0b7064a9 (diff) | |
| download | openbsd-b49ed379be5d4e78d2fe9ffefb79f0ec0ddff691.tar.gz openbsd-b49ed379be5d4e78d2fe9ffefb79f0ec0ddff691.tar.bz2 openbsd-b49ed379be5d4e78d2fe9ffefb79f0ec0ddff691.zip | |
Remove indirection for coordinate blinding.
This is usually method specific, so remove the indirection and call the
appropriate blinding function directly.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index 1b7ca5b645..c74bb05d9a 100644 --- a/src/lib/libcrypto/ec/ec_local.h +++ b/src/lib/libcrypto/ec/ec_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_local.h,v 1.48 2025/01/06 11:59:02 tb Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.49 2025/01/06 12:35:14 jsing 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 | */ |
| @@ -142,9 +142,6 @@ struct ec_method_st { | |||
| 142 | BN_CTX *); | 142 | BN_CTX *); |
| 143 | int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, | 143 | int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, |
| 144 | BN_CTX *); | 144 | BN_CTX *); |
| 145 | |||
| 146 | int (*blind_coordinates)(const EC_GROUP *group, EC_POINT *p, | ||
| 147 | BN_CTX *ctx); | ||
| 148 | } /* EC_METHOD */; | 145 | } /* EC_METHOD */; |
| 149 | 146 | ||
| 150 | struct ec_group_st { | 147 | struct ec_group_st { |
| @@ -224,7 +221,6 @@ int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m, | |||
| 224 | const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx); | 221 | const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx); |
| 225 | 222 | ||
| 226 | int ec_group_simple_order_bits(const EC_GROUP *group); | 223 | int ec_group_simple_order_bits(const EC_GROUP *group); |
| 227 | int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx); | ||
| 228 | 224 | ||
| 229 | /* EC_METHOD definitions */ | 225 | /* EC_METHOD definitions */ |
| 230 | 226 | ||
