tests 747 ext/standard/crypt_freesec.c } tests[] = { tests 792 ext/standard/crypt_freesec.c for (i = 0; tests[i].hash; i++) { tests 793 ext/standard/crypt_freesec.c char *hash = crypt(tests[i].pw, tests[i].hash); tests 794 ext/standard/crypt_freesec.c if (!hash && strlen(tests[i].hash) < 13) tests 796 ext/standard/crypt_freesec.c if (!strcmp(hash, tests[i].hash)) tests 624 ext/standard/crypt_sha256.c } tests[] = tests 658 ext/standard/crypt_sha256.c #define ntests (sizeof (tests) / sizeof (tests[0])) tests 706 ext/standard/crypt_sha256.c sha256_process_bytes(tests[cnt].input, strlen(tests[cnt].input), &ctx); tests 708 ext/standard/crypt_sha256.c if (memcmp(tests[cnt].result, sum, 32) != 0) { tests 714 ext/standard/crypt_sha256.c for (i = 0; tests[cnt].input[i] != '\0'; ++i) { tests 715 ext/standard/crypt_sha256.c sha256_process_bytes(&tests[cnt].input[i], 1, &ctx); tests 718 ext/standard/crypt_sha256.c if (memcmp(tests[cnt].result, sum, 32) != 0) { tests 669 ext/standard/crypt_sha512.c } tests[] = tests 722 ext/standard/crypt_sha512.c #define ntests (sizeof (tests) / sizeof (tests[0])) tests 774 ext/standard/crypt_sha512.c sha512_process_bytes (tests[cnt].input, strlen (tests[cnt].input), &ctx); tests 776 ext/standard/crypt_sha512.c if (memcmp (tests[cnt].result, sum, 64) != 0) { tests 782 ext/standard/crypt_sha512.c for (i = 0; tests[cnt].input[i] != '\0'; ++i) { tests 783 ext/standard/crypt_sha512.c sha512_process_bytes (&tests[cnt].input[i], 1, &ctx); tests 786 ext/standard/crypt_sha512.c if (memcmp (tests[cnt].result, sum, 64) != 0) {