Add GCD testing infrastructure.
authorCesar Pereida Garcia <cesar.pereidagarcia@tut.fi>
Fri, 20 Sep 2019 11:11:19 +0000 (14:11 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Thu, 17 Oct 2019 11:25:10 +0000 (14:25 +0300)
commitb75d6310857bc44ef2851bde68a1979c18bb4807
tree215a4648a158e80175bd7138a8b7cd8350a4fb92
parentf3c4adfc7eb13e9eff514039b4c60b457bdba433
Add GCD testing infrastructure.

This commit adds testing and Known Answer Tests (KATs) to OpenSSL for
the `BN_gcd` function.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10122)
test/bntest.c
test/recipes/10-test_bn.t
test/recipes/10-test_bn_data/bngcd.txt [new file with mode: 0644]