Searched refs:Nonce (Results 1 – 5 of 5) sorted by relevance
| /rust/bssl-crypto/src/cipher/ |
| A D | mod.rs | 39 type Nonce: AsRef<[u8]>; typedef 42 fn new(key: &Self::Key, iv: &Self::Nonce) -> Self; in new() 56 type Nonce: AsRef<[u8]>; typedef 59 fn new_encrypt(key: &Self::Key, iv: &Self::Nonce) -> Self; in new_encrypt() 62 fn new_decrypt(key: &Self::Key, iv: &Self::Nonce) -> Self; in new_decrypt() 78 type Nonce: AsRef<[u8]>; typedef 85 type Nonce = [u8; 16]; typedef 96 type Nonce = [u8; 16]; typedef 107 type Nonce = [u8; 16]; typedef 118 type Nonce = [u8; 16]; typedef [all …]
|
| A D | aes_cbc.rs | 27 type Nonce = [u8; 16]; typedef 29 fn new_encrypt(key: &Self::Key, nonce: &Self::Nonce) -> Self { in new_encrypt() 33 fn new_decrypt(key: &Self::Key, nonce: &Self::Nonce) -> Self { in new_decrypt() 53 type Nonce = [u8; 16]; typedef 55 fn new_encrypt(key: &Self::Key, nonce: &Self::Nonce) -> Self { in new_encrypt() 59 fn new_decrypt(key: &Self::Key, nonce: &Self::Nonce) -> Self { in new_decrypt()
|
| A D | aes_ctr.rs | 24 type Nonce = [u8; 16]; typedef 27 fn new(key: &Self::Key, nonce: &Self::Nonce) -> Self { in new() 42 type Nonce = [u8; 16]; typedef 45 fn new(key: &Self::Key, nonce: &Self::Nonce) -> Self { in new()
|
| /rust/bssl-crypto/src/ |
| A D | macros.rs | 138 type Nonce = [u8; $nonce_len]; 140 fn seal(&self, nonce: &Self::Nonce, plaintext: &[u8], ad: &[u8]) -> Vec<u8> { 146 nonce: &Self::Nonce, 153 fn open(&self, nonce: &Self::Nonce, ciphertext: &[u8], ad: &[u8]) -> Option<Vec<u8>> { 159 nonce: &Self::Nonce,
|
| A D | aead.rs | 62 type Nonce: AsRef<[u8]>; typedef 67 fn seal(&self, nonce: &Self::Nonce, plaintext: &[u8], ad: &[u8]) -> Vec<u8>; in seal() argument 73 fn seal_in_place(&self, nonce: &Self::Nonce, plaintext: &mut [u8], ad: &[u8]) -> Self::Tag; in seal_in_place() argument 79 fn open(&self, nonce: &Self::Nonce, ciphertext: &[u8], ad: &[u8]) -> Option<Vec<u8>>; in open() argument 86 nonce: &Self::Nonce, in open_in_place() argument 289 A: Aead<Nonce = [u8; NONCE_LEN], Tag = [u8; TAG_LEN]>, in check_aead_invariants() argument 295 let nonce: A::Nonce = [0u8; NONCE_LEN]; 364 F: Fn(&[u8; KEY_LEN]) -> Box<dyn Aead<Nonce = [u8; NONCE_LEN], Tag = [u8; TAG_LEN]>>, in check_test_cases() argument
|
Completed in 24 milliseconds