Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 6 of 6) sorted by relevance

/crypt/
A Dmd5test-giant.c73 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 Dsha256test.c76 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 Dsha512test.c95 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 Dmd5-crypt.c51 # 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 Dsha256-crypt.c52 # 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 Dsha512-crypt.c52 # 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