Home
last modified time | relevance | path

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

/rust/bssl-crypto/src/
A Daead.rs79 fn open(&self, nonce: &Self::Nonce, ciphertext: &[u8], ad: &[u8]) -> Option<Vec<u8>>; in open() method
205 fn open(&self, nonce: &[u8; NONCE_LEN], ciphertext: &[u8], ad: &[u8]) -> Option<Vec<u8>> { in open() method
299 .open(&nonce, ciphertext.as_slice(), ad)
304 assert!(aead.open(&nonce, ciphertext.as_slice(), ad).is_none());
319 assert!(aead.open(&nonce, b"tooshort", b"").is_none());
375 .open(&test.nonce, ciphertext.as_slice(), test.ad.as_slice())
A Dmacros.rs153 fn open(&self, nonce: &Self::Nonce, ciphertext: &[u8], ad: &[u8]) -> Option<Vec<u8>> {
154 self.0.open(nonce, ciphertext, ad)
A Dhpke.rs425 pub fn open(&mut self, ciphertext: &[u8], aad: &[u8]) -> Option<Vec<u8>> { in open() 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()
585 assert!(recv_ctx.open(b"nonsense", aad).is_none()); in all_algorithms()
683 let plaintext = ctx.open(&test.ciphertext, &test.associated_data).unwrap(); in open_with_vector()

Completed in 12 milliseconds