Home
last modified time | relevance | path

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

/openssl/providers/implementations/kdfs/
H A Dargon2.c177 uint32_t memory_blocks; member
489 input_block.v[3] = ctx->memory_blocks; in fill_segment()
732 if (ctx->memory_blocks * sizeof(BLOCK) / sizeof(BLOCK) != ctx->memory_blocks) in initialize()
736 ctx->memory = OPENSSL_secure_zalloc(ctx->memory_blocks * in initialize()
739 ctx->memory = OPENSSL_zalloc(ctx->memory_blocks * in initialize()
787 ctx->memory_blocks * sizeof(BLOCK)); in finalize()
1018 uint32_t memory_blocks, segment_length; in kdf_argon2_derive() local
1093 memory_blocks = ctx->m_cost; in kdf_argon2_derive()
1094 if (memory_blocks < 2 * ARGON2_SYNC_POINTS * ctx->lanes) in kdf_argon2_derive()
1095 memory_blocks = 2 * ARGON2_SYNC_POINTS * ctx->lanes; in kdf_argon2_derive()
[all …]

Completed in 10 milliseconds