diff options
| author | tb <> | 2024-12-06 15:49:37 +0000 |
|---|---|---|
| committer | tb <> | 2024-12-06 15:49:37 +0000 |
| commit | e2a74b965777b01542143e9198f28a6620f9f4f0 (patch) | |
| tree | a9fde5c9e27c337e683318a28e89e742c73a721d /src/lib/libcrypto/ec/ec_mult.c | |
| parent | bf1c7309b6363f22dd0686c08480b282aef894a4 (diff) | |
| download | openbsd-e2a74b965777b01542143e9198f28a6620f9f4f0.tar.gz openbsd-e2a74b965777b01542143e9198f28a6620f9f4f0.tar.bz2 openbsd-e2a74b965777b01542143e9198f28a6620f9f4f0.zip | |
Rename ec_wNAF_mul() to ec_wnaf_mul()
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_mult.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_mult.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c index 0454a436a2..dc3997c3b8 100644 --- a/src/lib/libcrypto/ec/ec_mult.c +++ b/src/lib/libcrypto/ec/ec_mult.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_mult.c,v 1.52 2024/12/06 15:39:59 tb Exp $ */ | 1 | /* $OpenBSD: ec_mult.c,v 1.53 2024/12/06 15:49:37 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. | 3 | * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -195,7 +195,7 @@ ec_compute_odd_multiples(const EC_GROUP *group, const EC_POINT *point, | |||
| 195 | 195 | ||
| 196 | /* | 196 | /* |
| 197 | * Bring multiples held in wnaf0 and wnaf1 simultaneously into affine form | 197 | * Bring multiples held in wnaf0 and wnaf1 simultaneously into affine form |
| 198 | * so that the operations in the loop in ec_wNAF_mul() can take fast paths. | 198 | * so that the operations in the loop in ec_wnaf_mul() can take fast paths. |
| 199 | */ | 199 | */ |
| 200 | 200 | ||
| 201 | static int | 201 | static int |
| @@ -317,7 +317,7 @@ ec_wnaf_multiple(struct ec_wnaf *wnaf, signed char digit) | |||
| 317 | */ | 317 | */ |
| 318 | 318 | ||
| 319 | int | 319 | int |
| 320 | ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m, | 320 | ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *m, |
| 321 | const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx) | 321 | const EC_POINT *point, const BIGNUM *n, BN_CTX *ctx) |
| 322 | { | 322 | { |
| 323 | struct ec_wnaf *wnaf[2] = { NULL, NULL }; | 323 | struct ec_wnaf *wnaf[2] = { NULL, NULL }; |
