ARGON2_SYNC_POINTS
if (memory_blocks < 2 * ARGON2_SYNC_POINTS * ctx->lanes)
memory_blocks = 2 * ARGON2_SYNC_POINTS * ctx->lanes;
segment_length = memory_blocks / (ctx->lanes * ARGON2_SYNC_POINTS);
memory_blocks = segment_length * (ctx->lanes * ARGON2_SYNC_POINTS);
ctx->lane_length = segment_length * ARGON2_SYNC_POINTS;
return (pass == 0) && (slice < ARGON2_SYNC_POINTS / 2);
if (slice != ARGON2_SYNC_POINTS - 1)
#define ARGON2_MIN_MEMORY (2 * ARGON2_SYNC_POINTS)
for (s = 0; s < ARGON2_SYNC_POINTS; ++s) {
for (s = 0; s < ARGON2_SYNC_POINTS; ++s)