Lines Matching defs:u8
108 external_aad: &[u8], in decrypt()
110 ) -> Result<Vec<u8>, E> in decrypt()
112 F: FnOnce(&[u8], &[u8]) -> Result<Vec<u8>, E>, in decrypt()
154 plaintext: &[u8], in create_ciphertext()
155 external_aad: &[u8], in create_ciphertext()
159 F: FnOnce(&[u8], &[u8]) -> Vec<u8>, in create_ciphertext()
175 plaintext: &[u8], in try_create_ciphertext()
176 external_aad: &[u8], in try_create_ciphertext()
180 F: FnOnce(&[u8], &[u8]) -> Result<Vec<u8>, E>, in try_create_ciphertext()
193 fn aad(&self, context: EncryptionContext, external_aad: &[u8]) -> Vec<u8> { in aad()
270 pub fn decrypt<F, E>(&self, external_aad: &[u8], cipher: F) -> Result<Vec<u8>, E> in decrypt()
272 F: FnOnce(&[u8], &[u8]) -> Result<Vec<u8>, E>, in decrypt()
298 pub fn create_ciphertext<F>(self, plaintext: &[u8], external_aad: &[u8], cipher: F) -> Self in create_ciphertext()
300 F: FnOnce(&[u8], &[u8]) -> Vec<u8>, in create_ciphertext()
315 plaintext: &[u8], in try_create_ciphertext()
316 external_aad: &[u8], in try_create_ciphertext()
320 F: FnOnce(&[u8], &[u8]) -> Result<Vec<u8>, E>, in try_create_ciphertext()
398 pub fn decrypt<F, E>(&self, external_aad: &[u8], cipher: F) -> Result<Vec<u8>, E> in decrypt()
400 F: FnOnce(&[u8], &[u8]) -> Result<Vec<u8>, E>, in decrypt()
426 pub fn create_ciphertext<F>(self, plaintext: &[u8], external_aad: &[u8], cipher: F) -> Self in create_ciphertext()
428 F: FnOnce(&[u8], &[u8]) -> Vec<u8>, in create_ciphertext()
443 plaintext: &[u8], in try_create_ciphertext()
444 external_aad: &[u8], in try_create_ciphertext()
448 F: FnOnce(&[u8], &[u8]) -> Result<Vec<u8>, E>, in try_create_ciphertext()
495 external_aad: &[u8], in enc_structure_data()
496 ) -> Vec<u8> { in enc_structure_data()