add surjection proof module
Includes fix and tests by Jonas Nick.
This commit is contained in:
committed by
Tim Ruffing
parent
8c77fe1590
commit
ba8b4f53ef
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user