add surjection proof module

Includes fix and tests by Jonas Nick.
This commit is contained in:
Andrew Poelstra
2016-07-01 15:51:07 +00:00
committed by Tim Ruffing
parent 8c77fe1590
commit ba8b4f53ef
11 changed files with 1142 additions and 2 deletions

View File

@@ -5337,6 +5337,10 @@ void run_ecdsa_openssl(void) {
# include "modules/whitelist/tests_impl.h"
#endif
#ifdef ENABLE_MODULE_SURJECTIONPROOF
# include "modules/surjection/tests_impl.h"
#endif
void run_memczero_test(void) {
unsigned char buf1[6] = {1, 2, 3, 4, 5, 6};
unsigned char buf2[sizeof(buf1)];
@@ -5657,6 +5661,10 @@ int main(int argc, char **argv) {
run_whitelist_tests();
#endif
#ifdef ENABLE_MODULE_SURJECTIONPROOF
run_surjection_tests();
#endif
/* util tests */
run_memczero_test();