Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_pwhash.h49 #define crypto_pwhash_STRBYTES crypto_pwhash_argon2id_STRBYTES macro
116 int crypto_pwhash_str(char out[crypto_pwhash_STRBYTES],
122 int crypto_pwhash_str_alg(char out[crypto_pwhash_STRBYTES],
128 int crypto_pwhash_str_verify(const char str[crypto_pwhash_STRBYTES],
134 int crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES],
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/
H A Dcrypto_pwhash.c59 return crypto_pwhash_STRBYTES; in crypto_pwhash_strbytes()
148 crypto_pwhash_str(char out[crypto_pwhash_STRBYTES], in crypto_pwhash_str() argument
157 crypto_pwhash_str_alg(char out[crypto_pwhash_STRBYTES], in crypto_pwhash_str_alg() argument
174 crypto_pwhash_str_verify(const char str[crypto_pwhash_STRBYTES], in crypto_pwhash_str_verify() argument
192 crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES], in crypto_pwhash_str_needs_rehash() argument
/freebsd/sys/contrib/libsodium/test/default/
H A Dpwhash_argon2i.c239 str_out = (char *) sodium_malloc(crypto_pwhash_STRBYTES); in str_tests()
240 str_out2 = (char *) sodium_malloc(crypto_pwhash_STRBYTES); in str_tests()
270 crypto_pwhash_STRBYTES - strlen(str_out)) != 1 || in str_tests()
272 crypto_pwhash_STRBYTES - strlen(str_out2)) != 1) { in str_tests()
283 assert(str_out[crypto_pwhash_STRBYTES - 1U] == 0); in str_tests()
H A Dpwhash_argon2id.c279 crypto_pwhash_STRBYTES - strlen(str_out)) != 1 || in str_tests()
281 crypto_pwhash_STRBYTES - strlen(str_out2)) != 1) { in str_tests()
428 assert(crypto_pwhash_strbytes() == crypto_pwhash_STRBYTES); in main()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dpwhash_argon2i.c252 fodder_len >= crypto_pwhash_STRBYTES) { in _needs_rehash()