Searched refs:buf (Results 1 – 6 of 6) sorted by relevance
/crypt/ |
A D | md5test-giant.c | 73 test_single (void *buf, size_t len, const char *ref) in test_single() argument 79 __md5_process_bytes (buf, len, &ctx); in test_single() 88 test_double (void *buf, size_t len, const char *ref) in test_double() argument 96 __md5_process_bytes (buf, CONST_2G, &ctx); in test_double() 97 __md5_process_bytes (buf + CONST_2G, len - CONST_2G, &ctx); in test_double() 100 __md5_process_bytes (buf, len, &ctx); in test_double() 111 void *buf; in do_test() local 115 buf = mmap64 (0, CONST_10G, PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in do_test() 116 if (buf == MAP_FAILED) in do_test() 124 if (test_single (buf, test_data[j].len, test_data[j].ref)) in do_test() [all …]
|
A D | sha256test.c | 76 char buf[1000]; in main() local 77 memset (buf, 'a', sizeof (buf)); in main() 80 __sha256_process_bytes (buf, sizeof (buf), &ctx); in main() 93 __sha256_process_bytes (buf, 10, &ctx); in main()
|
A D | sha512test.c | 95 char buf[1000]; in main() local 96 memset (buf, 'a', sizeof (buf)); in main() 99 __sha512_process_bytes (buf, sizeof (buf), &ctx); in main()
|
A D | md5-crypt.c | 51 # define md5_process_bytes(buf, len, ctxp, nss_ctxp) \ argument 52 NSSLOWHASH_Update (nss_ctxp, (const unsigned char *) buf, len) 68 # define md5_process_bytes(buf, len, ctxp, nss_ctxp) \ argument 69 __md5_process_bytes(buf, len, ctxp)
|
A D | sha256-crypt.c | 52 # define sha256_process_bytes(buf, len, ctxp, nss_ctxp) \ argument 53 NSSLOWHASH_Update (nss_ctxp, (const unsigned char *) buf, len) 69 # define sha256_process_bytes(buf, len, ctxp, nss_ctxp) \ argument 70 __sha256_process_bytes(buf, len, ctxp)
|
A D | sha512-crypt.c | 52 # define sha512_process_bytes(buf, len, ctxp, nss_ctxp) \ argument 53 NSSLOWHASH_Update (nss_ctxp, (const unsigned char *) buf, len) 69 # define sha512_process_bytes(buf, len, ctxp, nss_ctxp) \ argument 70 __sha512_process_bytes(buf, len, ctxp)
|
Completed in 12 milliseconds