Searched refs:chacha20_key (Results 1 – 2 of 2) sorted by relevance
85 let chacha20_key = match key { in aead() localVariable92 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()
175 let chacha20_key: [u8; chacha::KEY_LEN] = key.try_into()?; in chacha20_init() localVariable176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()180 let chacha20_key = match key { localVariable185 chacha20_key.new_mask(sample)