Home
last modified time | relevance | path

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

/openssl/providers/implementations/kdfs/
H A Dargon2.c169 uint32_t m_cost; member
211 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() argument
1204 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()
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_argon2.txt103 # Expected fail on condition violation: m_cost < 8 * lanes
112 # Expected fail on condition violation: m_cost < 2 * syncpoints = 8

Completed in 10 milliseconds