Home
last modified time | relevance | path

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

/external/rust/crates/ring/src/aead/
Dchacha20_poly1305.rs85 let chacha20_key = match key { in aead() localVariable
92 let key = derive_poly1305_key(chacha20_key, counter.increment(), cpu_features); in aead()
101 chacha20_key.encrypt_overlapping(counter, in_out, in_prefix_len); in aead()
105 chacha20_key.encrypt_in_place(counter, in_out); in aead()
Dquic.rs175 let chacha20_key: [u8; chacha::KEY_LEN] = key.try_into()?; in chacha20_init() localVariable
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
180 let chacha20_key = match key { localVariable
185 chacha20_key.new_mask(sample)