]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/bntest.c
Add BN support to the test infrastructure.
authorPauli <paul.dale@oracle.com>
Mon, 8 May 2017 02:09:41 +0000 (12:09 +1000)
committerRichard Levitte <levitte@openssl.org>
Tue, 9 May 2017 19:30:29 +0000 (21:30 +0200)
commitdc352c193755525292310c8992e3c9b81a556a31
tree9ff9ee27744faf975cabca0120b05c791cb43ccd
parent5e3766e2f15b3a8ea696b194c32a141cbe668d4e
Add BN support to the test infrastructure.

This includes support for:

- comparisions between pairs of BIGNUMs
- comparisions between BIGNUMs and zero
- equality comparison between BIGNUMs and one
- equality comparisons between BIGNUMs and constants
- parity checks for BIGNUMs

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3405)
test/bntest.c
test/ecdsatest.c
test/ectest.c
test/exptest.c
test/srptest.c
test/testutil.h
test/testutil/tests.c