Home
last modified time | relevance | path

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

/external/openssl/crypto/rand/
Dmd_rand.c138 #define STATE_SIZE 1023 macro
140 static unsigned char state[STATE_SIZE+MD_DIGEST_LENGTH];
244 if (state_index >= STATE_SIZE) in ssleay_rand_add()
246 state_index%=STATE_SIZE; in ssleay_rand_add()
247 state_num=STATE_SIZE; in ssleay_rand_add()
249 else if (state_num < STATE_SIZE) in ssleay_rand_add()
272 k=(st_idx+j)-STATE_SIZE; in ssleay_rand_add()
307 if (st_idx >= STATE_SIZE) in ssleay_rand_add()
432 int n = STATE_SIZE; /* so that the complete pool gets accessed */ in ssleay_rand_bytes()