summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-12-01 21:59:54 +0000
committertb <>2022-12-01 21:59:54 +0000
commit75f6297c3c06270e7bc9e304410f71eed918aa27 (patch)
treeb7e497ff7ca5a703ab498929b29aeb492eaa2d92 /src
parent71fd38306a8cf41970029e506e8a2793c010e3ed (diff)
downloadopenbsd-75f6297c3c06270e7bc9e304410f71eed918aa27.tar.gz
openbsd-75f6297c3c06270e7bc9e304410f71eed918aa27.tar.bz2
openbsd-75f6297c3c06270e7bc9e304410f71eed918aa27.zip
Update reference to table generation
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_isqrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_isqrt.c b/src/lib/libcrypto/bn/bn_isqrt.c
index 7becbd6706..81f90b10be 100644
--- a/src/lib/libcrypto/bn/bn_isqrt.c
+++ b/src/lib/libcrypto/bn/bn_isqrt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_isqrt.c,v 1.4 2022/11/26 16:08:51 tb Exp $ */ 1/* $OpenBSD: bn_isqrt.c,v 1.5 2022/12/01 21:59:54 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -159,7 +159,7 @@ bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *in_ctx)
159 159
160/* 160/*
161 * is_square_mod_N[r % N] indicates whether r % N has a square root modulo N. 161 * is_square_mod_N[r % N] indicates whether r % N has a square root modulo N.
162 * The tables are generated in regress/lib/libcrypto/bn/general/bn_isqrt.c. 162 * The tables are generated in regress/lib/libcrypto/bn/bn_isqrt.c.
163 */ 163 */
164 164
165const uint8_t is_square_mod_11[] = { 165const uint8_t is_square_mod_11[] = {