Lines Matching defs:position
107 const argon2_position_t *position, uint64_t *pseudo_rands)
115 if (instance != NULL && position != NULL) {
116 input_block.v[0] = position->pass;
117 input_block.v[1] = position->lane;
118 input_block.v[2] = position->slice;
150 argon2_position_t position)
159 /* Pseudo-random values that determine the reference block position */
167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) {
174 generate_addresses(instance, &position, pseudo_rands);
179 if ((0 == position.pass) && (0 == position.slice)) {
184 curr_offset = position.lane * instance->lane_length +
185 position.slice * instance->segment_length + starting_index;
219 if ((position.pass == 0) && (position.slice == 0)) {
221 ref_lane = position.lane;
227 position.index = i;
228 ref_index = index_alpha(instance, &position, pseudo_rand & 0xFFFFFFFF,
229 ref_lane == position.lane);
235 if (position.pass != 0) {