Home
last modified time | relevance | path

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

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2.c35 if (ARGON2_OK != result) { in argon2_ctx()
70 if (ARGON2_OK != result) { in argon2_ctx()
82 return ARGON2_OK; in argon2_ctx()
131 if (result != ARGON2_OK) { in argon2_hash()
144 if (encode_string(encoded, encodedlen, &context, type) != ARGON2_OK) { in argon2_hash()
155 return ARGON2_OK; in argon2_hash()
244 if (decode_result != ARGON2_OK) { in argon2_verify()
258 if (ret != ARGON2_OK || sodium_memcmp(out, ctx.out, ctx.outlen) != 0) { in argon2_verify()
H A Dargon2-encoding.c197 if (validation_result != ARGON2_OK) { in decode_string()
201 return ARGON2_OK; in decode_string()
284 if (validation_result != ARGON2_OK) { in encode_string()
300 return ARGON2_OK; in encode_string()
H A Dpwhash_argon2id.c167 (size_t) outlen) != ARGON2_OK) { in crypto_pwhash_argon2id()
202 crypto_pwhash_argon2id_STRBYTES) != ARGON2_OK) { in crypto_pwhash_argon2id_str()
227 if (verify_ret == ARGON2_OK) { in crypto_pwhash_argon2id_str_verify()
H A Dpwhash_argon2i.c171 (size_t) outlen) != ARGON2_OK) { in crypto_pwhash_argon2i()
206 crypto_pwhash_argon2i_STRBYTES) != ARGON2_OK) { in crypto_pwhash_argon2i_str()
231 if (verify_ret == ARGON2_OK) { in crypto_pwhash_argon2i_str_verify()
H A Dargon2-core.c125 return ARGON2_OK; in allocate_memory()
364 return ARGON2_OK; in validate_inputs()
478 int result = ARGON2_OK; in initialize()
492 if (ARGON2_OK != result) { in initialize()
512 return ARGON2_OK; in initialize()
H A Dargon2.h76 ARGON2_OK = 0, enumerator