Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dpwhash_scryptsalsa208sha256.c99 return crypto_pwhash_scryptsalsa208sha256_STRBYTES; in crypto_pwhash_scryptsalsa208sha256_strbytes()
187 char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES], in crypto_pwhash_scryptsalsa208sha256_str() argument
198 memset(out, 0, crypto_pwhash_scryptsalsa208sha256_STRBYTES); in crypto_pwhash_scryptsalsa208sha256_str()
219 crypto_pwhash_scryptsalsa208sha256_STRBYTES) == NULL) { in crypto_pwhash_scryptsalsa208sha256_str()
234 crypto_pwhash_scryptsalsa208sha256_STRBYTES); in crypto_pwhash_scryptsalsa208sha256_str()
241 const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES], in crypto_pwhash_scryptsalsa208sha256_str_verify() argument
244 char wanted[crypto_pwhash_scryptsalsa208sha256_STRBYTES]; in crypto_pwhash_scryptsalsa208sha256_str_verify()
248 if (sodium_strnlen(str, crypto_pwhash_scryptsalsa208sha256_STRBYTES) != in crypto_pwhash_scryptsalsa208sha256_str_verify()
249 crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1U) { in crypto_pwhash_scryptsalsa208sha256_str_verify()
271 const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES], in crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() argument
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_pwhash_scryptsalsa208sha256.h38 #define crypto_pwhash_scryptsalsa208sha256_STRBYTES 102U macro
90 int crypto_pwhash_scryptsalsa208sha256_str(char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
98 …_pwhash_scryptsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES
111 …h_scryptsalsa208sha256_str_needs_rehash(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES
/freebsd/sys/contrib/libsodium/test/default/
H A Dpwhash_scrypt.c307 (char *) sodium_malloc(crypto_pwhash_scryptsalsa208sha256_STRBYTES); in str_tests()
309 (char *) sodium_malloc(crypto_pwhash_scryptsalsa208sha256_STRBYTES); in str_tests()
356 assert(str_out[crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1U] == 0); in str_tests()