diff options
| author | tb <> | 2022-08-12 16:12:39 +0000 |
|---|---|---|
| committer | tb <> | 2022-08-12 16:12:39 +0000 |
| commit | f2e3f8c30a327f30dc58e8974ad98203a3b57f57 (patch) | |
| tree | 90594963bfb52880917c2b33fea358f771eb2b02 /src/regress/lib/libcrypto | |
| parent | 62502b24f20fa6da4be97eea96ee231c608cc222 (diff) | |
| download | openbsd-f2e3f8c30a327f30dc58e8974ad98203a3b57f57.tar.gz openbsd-f2e3f8c30a327f30dc58e8974ad98203a3b57f57.tar.bz2 openbsd-f2e3f8c30a327f30dc58e8974ad98203a3b57f57.zip | |
Tweak a comment to be more accurate.
Diffstat (limited to 'src/regress/lib/libcrypto')
| -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) |
