Home
last modified time | relevance | path

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

/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dpwhash_scryptsalsa208sha256.c182 escrypt_local_t escrypt_local; in crypto_pwhash_scryptsalsa208sha256_str() local
203 if (escrypt_init_local(&escrypt_local) != 0) { in crypto_pwhash_scryptsalsa208sha256_str()
206 if (escrypt_r(&escrypt_local, (const uint8_t *) passwd, (size_t) passwdlen, in crypto_pwhash_scryptsalsa208sha256_str()
210 escrypt_free_local(&escrypt_local); in crypto_pwhash_scryptsalsa208sha256_str()
215 escrypt_free_local(&escrypt_local); in crypto_pwhash_scryptsalsa208sha256_str()
234 escrypt_local_t escrypt_local; in crypto_pwhash_scryptsalsa208sha256_str_verify() local
241 if (escrypt_init_local(&escrypt_local) != 0) { in crypto_pwhash_scryptsalsa208sha256_str_verify()
245 if (escrypt_r(&escrypt_local, (const uint8_t *) passwd, (size_t) passwdlen, in crypto_pwhash_scryptsalsa208sha256_str_verify()
248 escrypt_free_local(&escrypt_local); in crypto_pwhash_scryptsalsa208sha256_str_verify()
251 escrypt_free_local(&escrypt_local); in crypto_pwhash_scryptsalsa208sha256_str_verify()