Searched refs:t_cost (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2.c | 56 instance.passes = context->t_cost; in argon2_ctx() 86 argon2_hash(const uint32_t t_cost, const uint32_t m_cost, in argon2_hash() argument 123 context.t_cost = t_cost; in argon2_hash() 159 argon2i_hash_encoded(const uint32_t t_cost, const uint32_t m_cost, in argon2i_hash_encoded() argument 165 return argon2_hash(t_cost, m_cost, parallelism, pwd, pwdlen, salt, saltlen, in argon2i_hash_encoded() 170 argon2i_hash_raw(const uint32_t t_cost, const uint32_t m_cost, in argon2i_hash_raw() argument 175 return argon2_hash(t_cost, m_cost, parallelism, pwd, pwdlen, salt, saltlen, in argon2i_hash_raw() 180 argon2id_hash_encoded(const uint32_t t_cost, const uint32_t m_cost, in argon2id_hash_encoded() argument 186 return argon2_hash(t_cost, m_cost, parallelism, pwd, pwdlen, salt, saltlen, in argon2id_hash_encoded() 191 argon2id_hash_raw(const uint32_t t_cost, const uint32_t m_cost, in argon2id_hash_raw() argument [all …]
|
H A D | argon2.h | 179 uint32_t t_cost; /* number of passes */ member 212 int argon2i_hash_encoded(const uint32_t t_cost, const uint32_t m_cost, 233 int argon2id_hash_encoded(const uint32_t t_cost, const uint32_t m_cost, 253 int argon2i_hash_raw(const uint32_t t_cost, const uint32_t m_cost, 272 int argon2id_hash_raw(const uint32_t t_cost, const uint32_t m_cost, 278 int argon2_hash(const uint32_t t_cost, const uint32_t m_cost,
|
H A D | argon2-encoding.c | 181 DECIMAL_U32(ctx->t_cost); in decode_string() 182 if (ctx->t_cost > UINT32_MAX) { in decode_string() 291 SX(ctx->t_cost); in encode_string()
|
H A D | argon2-core.c | 337 if (ARGON2_MIN_TIME > context->t_cost) { in validate_inputs() 341 if (ARGON2_MAX_TIME < context->t_cost) { in validate_inputs() 413 STORE32_LE(value, context->t_cost); in initial_hash()
|
H A D | pwhash_argon2i.c | 267 } else if (ctx.t_cost != (uint32_t) opslimit || in _needs_rehash()
|