Searched refs:STATE_SIZE (Results 1 - 1 of 1) sorted by relevance

/external/openssl/crypto/rand/
H A Dmd_rand.c136 #define STATE_SIZE 1023 macro
138 static unsigned char state[STATE_SIZE+MD_DIGEST_LENGTH];
237 /* state_index <= state_num <= STATE_SIZE */
239 if (state_index >= STATE_SIZE)
241 state_index%=STATE_SIZE;
242 state_num=STATE_SIZE;
244 else if (state_num < STATE_SIZE)
249 /* state_index <= state_num <= STATE_SIZE */
251 /* state[st_idx], ..., state[(st_idx + num - 1) % STATE_SIZE]
267 k=(st_idx+j)-STATE_SIZE;
[all...]

Completed in 62 milliseconds