diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c index 5273aba7c2..a8a624f85b 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c +++ b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_mod_sqrt.c,v 1.8 2023/04/05 11:03:11 tb Exp $ */ | 1 | /* $OpenBSD: bn_mod_sqrt.c,v 1.9 2023/04/06 12:01:45 tb Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> |
| @@ -71,15 +71,14 @@ struct mod_sqrt_test { | |||
| 71 | .sqrt = "7", | 71 | .sqrt = "7", |
| 72 | }, | 72 | }, |
| 73 | 73 | ||
| 74 | /* | ||
| 75 | * Test cases resulting in an infinite loop before bn_sqrt.c r1.10. | ||
| 76 | */ | ||
| 77 | |||
| 74 | { | 78 | { |
| 75 | .a = "20a7ee", | 79 | .a = "20a7ee", |
| 76 | .p = "460201", /* 460201 == 4D5 * E7D */ | 80 | .p = "460201", /* 460201 == 4D5 * E7D */ |
| 77 | }, | 81 | }, |
| 78 | |||
| 79 | /* | ||
| 80 | * Test case resulting in an infinite loop before bn_sqrt.c r1.10. | ||
| 81 | */ | ||
| 82 | |||
| 83 | { | 82 | { |
| 84 | .a = "65bebdb00a96fc814ec44b81f98b59fba3c30203928fa521" | 83 | .a = "65bebdb00a96fc814ec44b81f98b59fba3c30203928fa521" |
| 85 | "4c51e0a97091645280c947b005847f239758482b9bfc45b0" | 84 | "4c51e0a97091645280c947b005847f239758482b9bfc45b0" |
