diff options
author | tb <> | 2022-08-12 16:12:39 +0000 |
---|---|---|
committer | tb <> | 2022-08-12 16:12:39 +0000 |
commit | 3d634dffcb9f236d71753e5ee032f584da664ffd (patch) | |
tree | 90594963bfb52880917c2b33fea358f771eb2b02 /src | |
parent | e63a30527a3acc5f0e98cde565636feb2a8b7aea (diff) | |
download | openbsd-3d634dffcb9f236d71753e5ee032f584da664ffd.tar.gz openbsd-3d634dffcb9f236d71753e5ee032f584da664ffd.tar.bz2 openbsd-3d634dffcb9f236d71753e5ee032f584da664ffd.zip |
Tweak a comment to be more accurate.
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/bn/general/bn_isqrt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/general/bn_isqrt.c b/src/regress/lib/libcrypto/bn/general/bn_isqrt.c index 3ada3d9edf..0444666e11 100644 --- a/src/regress/lib/libcrypto/bn/general/bn_isqrt.c +++ b/src/regress/lib/libcrypto/bn/general/bn_isqrt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_isqrt.c,v 1.4 2022/07/28 20:06:01 tb Exp $ */ | 1 | /* $OpenBSD: bn_isqrt.c,v 1.5 2022/08/12 16:12:39 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -158,8 +158,8 @@ validate_tables(void) | |||
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Choose a random number n of bit length between LOWER_BITS and UPPER_BITS and | 160 | * Choose a random number n of bit length between LOWER_BITS and UPPER_BITS and |
161 | * check that n == isqrt(n^2). Random numbers n^2 <= test < (n + 1)^2 are | 161 | * check that n == isqrt(n^2). Random numbers n^2 <= testcase < (n + 1)^2 are |
162 | * checked to have isqrt(test) == n. | 162 | * checked to have isqrt(testcase) == n. |
163 | */ | 163 | */ |
164 | static int | 164 | static int |
165 | isqrt_test(void) | 165 | isqrt_test(void) |