Home
last modified time | relevance | path

Searched refs:str_out (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/contrib/libsodium/test/default/
H A Dpwhash_argon2id.c229 char *str_out; in str_tests() local
246 if (strcmp(str_out, str_out2) == 0) { in str_tests()
278 if (sodium_is_zero((const unsigned char *) str_out + strlen(str_out), in str_tests()
290 str_out[14]++; in str_tests()
294 str_out[14]--; in str_tests()
365 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
367 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
380 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests()
382 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests()
384 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests()
[all …]
H A Dpwhash_argon2i.c233 char *str_out; in str_tests() local
250 if (strcmp(str_out, str_out2) == 0) { in str_tests()
269 if (sodium_is_zero((const unsigned char *) str_out + strlen(str_out), in str_tests()
278 str_out[14]++; in str_tests()
282 str_out[14]--; in str_tests()
283 assert(str_out[crypto_pwhash_STRBYTES - 1U] == 0); in str_tests()
367 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests()
369 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests()
371 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests()
382 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
[all …]
H A Dpwhash_scrypt.c300 char *str_out; in str_tests() local
306 str_out = in str_tests()
320 if (strcmp(str_out, str_out2) == 0) { in str_tests()
324 (str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests()
328 (str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests()
330 (str_out, OPSLIMIT / 2, MEMLIMIT) != 1 || in str_tests()
332 (str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests()
349 str_out[14]++; in str_tests()
354 str_out[14]--; in str_tests()
359 (str_out, 0, 0) == 1); in str_tests()
[all …]