diff options
author | tb <> | 2022-07-15 06:10:00 +0000 |
---|---|---|
committer | tb <> | 2022-07-15 06:10:00 +0000 |
commit | ac5cf725e1e142a94bedd1081a6e13562a10e88f (patch) | |
tree | 67bc30cdd316ff6b73c02900618f8ff9d40d8b11 | |
parent | bcb864ab1813c651f388921182fe8fd0b89bb8bf (diff) | |
download | openbsd-ac5cf725e1e142a94bedd1081a6e13562a10e88f.tar.gz openbsd-ac5cf725e1e142a94bedd1081a6e13562a10e88f.tar.bz2 openbsd-ac5cf725e1e142a94bedd1081a6e13562a10e88f.zip |
Rename is_perfect_square to out_perfect in prototype to match
the code in bn_isqrt.c.
-rw-r--r-- | src/lib/libcrypto/bn/bn_lcl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_lcl.h b/src/lib/libcrypto/bn/bn_lcl.h index e1f80f5c4d..95dc3baac5 100644 --- a/src/lib/libcrypto/bn/bn_lcl.h +++ b/src/lib/libcrypto/bn/bn_lcl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_lcl.h,v 1.34 2022/07/13 06:32:15 tb Exp $ */ | 1 | /* $OpenBSD: bn_lcl.h,v 1.35 2022/07/15 06:10:00 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 | * |
@@ -657,7 +657,7 @@ int BN_gcd_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); | |||
657 | int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords); | 657 | int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords); |
658 | 658 | ||
659 | int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx); | 659 | int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx); |
660 | int bn_is_perfect_square(int *is_perfect_square, const BIGNUM *n, BN_CTX *ctx); | 660 | int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx); |
661 | 661 | ||
662 | int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx); | 662 | int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx); |
663 | 663 | ||