Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/chacha/
Dchacha.c74 uint32_t counter_nonce[4]; counter_nonce[0] = counter; in CRYPTO_chacha_20() local
75 counter_nonce[1] = U8TO32_LITTLE(nonce + 0); in CRYPTO_chacha_20()
76 counter_nonce[2] = U8TO32_LITTLE(nonce + 4); in CRYPTO_chacha_20()
77 counter_nonce[3] = U8TO32_LITTLE(nonce + 8); in CRYPTO_chacha_20()
97 ChaCha20_ctr32(out, in, in_len, key_ptr, counter_nonce); in CRYPTO_chacha_20()
/external/rust/crates/quiche/deps/boringssl/src/crypto/chacha/
Dchacha.c74 uint32_t counter_nonce[4]; counter_nonce[0] = counter; in CRYPTO_chacha_20() local
75 counter_nonce[1] = U8TO32_LITTLE(nonce + 0); in CRYPTO_chacha_20()
76 counter_nonce[2] = U8TO32_LITTLE(nonce + 4); in CRYPTO_chacha_20()
77 counter_nonce[3] = U8TO32_LITTLE(nonce + 8); in CRYPTO_chacha_20()
97 ChaCha20_ctr32(out, in, in_len, key_ptr, counter_nonce); in CRYPTO_chacha_20()