Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dbsd-arc4random.c65 unsigned char rand_buf[SEED_SIZE]; in arc4random_stir() local
69 if (RAND_bytes(rand_buf, sizeof(rand_buf)) <= 0) in arc4random_stir()
72 RC4_set_key(&rc4, sizeof(rand_buf), rand_buf); in arc4random_stir()
78 for(i = 0; i <= 256; i += sizeof(rand_buf)) in arc4random_stir()
79 RC4(&rc4, sizeof(rand_buf), rand_buf, rand_buf); in arc4random_stir()
81 memset(rand_buf, 0, sizeof(rand_buf)); in arc4random_stir()
/external/chromium/net/http/
Dhttp_auth_handler_ntlm_portable.cc704 uint8 rand_buf[8]; in GetNextToken() local
705 generate_random_proc_(rand_buf, 8); in GetNextToken()
706 rv = GenerateType3Msg(domain_, username_, password_, hostname, rand_buf, in GetNextToken()