summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-07-15 06:10:00 +0000
committertb <>2022-07-15 06:10:00 +0000
commitac5cf725e1e142a94bedd1081a6e13562a10e88f (patch)
tree67bc30cdd316ff6b73c02900618f8ff9d40d8b11
parentbcb864ab1813c651f388921182fe8fd0b89bb8bf (diff)
downloadopenbsd-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.h4
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);
657int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords); 657int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords);
658 658
659int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx); 659int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx);
660int bn_is_perfect_square(int *is_perfect_square, const BIGNUM *n, BN_CTX *ctx); 660int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx);
661 661
662int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx); 662int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx);
663 663