Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/aead/
Dless_safe_key.rs52 nonce: Nonce, in open_in_place_separate_tag()
72 nonce: Nonce, in open_in_place()
89 nonce: Nonce, in open_within()
117 nonce: Nonce, in seal_in_place_append_tag()
136 nonce: Nonce, in seal_in_place_separate_tag()
165 nonce: Nonce, in open_within_()
196 nonce: Nonce, in seal_in_place_separate_tag_()
Dnonce.rs23 pub struct Nonce([u8; NONCE_LEN]); struct
25 impl Nonce { impl
44 impl AsRef<[u8; NONCE_LEN]> for Nonce { implementation
Dchacha20_poly1305.rs50 nonce: Nonce, in chacha20_poly1305_seal()
132 nonce: Nonce, in chacha20_poly1305_open()
Daes_gcm.rs69 fn aes_gcm_seal(key: &aead::KeyInner, nonce: Nonce, aad: Aad<&[u8]>, in_out: &mut [u8]) -> Tag { in aes_gcm_seal()
142 nonce: Nonce, in aes_gcm_open()
/aosp_15_r20/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/cipher/
H A 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()
H A Daes_ctr.rs25 type Nonce = [u8; 16]; typedef
43 type Nonce = [u8; 16]; typedef
/aosp_15_r20/external/boringssl/src/rust/bssl-crypto/src/cipher/
H A 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()
H A Daes_ctr.rs25 type Nonce = [u8; 16]; typedef
43 type Nonce = [u8; 16]; typedef
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/aead/
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()
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()
/aosp_15_r20/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
H A 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()
/aosp_15_r20/external/boringssl/src/rust/bssl-crypto/src/
H A 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()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/tests/
Daead_tests.rs144 Seal: FnOnce(aead::Nonce, &mut Vec<u8>) -> Result<(), error::Unspecified>, in test_seal_append_tag()
162 Seal: Fn(aead::Nonce, &mut [u8]) -> Result<aead::Tag, error::Unspecified>, in test_seal_separate_tag()
178 for<'a> FnOnce(aead::Nonce, &'a mut [u8]) -> Result<&'a mut [u8], error::Unspecified>, in test_open_in_place()
232 OpenWithin: for<'a> Fn( in test_open_within()
606 nonce: aead::Nonce, in make_key()
629 fn advance(&mut self) -> Result<aead::Nonce, error::Unspecified> { in advance()
/aosp_15_r20/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()
/aosp_15_r20/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()
/aosp_15_r20/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()
/aosp_15_r20/external/cronet/url/
H A Dorigin.cc432 Origin::Nonce::Nonce(const base::UnguessableToken& token) : token_(token) { in Nonce() function in url::Origin::Nonce
450 Origin::Nonce::Nonce(const Origin::Nonce& other) : token_(other.token()) {} in Nonce() function in url::Origin::Nonce
459 Origin::Nonce::Nonce(Origin::Nonce&& other) noexcept : token_(other.token_) { in Nonce() function in url::Origin::Nonce
/aosp_15_r20/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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DPassManagerInternal.h125 template <typename T> struct Nonce { using Type = EnabledType; }; argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/IR/
DPassManagerInternal.h158 template <typename T> struct Nonce { using Type = EnabledType; }; argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/IR/
DPassManagerInternal.h158 template <typename T> struct Nonce { using Type = EnabledType; }; argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/IR/
DPassManagerInternal.h157 template <typename T> struct Nonce { using Type = EnabledType; }; argument
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
H A DPassManagerInternal.h157 template <typename T> struct Nonce { using Type = EnabledType; }; argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/IR/
DPassManagerInternal.h158 template <typename T> struct Nonce { using Type = EnabledType; }; struct

123