| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
These are expected failures for BN_mod_exp_simple() and the internal
BN_mod_exp_recp(), which will be fixed shortly.
|
| |
|
|
|
|
| |
This test was never particularly useful. An upcoming API change for
the internal bn_rand_interval() API would require some adjustments.
It's not worth it.
|
| |
|
|
|
| |
This must be one of the ugliest tests I've ever written, but I can't think
of a better way of doing it.
|
| |
|
|
|
| |
This would detect the aliasing issue reported by Guido Vranken fixed
in bn_gcd.c r1.28. Most testcases are from BoringSSL's regress test.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
While base bc is great, it uses libcrypto's BIGNUM implementation.
This implies that the independent verification of the bn_test isn't
as independent as it should be.
With this commit, run-bc picks up bn-gh if it is installed. This appears
to work on amd64, arm64 and sparc64 (where gbc is busted). I will send
PRs to the regress maintainers once I will have tested this a bit more
thoroughly. Committing this early since I juggle way too many diffs
already.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
primes table in directly.
|
| | |
|
| |
|
|
| |
Its is fully covered by bn_mod_exp_zero now.
|
| |
|
|
|
|
|
| |
This also provides some indirect coverage for BN_hex2bn(), BN_bn2hex() and
BN_get_word().
Two of these tests are currently failing and will be fixed shortly.
|
| |
|
|
| |
This will be needed once headers pull in bn_arch.h.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Provide regress coverage for BN_lshift1(), BN_rshift1(), BN_lshift() and
BN_rshift(), along with basic benchmarking functionality (run via
'make benchmark').
|
| | |
|
| | |
|
| |
|
|
|
| |
The previous change had the undesired side effect of running the super
verbose run-regress-bn_test.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
bn_isqrt -C generates code included in lib/libcrypto/lib/bn_isqrt.c. The
regress tests already ensure that the content of the tables don't change.
Ensure further that the code generation doesn't get out of sync.
|
| |
|
|
|
|
|
| |
Move exp/exptest.c to bn/bn_mod_exp.c. This is a BN test that mostly tests
a variety of BN_mod_exp*() API behavior and correctness.
Commit stolen from jsing
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Some tests current fail due to a bug in BN_ucmp(), which will be fixed
soon.
|
| | |
|
| | |
|
| |
|
|
|
| |
( https://github.com/joyent/node/issues/7704 ), about to be fixed in
libcrypto.
|
| |
|
|
| |
it getting siblings.
|
| |
|
|
| |
fixes to keep building.
|
|
|
infrastructure.
The following tests have not been imported, for their code lacks a licence:
asn1, rsa, sha256, sha512, wp.
|