Home
last modified time | relevance | path

Searched refs:Nonce12 (Results 1 – 6 of 6) sorted by relevance

/system/secretkeeper/core/src/
Dcipher.rs21 use authgraph_core::key::{AesKey, Nonce12};
33 let nonce12 = Nonce12::try_from(&encrypt0.unprotected.iv[..]) in decrypt_message()
49 let nonce12 = Nonce12::new(rng); in encrypt_message()
/system/authgraph/boringssl/src/
Daes.rs22 key::{AesKey, Nonce12},
42 nonce: &Nonce12, in encrypt() argument
65 nonce: &Nonce12, in decrypt() argument
/system/authgraph/core/src/
Dtraits.rs21 HmacKey, Identity, IdentityVerificationDecision, MillisecondsSinceEpoch, Nonce12,
64 nonce: &Nonce12, in encrypt() argument
72 nonce: &Nonce12, in decrypt() argument
Darc.rs22 key::{AesKey, Identity, Nonce12},
99 let nonce_for_enc = Nonce12::new(rng); in create_arc()
141 let nonce = Nonce12( in decipher_arc()
Dkey.rs134 pub struct Nonce12(pub [u8; 12]); struct
136 impl Nonce12 { implementation
139 let mut nonce = Nonce12([0u8; 12]); in new()
145 impl TryFrom<&[u8]> for Nonce12 { implementation
151 let mut nonce = Nonce12([0; 12]); in try_from()
/system/authgraph/tests/src/
Dlib.rs5 AesKey, EcSignKey, EcVerifyKey, EcdhSecret, HmacKey, Identity, Key, Nonce12, PseudoRandKey,
161 let nonce = Nonce12(*b"1243567890ab"); in test_aes_gcm_roundtrip()
169 let bad_nonce = Nonce12(*b"ab1243567890"); in test_aes_gcm_roundtrip()
249 let nonce = Nonce12(hex::decode(test.iv).unwrap().try_into().unwrap()); in test_aes_gcm()