Home
last modified time | relevance | path

Searched refs:seal (Results 1 – 3 of 3) sorted by relevance

/rust/bssl-crypto/src/
A Dmacros.rs140 fn seal(&self, nonce: &Self::Nonce, plaintext: &[u8], ad: &[u8]) -> Vec<u8> {
141 self.0.seal(nonce, plaintext, ad)
A Daead.rs67 fn seal(&self, nonce: &Self::Nonce, plaintext: &[u8], ad: &[u8]) -> Vec<u8>; in seal() method
137 fn seal(&self, nonce: &[u8; NONCE_LEN], plaintext: &[u8], ad: &[u8]) -> Vec<u8> { in seal() method
297 let mut ciphertext = aead.seal(&nonce, plaintext, ad);
371 let ciphertext = ctx.seal(&test.nonce, test.msg.as_slice(), test.ad.as_slice());
A Dhpke.rs310 pub fn seal(&mut self, plaintext: &[u8], aad: &[u8]) -> Vec<u8> { in seal() method
576 .open(send_ctx.seal(plaintext, aad).as_ref(), aad) in all_algorithms()
582 .open(send_ctx.seal(plaintext, aad).as_ref(), aad) in all_algorithms()
661 let ciphertext = ctx.seal(&test.plaintext, &test.associated_data); in seal_with_vector()

Completed in 19 milliseconds