summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unwanted trailing newlines from err/warn format strings.anton2024-08-231-2/+2
|
* bn_mod_sqrt: remove no longer necessary complications due to thetb2023-04-111-15/+5
| | | | non-deterministic nature of the old implementation.
* Move a comment to the proper placetb2023-04-061-6/+5
|
* bn_mod_sqrt: Improve a handful of comments and a printftb2023-04-051-5/+9
|
* Improve regress coverage for BN_mod_sqrt()tb2023-04-051-3/+2783
| | | | | This now covers all the main branches of both the old and new BN_mod_sqrt() implementation except for negative p.
* Simplify mod_sqrt_test() a bittb2023-04-051-35/+16
|
* bn_mod_sqrt test: Use a #define rather than hard coded 100tb2023-04-051-3/+5
|
* Add coverage for the truly non-deterministic path of Tonelli-Shankstb2023-04-051-4/+1625
| | | | | Regress coverage of all of BN_mod_sqrt() is still lacking after this. This will improve in forthcoming commits.
* Clean bn_mod_sqrt up a littletb2023-04-041-28/+53
| | | | | This makes it look a bit more like other tests and also prepares the addition of further test cases and different tests.
* Add a few missing headers and drop a few unused onestb2022-12-061-1/+3
| | | | In bn_test.c include bn_local.h instead of using copy-pasted prototypes.
* Flatten structure of libcrypto/bn teststb2022-12-011-0/+129
The bn tests were distributed into three subdirectories rather randomly. It's cleaner and easier to maintain if all this is in a single directory. Use consistent names for the .c files, unify handling of the tests with the exception of bn_test, which is special. Discussed with jsing