Searched refs:create_ciphertext (Results 1 – 3 of 3) sorted by relevance
/external/rust/android-crates-io/crates/coset/src/encrypt/ |
D | mod.rs | 151 pub fn create_ciphertext<F>( in create_ciphertext() method 298 pub fn create_ciphertext<F>(self, plaintext: &[u8], external_aad: &[u8], cipher: F) -> Self in create_ciphertext() method 426 pub fn create_ciphertext<F>(self, plaintext: &[u8], external_aad: &[u8], cipher: F) -> Self in create_ciphertext() method
|
D | tests.rs | 699 .create_ciphertext(*context, pt, external_aad, |pt, aad| { in test_cose_recipient_roundtrip() 826 .create_ciphertext( in test_cose_recipient_builder_invalid_context() 843 .create_ciphertext( in test_cose_recipient_decrypt_invalid_context() 869 .create_ciphertext(pt, external_aad, |pt, aad| cipher.encrypt(pt, aad).unwrap()) in test_cose_encrypt_roundtrip() 984 .create_ciphertext(pt, external_aad, |pt, aad| cipher.encrypt(pt, aad).unwrap()) in test_cose_encrypt0_roundtrip()
|
/external/rust/android-crates-io/crates/mls-rs/src/group/ |
D | mod.rs | 1120 MlsMessagePayload::Cipher(self.create_ciphertext(content).await?) in format_for_wire() 1155 async fn create_ciphertext( in create_ciphertext() function
|