Home
last modified time | relevance | path

Searched refs:crypto_pwhash_argon2i_str_needs_rehash (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dpwhash_argon2i.c253 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests()
256 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests()
257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 || in str_tests()
258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests()
259 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) { in str_tests()
266 crypto_pwhash_argon2i_str_needs_rehash(str_out + 1, OPSLIMIT, MEMLIMIT) != -1) { 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()
373 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, 0, 0) == 1); in str_tests()
[all …]
H A Dpwhash_argon2id.c265 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != -1 || in str_tests()
266 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != -1 || in str_tests()
267 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != -1 || in str_tests()
268 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != -1) { in str_tests()
372 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
375 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
376 assert(crypto_pwhash_argon2i_str_needs_rehash("", OPSLIMIT, MEMLIMIT) == -1); 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 …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_pwhash_argon2i.h114 int crypto_pwhash_argon2i_str_needs_rehash(const char str[crypto_pwhash_argon2i_STRBYTES],
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/
H A Dcrypto_pwhash.c201 return crypto_pwhash_argon2i_str_needs_rehash(str, opslimit, memlimit); in crypto_pwhash_str_needs_rehash()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dpwhash_argon2i.c279 crypto_pwhash_argon2i_str_needs_rehash(const char str[crypto_pwhash_argon2i_STRBYTES], in crypto_pwhash_argon2i_str_needs_rehash() function