Searched refs:m_cost (Results 1 – 2 of 2) sorted by relevance
169 uint32_t m_cost; member211 static int kdf_argon2_ctx_set_m_cost(KDF_ARGON2 *ctx, uint32_t m_cost);662 args[2] = ctx->m_cost; in initial_hash()921 c->m_cost = ARGON2_DEFAULT_M_COST; in kdf_argon2_init()1087 if (ctx->m_cost < 8 * ctx->lanes) { in kdf_argon2_derive()1093 memory_blocks = ctx->m_cost; in kdf_argon2_derive()1200 static int kdf_argon2_ctx_set_m_cost(KDF_ARGON2 *ctx, uint32_t m_cost) in kdf_argon2_ctx_set_m_cost() argument1204 if (m_cost < ARGON2_MIN_MEMORY) { in kdf_argon2_ctx_set_m_cost()1210 ctx->m_cost = m_cost; in kdf_argon2_ctx_set_m_cost()
103 # Expected fail on condition violation: m_cost < 8 * lanes112 # Expected fail on condition violation: m_cost < 2 * syncpoints = 8
Completed in 10 milliseconds