diff options
author | tb <> | 2023-06-25 07:50:37 +0000 |
---|---|---|
committer | tb <> | 2023-06-25 07:50:37 +0000 |
commit | e0aeb0f70d4d118590312e367386496c4465d6ca (patch) | |
tree | e1066e303ea9f190265159ca4314021ce9b09c4b /src | |
parent | d29bac6c554e792eda441d648c01f53ebcebfc9c (diff) | |
download | openbsd-e0aeb0f70d4d118590312e367386496c4465d6ca.tar.gz openbsd-e0aeb0f70d4d118590312e367386496c4465d6ca.tar.bz2 openbsd-e0aeb0f70d4d118590312e367386496c4465d6ca.zip |
ec_local.h: move ec_group_simple_order_bits down a bit
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/ec/ec_local.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h index caa73bc728..eb0d6a82a6 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.17 2023/06/24 18:21:07 jsing Exp $ */ | 1 | /* $OpenBSD: ec_local.h,v 1.18 2023/06/25 07:50:37 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,8 +280,6 @@ void EC_EX_DATA_clear_free_data(EC_EXTRA_DATA **, | |||
280 | void EC_EX_DATA_free_all_data(EC_EXTRA_DATA **); | 280 | void EC_EX_DATA_free_all_data(EC_EXTRA_DATA **); |
281 | void EC_EX_DATA_clear_free_all_data(EC_EXTRA_DATA **); | 281 | void EC_EX_DATA_clear_free_all_data(EC_EXTRA_DATA **); |
282 | 282 | ||
283 | int ec_group_simple_order_bits(const EC_GROUP *group); | ||
284 | |||
285 | struct ec_point_st { | 283 | struct ec_point_st { |
286 | const EC_METHOD *meth; | 284 | const EC_METHOD *meth; |
287 | 285 | ||
@@ -348,6 +346,7 @@ int ec_GFp_simple_mul_single_ct(const EC_GROUP *, EC_POINT *r, const BIGNUM *sca | |||
348 | int ec_GFp_simple_mul_double_nonct(const EC_GROUP *, EC_POINT *r, const BIGNUM *g_scalar, | 346 | int ec_GFp_simple_mul_double_nonct(const EC_GROUP *, EC_POINT *r, const BIGNUM *g_scalar, |
349 | const BIGNUM *p_scalar, const EC_POINT *point, BN_CTX *); | 347 | const BIGNUM *p_scalar, const EC_POINT *point, BN_CTX *); |
350 | 348 | ||
349 | int ec_group_simple_order_bits(const EC_GROUP *group); | ||
351 | int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx); | 350 | int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx); |
352 | 351 | ||
353 | /* EC_METHOD definitions */ | 352 | /* EC_METHOD definitions */ |