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:31:52 +0000 (14:31 +0300)
commitaa20a9b3e098f8ed95184a33ffbf2166039f2fd1
treee4d57876e9ad1b79997ea80bacc8c4b5b65eaa73
parentef599605040bc5c1a426ccd83d58cd0dd294509f
Add GCD testing infrastructure.

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

(cherry picked from commit b75d6310857bc44ef2851bde68a1979c18bb4807)

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]