Home
last modified time | relevance | path

Searched defs:Nonce (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/ring/src/aead/
Dnonce.rs24 pub struct Nonce([u8; NONCE_LEN]); struct
26 impl Nonce { impl
45 impl AsRef<[u8; NONCE_LEN]> for Nonce { implementation
Dless_safe_key.rs52 nonce: Nonce, in open_in_place()
68 nonce: Nonce, in open_within()
92 nonce: Nonce, in seal_in_place_append_tag()
111 nonce: Nonce, in seal_in_place_separate_tag()
140 nonce: Nonce, in open_within_()
172 nonce: Nonce, in seal_in_place_separate_tag_()
Dchacha20_poly1305.rs50 nonce: Nonce, in chacha20_poly1305_seal()
130 nonce: Nonce, in chacha20_poly1305_open()
Daes_gcm.rs68 fn aes_gcm_seal(key: &aead::KeyInner, nonce: Nonce, aad: Aad<&[u8]>, in_out: &mut [u8]) -> Tag { in aes_gcm_seal()
137 nonce: Nonce, in aes_gcm_open()
/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/aead/
Daes_gcm.rs36 type Nonce = [u8; 12]; typedef
47 nonce: &Self::Nonce, in encrypt_detached()
60 nonce: &Self::Nonce, in decrypt_detached()
77 type Nonce = [u8; 12]; typedef
88 nonce: &Self::Nonce, in encrypt_detached()
101 nonce: &Self::Nonce, in decrypt_detached()
Daes_gcm_siv.rs33 type Nonce = [u8; 12]; typedef
44 nonce: &Self::Nonce, in encrypt_detached()
57 nonce: &Self::Nonce, in decrypt_detached()
76 type Nonce = [u8; 12]; typedef
87 nonce: &Self::Nonce, in encrypt_detached()
100 nonce: &Self::Nonce, in decrypt_detached()
/external/boringssl/src/rust/bssl-crypto/src/cipher/
Dmod.rs40 type Nonce: AsRef<[u8]>; typedef
57 type Nonce: AsRef<[u8]>; typedef
79 type Nonce: AsRef<[u8]>; typedef
86 type Nonce = [u8; 16]; typedef
97 type Nonce = [u8; 16]; typedef
108 type Nonce = [u8; 16]; typedef
119 type Nonce = [u8; 16]; typedef
139 fn new(key: &C::Key, iv: &C::Nonce, purpose: CipherInitPurpose) -> Self { in new()
Daes_ctr.rs25 type Nonce = [u8; 16]; typedef
43 type Nonce = [u8; 16]; typedef
Daes_cbc.rs28 type Nonce = [u8; 16]; typedef
54 type Nonce = [u8; 16]; typedef
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/cipher/
Dmod.rs42 type Nonce: AsRef<[u8]>; typedef
59 type Nonce: AsRef<[u8]>; typedef
81 type Nonce: AsRef<[u8]>; typedef
88 type Nonce = [u8; 16]; typedef
99 type Nonce = [u8; 16]; typedef
110 type Nonce = [u8; 16]; typedef
121 type Nonce = [u8; 16]; typedef
141 fn new(key: &C::Key, iv: &C::Nonce, purpose: CipherInitPurpose) -> Self { in new()
Daes_ctr.rs25 type Nonce = [u8; 16]; typedef
43 type Nonce = [u8; 16]; typedef
Daes_cbc.rs28 type Nonce = [u8; 16]; typedef
54 type Nonce = [u8; 16]; typedef
/external/boringssl/src/rust/bssl-crypto/src/
Daead.rs63 type Nonce: AsRef<[u8]>; typedef
68 fn seal(&self, nonce: &Self::Nonce, plaintext: &[u8], ad: &[u8]) -> Vec<u8>; in seal()
74 fn seal_in_place(&self, nonce: &Self::Nonce, plaintext: &mut [u8], ad: &[u8]) -> Self::Tag; in seal_in_place()
80 fn open(&self, nonce: &Self::Nonce, ciphertext: &[u8], ad: &[u8]) -> Option<Vec<u8>>; in open()
87 nonce: &Self::Nonce, in open_in_place()
290 A: Aead<Nonce = [u8; NONCE_LEN], Tag = [u8; TAG_LEN]>, in check_aead_invariants()
365 F: Fn(&[u8; KEY_LEN]) -> Box<dyn Aead<Nonce = [u8; NONCE_LEN], Tag = [u8; TAG_LEN]>>, in check_test_cases()
/external/rust/beto-rust/nearby/crypto/crypto_provider/src/
Daead.rs50 type Nonce: AsRef<[u8]>; typedef
67 nonce: &Self::Nonce, in encrypt_detached()
83 nonce: &Self::Nonce, in decrypt_detached()
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/aead/
Daes_gcm.rs53 type Nonce = [u8; 12]; typedef
67 nonce: &Self::Nonce, in encrypt_detached()
86 nonce: &Self::Nonce, in decrypt_detached()
Daes_gcm_siv.rs53 type Nonce = [u8; 12]; typedef
67 nonce: &Self::Nonce, in encrypt_detached()
86 nonce: &Self::Nonce, in decrypt_detached()
/external/rust/crates/ring/tests/
Daead_tests.rs145 Seal: FnOnce(aead::Nonce, &mut Vec<u8>) -> Result<(), error::Unspecified>, in test_seal_append_tag()
163 Seal: Fn(aead::Nonce, &mut [u8]) -> Result<aead::Tag, error::Unspecified>, in test_seal_separate_tag()
179 for<'a> FnOnce(aead::Nonce, &'a mut [u8]) -> Result<&'a mut [u8], error::Unspecified>, in test_open_in_place()
198 OpenWithin: for<'a> Fn( in test_open_within()
519 nonce: aead::Nonce, in make_key()
542 fn advance(&mut self) -> Result<aead::Nonce, error::Unspecified> { in advance()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPassManagerInternal.h125 template <typename T> struct Nonce { using Type = EnabledType; }; struct
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_connections/src/
Dcrypto_utils.rs50 nonce: &A::Nonce, in encrypt_gcm_siv()
64 nonce: &A::Nonce, in decrypt_gcm_siv()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
DPassManagerInternal.h157 template <typename T> struct Nonce { using Type = EnabledType; }; argument
/external/cronet/url/
Dorigin.cc423 Origin::Nonce::Nonce(const base::UnguessableToken& token) : token_(token) { in Nonce() function in url::Origin::Nonce
441 Origin::Nonce::Nonce(const Origin::Nonce& other) : token_(other.token()) {} in Nonce() function in url::Origin::Nonce
450 Origin::Nonce::Nonce(Origin::Nonce&& other) noexcept : token_(other.token_) { in Nonce() function in url::Origin::Nonce
/external/rust/beto-rust/nearby/presence/np_adv/src/credential/metadata/
Dmod.rs70 nonce: <C::Aes128Gcm as Aead>::Nonce, in decrypt_metadata_with_nonce()
/external/rust/beto-rust/nearby/crypto/crypto_provider_stubs/src/
Dlib.rs360 type Nonce = [u8; 12]; typedef
371 nonce: &Self::Nonce, in encrypt_detached()
384 nonce: &Self::Nonce, in decrypt_detached()
437 type Nonce = [u8; 12]; typedef
448 nonce: &Self::Nonce, in encrypt_detached()
461 nonce: &Self::Nonce, in decrypt_detached()
/external/rust/beto-rust/nearby/presence/np_adv/src/credential/
Dmod.rs86 ) -> <C::Aes128Gcm as Aead>::Nonce; in metadata_nonce_from_key_seed()
/external/rust/beto-rust/nearby/presence/np_hkdf/src/
Dlib.rs115 pub fn v0_metadata_nonce(&self) -> <C::Aes128Gcm as Aead>::Nonce { in v0_metadata_nonce()
123 pub fn v1_metadata_nonce(&self) -> <C::Aes128Gcm as Aead>::Nonce { in v1_metadata_nonce()

12