crypto/libecc/include/libecc/external_deps/print.h
32
void ext_printf(const char *format, ...);
crypto/libecc/include/libecc/utils/utils.h
56
ext_printf("MUST_HAVE error: %s at %d\n", __FILE__,__LINE__); \
crypto/libecc/include/libecc/utils/utils.h
59
ext_printf("SHOULD_HAVE error: %s at %d\n", __FILE__,__LINE__); \
crypto/libecc/include/libecc/utils/utils.h
62
ext_printf("KNOWN_FACT error: %s at %d\n", __FILE__,__LINE__); \
crypto/libecc/src/examples/basic/curve_basic_examples.c
144
ext_printf("Error: error when importing curve %s "
crypto/libecc/src/examples/basic/curve_basic_examples.c
168
ext_printf("Error: C = A+B is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
175
ext_printf("Error: C = A+B is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
191
ext_printf("Error: C = A+B is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
198
ext_printf("Error: C = A+B is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
217
ext_printf("Error: qA is not 0! (regular mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
225
ext_printf("Error: qA is not 0! (regular blind mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
233
ext_printf("Error: qB is not 0! (regular mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
241
ext_printf("Error: qB is not 0! (regular blind mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
249
ext_printf("Error: qC is not 0! (regular mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
257
ext_printf("Error: qC is not 0! (regular bind mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
265
ext_printf("Error: qD is not 0! (regular mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
273
ext_printf("Error: qD is not 0! (regular blind mul)\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
286
ext_printf("Error: cannot get time with get_ms_time\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
298
ext_printf("Error: kA is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
306
ext_printf("Error: kA is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
314
ext_printf("Error: cannot get time with get_ms_time\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
318
ext_printf(" [*] Regular EC scalar multiplication took %f seconds "
crypto/libecc/src/examples/basic/curve_basic_examples.c
323
ext_printf("Error: cannot get time with get_ms_time\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
335
ext_printf("Error: kA is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
343
ext_printf("Error: kA is not on the %s curve!\n",
crypto/libecc/src/examples/basic/curve_basic_examples.c
351
ext_printf("Error: cannot get time with get_ms_time\n");
crypto/libecc/src/examples/basic/curve_basic_examples.c
355
ext_printf(" [*] Regular blind EC scalar multiplication took %f seconds "
crypto/libecc/src/examples/basic/curve_basic_examples.c
388
ext_printf("Error when treating %s\n", curve_name);
crypto/libecc/src/examples/basic/curve_basic_examples.c
392
ext_printf("[+] Checking curve %s\n", curve_name);
crypto/libecc/src/examples/basic/curve_basic_examples.c
394
ext_printf("Error: error performing check on "
crypto/libecc/src/examples/basic/curve_basic_examples.c
84
ext_printf("Error: Tonelli-Shanks found a bad "
crypto/libecc/src/examples/basic/curve_ecdh.c
129
ext_printf(" Error: unknown role %s for ECDH\n", role);
crypto/libecc/src/examples/basic/curve_ecdh.c
145
ext_printf(" Error: error when importing curve %s "
crypto/libecc/src/examples/basic/curve_ecdh.c
209
ext_printf(" ECDH shared secret computed by %s:\n", role);
crypto/libecc/src/examples/basic/curve_ecdh.c
251
ext_printf("Error: error when treating %s\n", curve_name);
crypto/libecc/src/examples/basic/curve_ecdh.c
255
ext_printf("[+] ECDH on curve %s\n", curve_name);
crypto/libecc/src/examples/basic/curve_ecdh.c
258
ext_printf("Error: error in ECDH_helper\n");
crypto/libecc/src/examples/basic/curve_ecdh.c
263
ext_printf("Error: error in ECDH_helper\n");
crypto/libecc/src/examples/basic/curve_ecdh.c
273
ext_printf("Error: error in ECDH_helper\n");
crypto/libecc/src/examples/basic/curve_ecdh.c
276
ext_printf("==================================\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
101
ext_printf("Value n has no square over Fp\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
102
ext_printf("(Note: this error can be due to "
crypto/libecc/src/examples/basic/fp_square_residue.c
105
ext_printf("(though this should happen with "
crypto/libecc/src/examples/basic/fp_square_residue.c
112
ext_printf("Tonelli-Shanks algorithm unkown "
crypto/libecc/src/examples/basic/fp_square_residue.c
114
ext_printf("(Note: this error can be due to "
crypto/libecc/src/examples/basic/fp_square_residue.c
117
ext_printf("(though this should happen with "
crypto/libecc/src/examples/basic/fp_square_residue.c
128
ext_printf("Error: unkown error ...\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
69
ext_printf("Random before squaring:\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
71
ext_printf("Random after squaring:\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
83
ext_printf("First found square OK!\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
85
ext_printf("First found square NOK: square "
crypto/libecc/src/examples/basic/fp_square_residue.c
92
ext_printf("Second found square OK!\n");
crypto/libecc/src/examples/basic/fp_square_residue.c
94
ext_printf("Second found square NOK: square "
crypto/libecc/src/examples/basic/nn_pollard_rho.c
146
ext_printf("=================\n");
crypto/libecc/src/examples/basic/nn_pollard_rho.c
152
ext_printf("The number is probably prime, leaving ...\n");
crypto/libecc/src/examples/basic/nn_pollard_rho.c
156
ext_printf("The number is composite, performing Pollard's rho\n");
crypto/libecc/src/examples/basic/nn_pollard_rho.c
183
ext_printf("Pollard's rho succeded\n");
crypto/libecc/src/examples/basic/nn_pollard_rho.c
208
ext_printf
crypto/libecc/src/examples/basic/nn_pollard_rho.c
217
ext_printf("=================\n");
crypto/libecc/src/examples/sig/dsa/dsa.c
529
ext_printf("Error: you seem to have compiled libecc with usable NN size < 4096, not suitable for DSA.\n");
crypto/libecc/src/examples/sig/dsa/dsa.c
530
ext_printf(" => Please recompile libecc with EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\"\n");
crypto/libecc/src/examples/sig/dsa/dsa.c
531
ext_printf(" This will increase usable NN for proper DSA up to 4096 bits.\n");
crypto/libecc/src/examples/sig/dsa/dsa.c
532
ext_printf(" Then recompile the current examples with the same EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\" flag and execute again!\n");
crypto/libecc/src/examples/sig/dsa/dsa.c
550
ext_printf("Signature result %d\n", ret);
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
485
ext_printf("Error: you seem to have compiled libecc with usable NN size < 4096, not suitable for GOSTR34_10_94.\n");
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
486
ext_printf(" => Please recompile libecc with EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\"\n");
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
487
ext_printf(" This will increase usable NN for proper GOSTR34_10_94 up to 4096 bits.\n");
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
488
ext_printf(" Then recompile the current examples with the same EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\" flag and execute again!\n");
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
501
ext_printf("RFC4357 self-signed signature result %d\n", ret);
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
515
ext_printf("Random signature result %d\n", ret);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
733
ext_printf("Error: you seem to have compiled libecc with usable NN size < 4096, not suitable for DSA.\n");
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
734
ext_printf(" => Please recompile libecc with EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\"\n");
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
735
ext_printf(" This will increase usable NN for proper DSA up to 4096 bits.\n");
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
736
ext_printf(" Then recompile the current examples with the same EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\" flag and execute again!\n");
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
754
ext_printf("Signature result %d\n", ret);
crypto/libecc/src/examples/sig/rsa/rsa.c
2043
ext_printf("Error: you seem to have compiled libecc with usable NN size < 4096, not suitable for RSA.\n");
crypto/libecc/src/examples/sig/rsa/rsa.c
2044
ext_printf(" => Please recompile libecc with EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\"\n");
crypto/libecc/src/examples/sig/rsa/rsa.c
2045
ext_printf(" This will increase usable NN for proper RSA up to 4096 bits.\n");
crypto/libecc/src/examples/sig/rsa/rsa.c
2046
ext_printf(" Then recompile the current examples with the same EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\" flag and execute again!\n");
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
200
ext_printf("[-] Test %s failed (modbits = %" PRIu32 ")\n", t->name, t->modbits);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
204
ext_printf("[+] Test %s passed (modbits = %" PRIu32 ")\n", t->name, t->modbits);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
209
ext_printf("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\t=== [+] All RSA tests went OK! ===\n");
crypto/libecc/src/examples/sig/sdsa/sdsa.c
441
ext_printf("Error: you seem to have compiled libecc with usable NN size < 4096, not suitable for DSA.\n");
crypto/libecc/src/examples/sig/sdsa/sdsa.c
442
ext_printf(" => Please recompile libecc with EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\"\n");
crypto/libecc/src/examples/sig/sdsa/sdsa.c
443
ext_printf(" This will increase usable NN for proper DSA up to 4096 bits.\n");
crypto/libecc/src/examples/sig/sdsa/sdsa.c
444
ext_printf(" Then recompile the current examples with the same EXTRA_CFLAGS=\"-DUSER_NN_BIT_LEN=4096\" flag and execute again!\n");
crypto/libecc/src/examples/sig/sdsa/sdsa.c
462
ext_printf("Signature result %d\n", ret);
crypto/libecc/src/examples/sss/sss.c
504
ext_printf("[-] sss_combine error for share %d / %d: session ID is not OK!\n", i, k);
crypto/libecc/src/examples/sss/sss.c
517
ext_printf("[-] sss_combine error for share %d / %d: HMAC is not OK!\n", i, k);
crypto/libecc/src/examples/sss/sss.c
572
ext_printf("[-] sss_regenerate error for share %d / %d: session ID is not OK!\n", i, k);
crypto/libecc/src/examples/sss/sss.c
586
ext_printf("[-] sss_regenerate error for share %d / %d: HMAC is not OK!\n", i, k);
crypto/libecc/src/examples/sss/sss.c
667
ext_printf("[+] Generating the secrets %d / %d, call should be OK\n", K, N);
crypto/libecc/src/examples/sss/sss.c
672
ext_printf(" [X] Error: sss_generate error\n");
crypto/libecc/src/examples/sss/sss.c
684
ext_printf("[+] Combining the secrets with less shares: call should trigger an error\n");
crypto/libecc/src/examples/sss/sss.c
688
ext_printf(" [X] Error: sss_combine error\n");
crypto/libecc/src/examples/sss/sss.c
696
ext_printf("[+] Combining the secrets with minimum shares: call should be OK\n");
crypto/libecc/src/examples/sss/sss.c
700
ext_printf(" [X] Error: sss_combine error\n");
crypto/libecc/src/examples/sss/sss.c
709
ext_printf("[+] Combining the secrets with more shares: call should be OK\n");
crypto/libecc/src/examples/sss/sss.c
713
ext_printf(" [X] Error: sss_combine error\n");
crypto/libecc/src/examples/sss/sss.c
720
ext_printf("[+] Combining the secrets with more shares but one corrupted: call should trigger an error\n");
crypto/libecc/src/examples/sss/sss.c
725
ext_printf(" [X] Error: sss_combine error\n");
crypto/libecc/src/examples/sss/sss.c
731
ext_printf("[+] Regenerating more shares: call should be OK\n");
crypto/libecc/src/examples/sss/sss.c
735
ext_printf(" [X] Error: sss_regenerate error\n");
crypto/libecc/src/examples/sss/sss.c
746
ext_printf("[+] Combining the secrets with newly generated shares: call should be OK\n");
crypto/libecc/src/examples/sss/sss.c
750
ext_printf(" [X] Error: sss_combine error\n");
crypto/libecc/src/examples/sss/sss.c
757
ext_printf("[+] Combining the secrets with newly generated shares and a bad session ID: call should trigger an error\n");
crypto/libecc/src/examples/sss/sss.c
762
ext_printf(" [X] Error: sss_combine error\n");
crypto/libecc/src/tests/ec_self_tests.c
104
ext_printf("%s ", hash_maps[i].name);
crypto/libecc/src/tests/ec_self_tests.c
116
ext_printf("%s ", ec_sig_maps[i].name);
crypto/libecc/src/tests/ec_self_tests.c
126
ext_printf("Argument %s is unknown. Possible args are:\n", bad_arg);
crypto/libecc/src/tests/ec_self_tests.c
129
ext_printf("\t%20s:\t%s\n", test_types[j].type_name,
crypto/libecc/src/tests/ec_self_tests.c
132
ext_printf("-------------------\n");
crypto/libecc/src/tests/ec_self_tests.c
133
ext_printf("NOTE: you can filter signatures with 'sign=', hash algorithms with 'hash=', curves with 'curve='\n");
crypto/libecc/src/tests/ec_self_tests.c
134
ext_printf("\tExample: sign=ECDSA hash=SHA256 hash=SHA512 curve=FRP256V1\n");
crypto/libecc/src/tests/ec_self_tests.c
135
ext_printf("\tPossible signatures: ");
crypto/libecc/src/tests/ec_self_tests.c
137
ext_printf("\n\tPossible hash algorithms: ");
crypto/libecc/src/tests/ec_self_tests.c
139
ext_printf("\n\tPossible curves: ");
crypto/libecc/src/tests/ec_self_tests.c
141
ext_printf("\n");
crypto/libecc/src/tests/ec_self_tests.c
174
ext_printf("Error: MAX_FILTERS too small\n");
crypto/libecc/src/tests/ec_self_tests.c
201
ext_printf("Maximum number of sign filters %d exceeded!\n", sign_filters_num);
crypto/libecc/src/tests/ec_self_tests.c
212
ext_printf("Maximum number of hash filters %d exceeded!\n", hash_filters_num);
crypto/libecc/src/tests/ec_self_tests.c
223
ext_printf("Maximum number of curve filters %d exceeded!\n", curve_filters_num);
crypto/libecc/src/tests/ec_self_tests.c
239
ext_printf("Error: no operation asked ...\n");
crypto/libecc/src/tests/ec_self_tests.c
290
ext_printf("Test for sign=%s/hash=%s/curve=%s failed!\n", curr_sign_filters, curr_hash_filters, curr_curve_filters);
crypto/libecc/src/tests/ec_self_tests.c
92
ext_printf("%s ", (const char *)(ec_maps[i].params->name->buf));
crypto/libecc/src/tests/ec_self_tests_core.c
102
ext_printf("Error importing public key\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1035
ext_printf("Error importing params\n");
crypto/libecc/src/tests/ec_self_tests_core.c
110
ext_printf("Error importing private key\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1189
ext_printf("Error: not an ECDH test\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1211
ext_printf("======= Known test vectors test =================\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1261
ext_printf("[%s] %30s selftests: known test vectors "
crypto/libecc/src/tests/ec_self_tests_core.c
1276
ext_printf("\t(ECDSA public key recovery also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1281
ext_printf("\t(RAW ECDSA for CRYPTOFUZZ also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1286
ext_printf("\t(RAW ECGDSA for CRYPTOFUZZ also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1291
ext_printf("\t(RAW ECRDSA for CRYPTOFUZZ also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1327
ext_printf("[%s] %30s selftests: known test vectors "
crypto/libecc/src/tests/ec_self_tests_core.c
1455
ext_printf("[%s] %34s randtests: random import/export "
crypto/libecc/src/tests/ec_self_tests_core.c
1470
ext_printf("\t(ECDSA public key recovery also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1476
ext_printf("\t(RAW ECDSA for CRYPTOFUZZ also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1481
ext_printf("\t(RAW ECGDSA for CRYPTOFUZZ also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1486
ext_printf("\t(RAW ECRDSA for CRYPTOFUZZ also checked!)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
149
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1509
ext_printf("======= Random sig/verif test ===================\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1598
ext_printf("Error when importing parameters\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1605
ext_printf("Error at key pair generation/import/export\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1626
ext_printf("Error computing effective sig size\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1637
ext_printf("Error when getting hash size\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1645
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1651
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1658
ext_printf("Error when getting time\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1664
ext_printf("Error when signing\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1669
ext_printf("Error when getting time\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1673
ext_printf("Error: time error (t2 < t1)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1681
ext_printf("Error when getting time\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1687
ext_printf("Error when verifying signature\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1692
ext_printf("Error when getting time\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1696
ext_printf("Error: time error (time2 < time1)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1727
ext_printf("Error when getting time\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1733
ext_printf("Error when verifying signature ec_verify_batch with batch %d\n", PERF_BATCH_VERIFICATION);
crypto/libecc/src/tests/ec_self_tests_core.c
1738
ext_printf("Error when getting time\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1742
ext_printf("Error: time error (time2 < time1)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1888
ext_printf("[%s] %30s perf: %u sign/s and %u verif/s, %u batch verif/s (for %u batch)\n",
crypto/libecc/src/tests/ec_self_tests_core.c
1891
ext_printf("\t(0 is less than one sig/verif per sec)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1895
ext_printf("[%s] %30s perf: %u sign/s and %u verif/s\n",
crypto/libecc/src/tests/ec_self_tests_core.c
1898
ext_printf("\t(0 is less than one sig/verif per sec)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1913
ext_printf("======= Performance test ========================\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1915
ext_printf("== NOTE: OpenMP parallelization is not applied to performance tests ...\n");
crypto/libecc/src/tests/ec_self_tests_core.c
1916
ext_printf("== (because of CPU/cores shared ressources such as caches, BPU, etc.)\n");
crypto/libecc/src/tests/ec_self_tests_core.c
194
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
248
ext_printf("Error importing params\n");
crypto/libecc/src/tests/ec_self_tests_core.c
255
ext_printf("Error at key pair generation/import/export\n");
crypto/libecc/src/tests/ec_self_tests_core.c
273
ext_printf("Error computing effective sig size\n");
crypto/libecc/src/tests/ec_self_tests_core.c
280
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
286
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
293
ext_printf("Error when signing\n");
crypto/libecc/src/tests/ec_self_tests_core.c
305
ext_printf("Error when signing\n");
crypto/libecc/src/tests/ec_self_tests_core.c
312
ext_printf("Error when signing\n");
crypto/libecc/src/tests/ec_self_tests_core.c
321
ext_printf("Error when signing: streaming and non streaming modes results differ "\
crypto/libecc/src/tests/ec_self_tests_core.c
328
ext_printf("Error when signing: streaming and non streaming modes results differ "\
crypto/libecc/src/tests/ec_self_tests_core.c
339
ext_printf("Error when verifying signature\n");
crypto/libecc/src/tests/ec_self_tests_core.c
355
ext_printf("Error when verifying signature ec_verify\n");
crypto/libecc/src/tests/ec_self_tests_core.c
368
ext_printf("Error when verifying signature random_split_ec_verify\n");
crypto/libecc/src/tests/ec_self_tests_core.c
385
ext_printf("Error when verifying signature ec_verify_batch with batch 1\n");
crypto/libecc/src/tests/ec_self_tests_core.c
437
ext_printf("[~] Warning: ECDSA recovered public key differs from real one ...");
crypto/libecc/src/tests/ec_self_tests_core.c
438
ext_printf("This can happen with very low probability. Please check the trace:\n");
crypto/libecc/src/tests/ec_self_tests_core.c
44
ext_printf("OpenMP abort following error ... %s:%d\n", __FILE__, __LINE__); \
crypto/libecc/src/tests/ec_self_tests_core.c
539
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
550
ext_printf("Error computing effective sig size\n");
crypto/libecc/src/tests/ec_self_tests_core.c
561
ext_printf("Error at key pair generation/import/export\n");
crypto/libecc/src/tests/ec_self_tests_core.c
566
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
574
ext_printf("Error when getting random\n");
crypto/libecc/src/tests/ec_self_tests_core.c
586
ext_printf("Error when signing\n");
crypto/libecc/src/tests/ec_self_tests_core.c
594
ext_printf("Error when verifying signature ec_verify_batch no memory for batch size %" PRIu32 "\n", num_batch);
crypto/libecc/src/tests/ec_self_tests_core.c
605
ext_printf("Error when getting scratch_pad_area length for ec_verify_batch optimized for batch size %" PRIu32 "\n", num_batch);
crypto/libecc/src/tests/ec_self_tests_core.c
614
ext_printf("Error when verifying signature ec_verify_batch optimized for batch size %" PRIu32 "\n", num_batch);
crypto/libecc/src/tests/ec_self_tests_core.c
74
ext_printf("Error generating key pair\n");
crypto/libecc/src/tests/ec_self_tests_core.c
749
ext_printf("Error importing params\n");
crypto/libecc/src/tests/ec_self_tests_core.c
84
ext_printf("Error exporting public key\n");
crypto/libecc/src/tests/ec_self_tests_core.c
853
ext_printf("[~] Warning: ECDSA recovered public key differs from real one ...");
crypto/libecc/src/tests/ec_self_tests_core.c
854
ext_printf("This can happen with very low probability. Please check the trace:\n");
crypto/libecc/src/tests/ec_self_tests_core.c
91
ext_printf("Error exporting private key\n");
crypto/libecc/src/utils/print_buf.c
23
ext_printf("%s: ", msg);
crypto/libecc/src/utils/print_buf.c
25
ext_printf("%02x", buf[i]);
crypto/libecc/src/utils/print_buf.c
27
ext_printf("\n");
crypto/libecc/src/utils/print_curves.c
31
ext_printf("%s: infinity\n", msg);
crypto/libecc/src/utils/print_curves.c
36
ext_printf("%s", msg);
crypto/libecc/src/utils/print_curves.c
38
ext_printf("%s", msg);
crypto/libecc/src/utils/print_curves.c
53
ext_printf("%s", msg);
crypto/libecc/src/utils/print_curves.c
55
ext_printf("%s", msg);
crypto/libecc/src/utils/print_curves.c
69
ext_printf("%s", msg);
crypto/libecc/src/utils/print_curves.c
71
ext_printf("%s", msg);
crypto/libecc/src/utils/print_fp.c
26
ext_printf("%s:\n", msg);
crypto/libecc/src/utils/print_fp.c
28
ext_printf("\t fp_ctx->mpinv 0x%016lx\n",
crypto/libecc/src/utils/print_fp.c
59
ext_printf("%s:\n", msg);
crypto/libecc/src/utils/print_nn.c
26
ext_printf("%s (%d words, i.e. %d bits): 0x", msg, a->wlen,
crypto/libecc/src/utils/print_nn.c
30
ext_printf(PRINTF_WORD_HEX_FMT, a->val[w]);
crypto/libecc/src/utils/print_nn.c
33
ext_printf("\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
100
ext_printf("Error: ECDSA tests error importing params\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
108
ext_printf("Error: ECDSA tests error importing public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
117
ext_printf("[-] Error when verifying ECDSA test %d / %s (verification NOK while must be valid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
118
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
124
ext_printf("[-] Error when verifying ECDSA test %d / %s (verification OK while must be invalid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
125
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
138
ext_printf("\t[~] ECDSA test %d / %s (verification %d while acceptable)\n", i, t->name, ret);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
139
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
191
ext_printf("Error: EDDSA tests error importing params\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
199
ext_printf("Error: EDDSA tests error importing public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
206
ext_printf("Error: EDDSA tests error importing private key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
213
ext_printf("Error: EDDSA tests error deriving private to public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
220
ext_printf("Error: EDDSA tests error when exporting public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
227
ext_printf("Error: EDDSA tests error when checking public key from private\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
235
ext_printf("[-] Error when verifying EDDSA test %d / %s (verification NOK while must be valid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
236
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
242
ext_printf("[-] Error when verifying EDDSA test %d / %s (verification OK while must be invalid)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
243
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
257
ext_printf("\t[~] EDDSA test %d / %s (verification %d while acceptable)\n", i, t->name, ret);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
258
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
317
ext_printf("Error: XDH tests error, unkown algorithm\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
324
ext_printf("[-] Error: XDH tests error, unkown private key length %d with valid result\n", t->privkeylen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
325
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
335
ext_printf("[-] Error: XDH tests error, unkown peer public key length %d with valid result\n", t->peerpubkeylen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
336
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
346
ext_printf("[-] Error: XDH tests error, unkown shared secret length %d with valid result\n", t->sharedsecretlen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
347
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
357
ext_printf("[-] Error: XDH tests error, unkown our public key length %d with valid result\n", t->ourpubkeylen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
358
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
371
ext_printf("[-] Error: XDH tests error when deriving private key to public\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
372
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
380
ext_printf("[-] Error: XDH tests error when checking our public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
381
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
394
ext_printf("\t[~] XDH test %d / %s (shared secret derivation NOK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
395
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
400
ext_printf("[-] Error: XDH tests error when deriving shared secret\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
401
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
406
ext_printf("[-] Error: XDH tests is OK while invalid\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
407
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
414
ext_printf("[-] Error: XDH tests error when checking shared secret\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
415
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
426
ext_printf("[-] Error: XDH tests error when deriving private key to public\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
427
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
435
ext_printf("[-] Error: XDH tests error when checking our public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
436
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
449
ext_printf("\t[~] XDH test %d / %s (shared secret derivation NOK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
45
ext_printf("OpenMP abort following error ... %s:%d\n", __FILE__, __LINE__); \
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
450
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
455
ext_printf("[-] Error: XDH tests error when deriving shared secret\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
456
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
460
ext_printf("[-] Error: XDH tests is OK while invalid\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
461
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
468
ext_printf("[-] Error: XDH tests error when checking shared secret\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
469
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
481
ext_printf("\t[~] XDH test %d / %s (shared secret OK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
482
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
585
ext_printf("Error: ECDH tests error importing params\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
593
ext_printf("Error: ECDH tests error getting shared secret size\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
600
ext_printf("Error: ECDH tests error getting serialized public key size\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
610
ext_printf("Error: ECDH tests error importing private key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
619
ext_printf("[-] Error: ECDH tests error when importing our public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
620
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
627
ext_printf("Error: ECDH tests error deriving our private key to public\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
634
ext_printf("Error: ECDH tests error serializing public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
640
ext_printf("Error: ECDH tests error serializing public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
646
ext_printf("[-] Error: ECDH tests error when checking our public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
647
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
658
ext_printf("[-] Error: ECDH tests error when uncompressing public key\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
659
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
667
ext_printf("[-] Error: ECDH tests error when checking our public key size, got %d instead of %d\n", t->peerpubkeylen, serialized_pub_key_size);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
668
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
677
ext_printf("[-] Error: ECDH tests error when deriving secret while acceptable or valid\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
678
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
683
ext_printf("Error: ECDH tests error, secret derived OK while invalid\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
684
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
692
ext_printf("Error: ECDH tests error, bad shared secret size %d instead of %d\n", sharedsecretsize, t->sharedsecretlen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
693
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
700
ext_printf("[-] Error: ECDH tests error when checking the computed shared secret, they differ\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
701
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
710
ext_printf("\t[~] ECDH test %d / %s (shared secret OK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
711
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
760
ext_printf("[-] Error: HMAC tests error when performin HMAC\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
761
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
766
ext_printf("[-] Error: HMAC tests error: size error %d < %d\n", hlen, t->taglen);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
767
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
774
ext_printf("[-] Error: HMAC tests error when checking the computed tag, they differ\n");
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
775
ext_printf(" (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
784
ext_printf("\t[~] HMAC test %d / %s (shared secret OK while acceptable)\n", i, t->name);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
785
ext_printf("\t (comment = %s)\n", t->comment);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
806
ext_printf("==== Checking ECDH =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, acceptable = %d)\n", NUM_WYCHEPROOF_ECDH_TESTS_IMPORTED, NUM_WYCHEPROOF_ECDH_TESTS_SKIPPED, NUM_WYCHEPROOF_ECDH_TESTS_VALID, NUM_WYCHEPROOF_ECDH_TESTS_INVALID, NUM_WYCHEPROOF_ECDH_TESTS_ACCEPTABLE);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
810
ext_printf("[+][%d] All ECDH tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", ecdh_all_performed, ecdh_acceptable_valid, ecdh_acceptable_invalid);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
812
ext_printf("==== Checking XDH =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, acceptable = %d)\n", NUM_WYCHEPROOF_XDH_TESTS_IMPORTED, NUM_WYCHEPROOF_XDH_TESTS_SKIPPED, NUM_WYCHEPROOF_XDH_TESTS_VALID, NUM_WYCHEPROOF_XDH_TESTS_INVALID, NUM_WYCHEPROOF_XDH_TESTS_ACCEPTABLE);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
816
ext_printf("[+][%d] All XDH tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", xdh_all_performed, xdh_acceptable_valid, xdh_acceptable_invalid);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
818
ext_printf("==== Checking ECDSA =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, acceptable = %d)\n", NUM_WYCHEPROOF_ECDSA_TESTS_IMPORTED, NUM_WYCHEPROOF_ECDSA_TESTS_SKIPPED, NUM_WYCHEPROOF_ECDSA_TESTS_VALID, NUM_WYCHEPROOF_ECDSA_TESTS_INVALID, NUM_WYCHEPROOF_ECDSA_TESTS_ACCEPTABLE);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
822
ext_printf("[+][%d] All ECDSA tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", ecdsa_all_performed, ecdsa_acceptable_valid, ecdsa_acceptable_invalid);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
824
ext_printf("==== Checking EDDSA =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, acceptable = %d)\n", NUM_WYCHEPROOF_EDDSA_TESTS_IMPORTED, NUM_WYCHEPROOF_EDDSA_TESTS_SKIPPED, NUM_WYCHEPROOF_EDDSA_TESTS_VALID, NUM_WYCHEPROOF_EDDSA_TESTS_INVALID, NUM_WYCHEPROOF_EDDSA_TESTS_ACCEPTABLE);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
828
ext_printf("[+][%d] All EDDSA tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", eddsa_all_performed, eddsa_acceptable_valid, eddsa_acceptable_invalid);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
830
ext_printf("==== Checking HMAC =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, acceptable = %d)\n", NUM_WYCHEPROOF_HMAC_TESTS_IMPORTED, NUM_WYCHEPROOF_HMAC_TESTS_SKIPPED, NUM_WYCHEPROOF_HMAC_TESTS_VALID, NUM_WYCHEPROOF_HMAC_TESTS_INVALID, NUM_WYCHEPROOF_HMAC_TESTS_ACCEPTABLE);
crypto/libecc/src/wycheproof_tests/libecc_wycheproof.c
834
ext_printf("[+][%d] All HMAC tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", hmac_all_performed, hmac_acceptable_valid, hmac_acceptable_invalid);