Lines Matching defs:position
107 * @param position Pointer to the current position
113 const argon2_position_t *position, uint64_t *pseudo_rands)
121 if (instance != NULL && position != NULL) {
122 input_block.v[0] = position->pass;
123 input_block.v[1] = position->lane;
124 input_block.v[2] = position->slice;
144 fill_segment_ref(const argon2_instance_t *instance, argon2_position_t position)
147 /* Pseudo-random values that determine the reference block position */
160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) {
167 generate_addresses(instance, &position, pseudo_rands);
172 if ((0 == position.pass) && (0 == position.slice)) {
177 curr_offset = position.lane * instance->lane_length +
178 position.slice * instance->segment_length + starting_index;
209 if ((position.pass == 0) && (position.slice == 0)) {
211 ref_lane = position.lane;
217 position.index = i;
218 ref_index = index_alpha(instance, &position, pseudo_rand & 0xFFFFFFFF,
219 ref_lane == position.lane);
225 if (position.pass != 0) {