Searched refs:memory_blocks (Results 1 – 7 of 7) sorted by relevance
31 uint32_t memory_blocks, segment_length; in argon2_ctx() local45 memory_blocks = context->m_cost; in argon2_ctx()47 if (memory_blocks < 2 * ARGON2_SYNC_POINTS * context->lanes) { in argon2_ctx()48 memory_blocks = 2 * ARGON2_SYNC_POINTS * context->lanes; in argon2_ctx()51 segment_length = memory_blocks / (context->lanes * ARGON2_SYNC_POINTS); in argon2_ctx()53 memory_blocks = segment_length * (context->lanes * ARGON2_SYNC_POINTS); in argon2_ctx()58 instance.memory_blocks = memory_blocks; in argon2_ctx()
100 uint32_t memory_blocks; /* Number of blocks in memory */ member
143 sizeof(block) * instance->memory_blocks); in clear_memory()491 result = allocate_memory(&(instance->region), instance->memory_blocks); in initialize()
113 input_block.v[3] = instance->memory_blocks; in generate_addresses()
114 input_block.v[3] = instance->memory_blocks; in generate_addresses()
119 input_block.v[3] = instance->memory_blocks; in generate_addresses()
125 input_block.v[3] = instance->memory_blocks; in generate_addresses()