Home
last modified time | relevance | path

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

/external/openssl/crypto/rand/
Dmd_rand.c195 int i,j,k,st_idx; in ssleay_rand_add() local
229 st_idx=state_index; in ssleay_rand_add()
270 k=(st_idx+j)-STATE_SIZE; in ssleay_rand_add()
273 MD_Update(&m,&(state[st_idx]),j-k); in ssleay_rand_add()
277 MD_Update(&m,&(state[st_idx]),j); in ssleay_rand_add()
304 state[st_idx++]^=local_md[k]; in ssleay_rand_add()
305 if (st_idx >= STATE_SIZE) in ssleay_rand_add()
306 st_idx=0; in ssleay_rand_add()
337 int i,j,k,st_num,st_idx; in ssleay_rand_bytes() local
446 st_idx=state_index; in ssleay_rand_bytes()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/rand/
Dmd_rand.c195 int i,j,k,st_idx; in ssleay_rand_add() local
229 st_idx=state_index; in ssleay_rand_add()
270 k=(st_idx+j)-STATE_SIZE; in ssleay_rand_add()
273 MD_Update(&m,&(state[st_idx]),j-k); in ssleay_rand_add()
277 MD_Update(&m,&(state[st_idx]),j); in ssleay_rand_add()
304 state[st_idx++]^=local_md[k]; in ssleay_rand_add()
305 if (st_idx >= STATE_SIZE) in ssleay_rand_add()
306 st_idx=0; in ssleay_rand_add()
337 int i,j,k,st_num,st_idx; in ssleay_rand_bytes() local
446 st_idx=state_index; in ssleay_rand_bytes()
[all …]