Lines Matching refs:segment_length
178 uint32_t segment_length; member
442 ref_area_sz = slice * ctx->segment_length + index - 1; in index_alpha()
444 ref_area_sz = slice * ctx->segment_length + in index_alpha()
449 ref_area_sz = ctx->lane_length - ctx->segment_length + index - 1; in index_alpha()
451 ref_area_sz = ctx->lane_length - ctx->segment_length + in index_alpha()
454 start_pos = (slice + 1) * ctx->segment_length; in index_alpha()
503 curr_offset = lane * ctx->lane_length + slice * ctx->segment_length in fill_segment()
511 for (j = start_idx; j < ctx->segment_length; ++j, ++curr_offset, ++prev_offset) { in fill_segment()
1018 uint32_t memory_blocks, segment_length; in kdf_argon2_derive() local
1098 segment_length = memory_blocks / (ctx->lanes * ARGON2_SYNC_POINTS); in kdf_argon2_derive()
1099 memory_blocks = segment_length * (ctx->lanes * ARGON2_SYNC_POINTS); in kdf_argon2_derive()
1103 ctx->segment_length = segment_length; in kdf_argon2_derive()
1105 ctx->lane_length = segment_length * ARGON2_SYNC_POINTS; in kdf_argon2_derive()