Searched refs:keystream (Results 1 - 4 of 4) sorted by relevance
/third_party/FreeBSD/lib/libc/gen/ |
H A D | arc4random.c | 82 chacha_ctx rs_chacha; /* chacha context for random keystream */
83 u_char rs_buf[RSBUFSZ]; /* keystream blocks */
185 /* fill rs_buf with the keystream */
in _rs_rekey() 206 u_char *keystream;
in _rs_random_buf() local 213 keystream = rsx->rs_buf + sizeof(rsx->rs_buf)
in _rs_random_buf() 215 memcpy(buf, keystream, m);
in _rs_random_buf() 216 memset(keystream, 0, m);
in _rs_random_buf() 229 u_char *keystream;
in _rs_random_u32() local 234 keystream = rsx->rs_buf + sizeof(rsx->rs_buf) - rs->rs_have;
in _rs_random_u32() 235 memcpy(val, keystream, sizeo in _rs_random_u32() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | srtp.c | 46 uint8_t keystream[16]; in encrypt_counter() local 48 av_aes_crypt(aes, keystream, iv, 1, NULL, 0); in encrypt_counter() 50 outbuf[outpos] ^= keystream[j]; in encrypt_counter()
|
/third_party/libcoap/include/oscore/ |
H A D | oscore_context.h | 274 uint8_t *keystream,
|
/third_party/mbedtls/library/ |
H A D | chacha20.c | 110 * \brief Generates a keystream block. 113 * \param keystream Generated keystream bytes are written to this buffer. 116 unsigned char keystream[64]) in chacha20_block() 149 MBEDTLS_PUT_UINT32_LE(working_state[i], keystream, offset); in chacha20_block() 160 /* Initially, there's no keystream bytes available */ in mbedtls_chacha20_init() 207 /* Initially, there's no keystream bytes available */ in mbedtls_chacha20_starts() 220 /* Use leftover keystream bytes, if available */ in mbedtls_chacha20_update() 232 /* Generate new keystream block and increment counter */ in mbedtls_chacha20_update() 244 /* Generate new keystream bloc in mbedtls_chacha20_update() 115 chacha20_block(const uint32_t initial_state[16], unsigned char keystream[64]) chacha20_block() argument [all...] |
Completed in 3 milliseconds