Home
last modified time | relevance | path

Searched refs:OpeningKey (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/ring/src/aead/
Dchacha20_poly1305_openssh.rs88 pub struct OpeningKey { struct
92 impl OpeningKey { argument
94 pub fn new(key_material: &[u8; KEY_LEN]) -> OpeningKey { in new() argument
95 OpeningKey {
/external/rust/crates/ring/src/
Daead.rs68 pub struct OpeningKey<N: NonceSequence> { struct
73 impl<N: NonceSequence> BoundKey<N> for OpeningKey<N> { implementation
87 impl<N: NonceSequence> core::fmt::Debug for OpeningKey<N> { implementation
95 impl<N: NonceSequence> OpeningKey<N> { impl
/external/rust/crates/ring/tests/
Daead_tests.rs276 let mut o_key: aead::OpeningKey<OneNonceSequence> = make_key(algorithm, key, nonce); in open_with_key()
389 let o_key = aead::chacha20_poly1305_openssh::OpeningKey::new(&key_bytes); in aead_chacha20_poly1305_openssh()
432 let opening_key: aead::OpeningKey<OneNonceSequence> = make_key( in test_aead_key_debug()