boringssl/crypto/test
David Benjamin f77c8a38be Be less clever with CHECK_ABI.
Unwind testing will make CHECK_ABI much slower. The original
ptrace-based design is some 10,000x slower. I've found an alternate
design that's a mere 1,000x slower, but this probably warrants being
more straightforward. It also removes the weirdness where NDEBUG
controlled which tests were run.

While it does mean we need to write some extra tests for p256-x86_64.pl,
we otherwise do not directly unit test our assembly anyway. Usually we
test the public crypto APIs themselves. So, for most files, this isn't
actually extra work.

Bug: 181
Change-Id: I7cbb7f930c2ea6ae32a201da503dcd36844704f0
Reviewed-on: https://boringssl-review.googlesource.com/c/33965
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2019-01-03 21:02:24 +00:00
..
asm Fix some indentation nits. 2019-01-02 19:26:54 +00:00
abi_test.cc Add an ABI testing framework. 2018-12-21 16:09:32 +00:00
abi_test.h Be less clever with CHECK_ABI. 2019-01-03 21:02:24 +00:00
CMakeLists.txt Add an ABI testing framework. 2018-12-21 16:09:32 +00:00
file_test_gtest.cc Support KAS tests for NIAP. 2018-01-16 22:57:01 +00:00
file_test.cc Add RSA-PSS tests from Wycheproof. 2018-08-10 18:26:00 +00:00
file_test.h Add RSA-PSS tests from Wycheproof. 2018-08-10 18:26:00 +00:00
gtest_main.cc Add an ABI testing framework. 2018-12-21 16:09:32 +00:00
gtest_main.h Add some RAND_bytes tests. 2018-09-06 23:54:57 +00:00
malloc.cc Don't build test/malloc.cc with TSAN. 2018-07-24 15:38:09 +00:00
test_util.cc Support the allocating case of i2d_ASN1_{BOOLEAN,OBJECT}. 2018-08-16 15:59:11 +00:00
test_util.h Support the allocating case of i2d_ASN1_{BOOLEAN,OBJECT}. 2018-08-16 15:59:11 +00:00
wycheproof_util.cc Add an ECDH Wycheproof driver. 2018-05-01 19:38:07 +00:00
wycheproof_util.h Add an ECDH Wycheproof driver. 2018-05-01 19:38:07 +00:00