Lines Matching refs:ext_printf
45 ext_printf("OpenMP abort following error ... %s:%d\n", __FILE__, __LINE__); \
100 ext_printf("Error: ECDSA tests error importing params\n"); in check_wycheproof_ecdsa()
108 ext_printf("Error: ECDSA tests error importing public key\n"); in check_wycheproof_ecdsa()
117 …ext_printf("[-] Error when verifying ECDSA test %d / %s (verification NOK while must be valid)\n",… in check_wycheproof_ecdsa()
118 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdsa()
124 …ext_printf("[-] Error when verifying ECDSA test %d / %s (verification OK while must be invalid)\n"… in check_wycheproof_ecdsa()
125 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdsa()
138 ext_printf("\t[~] ECDSA test %d / %s (verification %d while acceptable)\n", i, t->name, ret); in check_wycheproof_ecdsa()
139 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_ecdsa()
191 ext_printf("Error: EDDSA tests error importing params\n"); in check_wycheproof_eddsa()
199 ext_printf("Error: EDDSA tests error importing public key\n"); in check_wycheproof_eddsa()
206 ext_printf("Error: EDDSA tests error importing private key\n"); in check_wycheproof_eddsa()
213 ext_printf("Error: EDDSA tests error deriving private to public key\n"); in check_wycheproof_eddsa()
220 ext_printf("Error: EDDSA tests error when exporting public key\n"); in check_wycheproof_eddsa()
227 ext_printf("Error: EDDSA tests error when checking public key from private\n"); in check_wycheproof_eddsa()
235 …ext_printf("[-] Error when verifying EDDSA test %d / %s (verification NOK while must be valid)\n",… in check_wycheproof_eddsa()
236 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_eddsa()
242 …ext_printf("[-] Error when verifying EDDSA test %d / %s (verification OK while must be invalid)\n"… in check_wycheproof_eddsa()
243 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_eddsa()
257 ext_printf("\t[~] EDDSA test %d / %s (verification %d while acceptable)\n", i, t->name, ret); in check_wycheproof_eddsa()
258 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_eddsa()
317 ext_printf("Error: XDH tests error, unkown algorithm\n"); in check_wycheproof_xdh()
324 …ext_printf("[-] Error: XDH tests error, unkown private key length %d with valid result\n", t->priv… in check_wycheproof_xdh()
325 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
335 …ext_printf("[-] Error: XDH tests error, unkown peer public key length %d with valid result\n", t->… in check_wycheproof_xdh()
336 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
346 …ext_printf("[-] Error: XDH tests error, unkown shared secret length %d with valid result\n", t->sh… in check_wycheproof_xdh()
347 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
357 …ext_printf("[-] Error: XDH tests error, unkown our public key length %d with valid result\n", t->o… in check_wycheproof_xdh()
358 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
371 ext_printf("[-] Error: XDH tests error when deriving private key to public\n"); in check_wycheproof_xdh()
372 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
380 ext_printf("[-] Error: XDH tests error when checking our public key\n"); in check_wycheproof_xdh()
381 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
394 …ext_printf("\t[~] XDH test %d / %s (shared secret derivation NOK while acceptable)\n", i, t->name); in check_wycheproof_xdh()
395 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_xdh()
400 ext_printf("[-] Error: XDH tests error when deriving shared secret\n"); in check_wycheproof_xdh()
401 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
406 ext_printf("[-] Error: XDH tests is OK while invalid\n"); in check_wycheproof_xdh()
407 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
414 ext_printf("[-] Error: XDH tests error when checking shared secret\n"); in check_wycheproof_xdh()
415 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
426 ext_printf("[-] Error: XDH tests error when deriving private key to public\n"); in check_wycheproof_xdh()
427 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
435 ext_printf("[-] Error: XDH tests error when checking our public key\n"); in check_wycheproof_xdh()
436 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
449 …ext_printf("\t[~] XDH test %d / %s (shared secret derivation NOK while acceptable)\n", i, t->name); in check_wycheproof_xdh()
450 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_xdh()
455 ext_printf("[-] Error: XDH tests error when deriving shared secret\n"); in check_wycheproof_xdh()
456 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
460 ext_printf("[-] Error: XDH tests is OK while invalid\n"); in check_wycheproof_xdh()
461 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
468 ext_printf("[-] Error: XDH tests error when checking shared secret\n"); in check_wycheproof_xdh()
469 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_xdh()
481 ext_printf("\t[~] XDH test %d / %s (shared secret OK while acceptable)\n", i, t->name); in check_wycheproof_xdh()
482 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_xdh()
585 ext_printf("Error: ECDH tests error importing params\n"); in check_wycheproof_ecdh()
593 ext_printf("Error: ECDH tests error getting shared secret size\n"); in check_wycheproof_ecdh()
600 ext_printf("Error: ECDH tests error getting serialized public key size\n"); in check_wycheproof_ecdh()
610 ext_printf("Error: ECDH tests error importing private key\n"); in check_wycheproof_ecdh()
619 ext_printf("[-] Error: ECDH tests error when importing our public key\n"); in check_wycheproof_ecdh()
620 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
627 ext_printf("Error: ECDH tests error deriving our private key to public\n"); in check_wycheproof_ecdh()
634 ext_printf("Error: ECDH tests error serializing public key\n"); in check_wycheproof_ecdh()
640 ext_printf("Error: ECDH tests error serializing public key\n"); in check_wycheproof_ecdh()
646 ext_printf("[-] Error: ECDH tests error when checking our public key\n"); in check_wycheproof_ecdh()
647 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
658 ext_printf("[-] Error: ECDH tests error when uncompressing public key\n"); in check_wycheproof_ecdh()
659 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
667 …ext_printf("[-] Error: ECDH tests error when checking our public key size, got %d instead of %d\n"… in check_wycheproof_ecdh()
668 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
677 ext_printf("[-] Error: ECDH tests error when deriving secret while acceptable or valid\n"); in check_wycheproof_ecdh()
678 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
683 ext_printf("Error: ECDH tests error, secret derived OK while invalid\n"); in check_wycheproof_ecdh()
684 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
692 …ext_printf("Error: ECDH tests error, bad shared secret size %d instead of %d\n", sharedsecretsize,… in check_wycheproof_ecdh()
693 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
700 … ext_printf("[-] Error: ECDH tests error when checking the computed shared secret, they differ\n"); in check_wycheproof_ecdh()
701 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
710 ext_printf("\t[~] ECDH test %d / %s (shared secret OK while acceptable)\n", i, t->name); in check_wycheproof_ecdh()
711 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_ecdh()
760 ext_printf("[-] Error: HMAC tests error when performin HMAC\n"); in check_wycheproof_hmac()
761 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_hmac()
766 ext_printf("[-] Error: HMAC tests error: size error %d < %d\n", hlen, t->taglen); in check_wycheproof_hmac()
767 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_hmac()
774 ext_printf("[-] Error: HMAC tests error when checking the computed tag, they differ\n"); in check_wycheproof_hmac()
775 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_hmac()
784 ext_printf("\t[~] HMAC test %d / %s (shared secret OK while acceptable)\n", i, t->name); in check_wycheproof_hmac()
785 ext_printf("\t (comment = %s)\n", t->comment); in check_wycheproof_hmac()
806 …ext_printf("==== Checking ECDH =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, … in main()
810 …ext_printf("[+][%d] All ECDH tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", ecdh_… in main()
812 …ext_printf("==== Checking XDH =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, a… in main()
816 …ext_printf("[+][%d] All XDH tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", xdh_al… in main()
818 …ext_printf("==== Checking ECDSA =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d,… in main()
822 …ext_printf("[+][%d] All ECDSA tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", ecds… in main()
824 …ext_printf("==== Checking EDDSA =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d,… in main()
828 …ext_printf("[+][%d] All EDDSA tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", edds… in main()
830 …ext_printf("==== Checking HMAC =========== Imported = %d, Skipped = %d (valid = %d, invalid = %d, … in main()
834 …ext_printf("[+][%d] All HMAC tests went OK! (%d acceptable/valid, %d acceptable/invalid)\n", hmac_… in main()