Home
last modified time | relevance | path

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

/netbsd/sys/external/isc/libsodium/dist/test/default/
H A Dpwhash_argon2id.c259 if (crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests()
260 crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 || in str_tests()
261 crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests()
262 crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != 1) { in str_tests()
275 crypto_pwhash_argon2id_str_needs_rehash(str_out + 1, OPSLIMIT, MEMLIMIT) != -1) { 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()
369 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
371 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == 1); in str_tests()
373 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out + 1, in str_tests()
[all …]
H A Dpwhash_argon2i.c373 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
376 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
377 assert(crypto_pwhash_argon2id_str_needs_rehash("", OPSLIMIT, MEMLIMIT) == -1); in str_tests()
381 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
383 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
385 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
387 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == 1); in str_tests()
389 assert(crypto_pwhash_argon2id_str_needs_rehash("", OPSLIMIT, MEMLIMIT) == -1); in str_tests()
390 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out + 1, in str_tests()
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
H A Dcrypto_pwhash_argon2id.h114 int crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES],
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/
H A Dcrypto_pwhash.c197 return crypto_pwhash_argon2id_str_needs_rehash(str, opslimit, memlimit); in crypto_pwhash_str_needs_rehash()
/netbsd/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
H A Dpwhash_argon2i.c286 crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES], in crypto_pwhash_argon2id_str_needs_rehash() function