Searched refs:KeyInner (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/ring/src/aead/ |
D | quic.rs | 27 inner: KeyInner, 32 enum KeyInner { enum 85 init: fn(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified>, 87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5], 147 fn aes_init_128(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in aes_init_128() argument 149 Ok(KeyInner::Aes(aes_key)) in aes_init_128() 152 fn aes_init_256(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified> { in aes_init_256() argument 154 Ok(KeyInner::Aes(aes_key)) in aes_init_256() 157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument 159 KeyInner::Aes(key) => key, [all …]
|
D | chacha20_poly1305.rs | 41 ) -> Result<aead::KeyInner, error::Unspecified> { in chacha20_poly1305_init() argument 43 Ok(aead::KeyInner::ChaCha20Poly1305(chacha::Key::from(key))) in chacha20_poly1305_init() 47 key: &aead::KeyInner, in chacha20_poly1305_seal() argument 57 key: &aead::KeyInner, in chacha20_poly1305_open() argument 78 key: &aead::KeyInner, in aead() argument 86 aead::KeyInner::ChaCha20Poly1305(key) => key, in aead()
|
D | aes_gcm.rs | 46 fn init_128(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_128() argument 50 fn init_256(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_256() argument 58 ) -> Result<aead::KeyInner, error::Unspecified> { in init() argument 61 Ok(aead::KeyInner::AesGcm(Key { aes_key, gcm_key })) in init() 67 key: &aead::KeyInner, in aes_gcm_seal() argument 77 key: &aead::KeyInner, in aes_gcm_open() argument 96 key: &aead::KeyInner, in aead() argument 104 aead::KeyInner::AesGcm(key) => key, in aead()
|
/external/rust/crates/ring/src/ |
D | aead.rs | 388 inner: KeyInner, 402 enum KeyInner { enum 563 init: fn(key: &[u8], cpu_features: cpu::Features) -> Result<KeyInner, error::Unspecified>, 566 key: &KeyInner, 573 key: &KeyInner,
|