HomeSort by relevance Sort by last modified time
    Searched refs:rs_buf (Results 1 - 2 of 2) sorted by null

  /bionic/libc/upstream-openbsd/lib/libc/crypt/
arc4random.c 53 size_t rs_have; /* valid bytes at end of rs_buf */
60 u_char rs_buf[RSBUFSZ]; /* keystream blocks */ member in struct:_rsx
98 /* invalidate rs_buf */
100 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf));
121 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf));
123 /* fill rs_buf with the keystream */
124 chacha_encrypt_bytes(&rsx->rs_chacha, rsx->rs_buf,
125 rsx->rs_buf, sizeof(rsx->rs_buf))
    [all...]
  /external/openssh/openbsd-compat/
arc4random.c 65 static u_char rs_buf[RSBUFSZ]; /* keystream blocks */ variable
66 static size_t rs_have; /* valid bytes at end of rs_buf */
126 /* invalidate rs_buf */
128 memset(rs_buf, 0, RSBUFSZ);
149 memset(rs_buf, 0,RSBUFSZ);
151 /* fill rs_buf with the keystream */
152 chacha_encrypt_bytes(&rs, rs_buf, rs_buf, RSBUFSZ);
159 rs_buf[i] ^= dat[i];
162 _rs_init(rs_buf, KEYSZ + IVSZ)
    [all...]

Completed in 83 milliseconds