diff options
author | tb <> | 2025-02-12 21:21:34 +0000 |
---|---|---|
committer | tb <> | 2025-02-12 21:21:34 +0000 |
commit | a43783ab93f8c9d6f36f0c78557e0db12ae47b12 (patch) | |
tree | c1fa31e2af564c107a213bec9541e1d7b698940c /src/lib/libcrypto/bn/bn_local.h | |
parent | 6c52bae3df522ccb0c1f2d5138b4c0c6bad8152c (diff) | |
download | openbsd-a43783ab93f8c9d6f36f0c78557e0db12ae47b12.tar.gz openbsd-a43783ab93f8c9d6f36f0c78557e0db12ae47b12.tar.bz2 openbsd-a43783ab93f8c9d6f36f0c78557e0db12ae47b12.zip |
Rename BN_mod_exp_recp() to BN_mod_exp_reciprocal()
(leaving out a dotasm comment that would become harder to read than it
already is)
Diffstat (limited to 'src/lib/libcrypto/bn/bn_local.h')
-rw-r--r-- | src/lib/libcrypto/bn/bn_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_local.h b/src/lib/libcrypto/bn/bn_local.h index fe3abeeb9a..4b42ae95ee 100644 --- a/src/lib/libcrypto/bn/bn_local.h +++ b/src/lib/libcrypto/bn/bn_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_local.h,v 1.48 2025/01/22 10:12:01 tb Exp $ */ | 1 | /* $OpenBSD: bn_local.h,v 1.49 2025/02/12 21:21:34 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -279,7 +279,7 @@ int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, | |||
279 | BN_RECP_CTX *recp, BN_CTX *ctx); | 279 | BN_RECP_CTX *recp, BN_CTX *ctx); |
280 | int BN_mod_sqr_reciprocal(BIGNUM *r, const BIGNUM *x, BN_RECP_CTX *recp, | 280 | int BN_mod_sqr_reciprocal(BIGNUM *r, const BIGNUM *x, BN_RECP_CTX *recp, |
281 | BN_CTX *ctx); | 281 | BN_CTX *ctx); |
282 | int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | 282 | int BN_mod_exp_reciprocal(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, |
283 | const BIGNUM *m, BN_CTX *ctx); | 283 | const BIGNUM *m, BN_CTX *ctx); |
284 | 284 | ||
285 | /* Explicitly const time / non-const time versions for internal use */ | 285 | /* Explicitly const time / non-const time versions for internal use */ |