Lines Matching refs:state_index
137 static int state_num=0,state_index=0; variable
182 state_index=0; in ssleay_rand_cleanup()
224 st_idx=state_index; in ssleay_rand_add()
236 state_index += num; in ssleay_rand_add()
237 if (state_index >= STATE_SIZE) in ssleay_rand_add()
239 state_index%=STATE_SIZE; in ssleay_rand_add()
244 if (state_index > state_num) in ssleay_rand_add()
245 state_num=state_index; in ssleay_rand_add()
433 st_idx=state_index; in ssleay_rand_bytes()
439 state_index+=num_ceil; in ssleay_rand_bytes()
440 if (state_index > state_num) in ssleay_rand_bytes()
441 state_index %= state_num; in ssleay_rand_bytes()