Home
last modified time | relevance | path

Searched refs:STATE_SIZE (Results 1 – 2 of 2) 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];
242 if (state_index >= STATE_SIZE) in ssleay_rand_add()
244 state_index%=STATE_SIZE; in ssleay_rand_add()
245 state_num=STATE_SIZE; in ssleay_rand_add()
247 else if (state_num < STATE_SIZE) in ssleay_rand_add()
270 k=(st_idx+j)-STATE_SIZE; in ssleay_rand_add()
305 if (st_idx >= STATE_SIZE) in ssleay_rand_add()
430 int n = STATE_SIZE; /* so that the complete pool gets accessed */ in ssleay_rand_bytes()
/external/chromium_org/third_party/openssl/openssl/crypto/rand/
Dmd_rand.c138 #define STATE_SIZE 1023 macro
140 static unsigned char state[STATE_SIZE+MD_DIGEST_LENGTH];
242 if (state_index >= STATE_SIZE) in ssleay_rand_add()
244 state_index%=STATE_SIZE; in ssleay_rand_add()
245 state_num=STATE_SIZE; in ssleay_rand_add()
247 else if (state_num < STATE_SIZE) in ssleay_rand_add()
270 k=(st_idx+j)-STATE_SIZE; in ssleay_rand_add()
305 if (st_idx >= STATE_SIZE) in ssleay_rand_add()
430 int n = STATE_SIZE; /* so that the complete pool gets accessed */ in ssleay_rand_bytes()