Lines Matching refs:ciphertext
425 pub fn open(&mut self, ciphertext: &[u8], aad: &[u8]) -> Option<Vec<u8>> { in open()
426 let max_out_len = ciphertext.len(); in open()
438 ciphertext.as_ffi_ptr(), in open()
439 ciphertext.len(), in open()
491 ciphertext: [u8; 45], // ct field
509 …ciphertext: decode_hex("f938558b5d72f1a23810b4be2ab4f84331acc02fc97babc53a52ae8218a355a96d8770ac83… in x25519_hkdf_sha256_hkdf_sha256_aes_128_gcm()
528 …ciphertext: decode_hex("1c5250d8034ec2b784ba2cfd69dbdb8af406cfe3ff938e131f0def8c8b60b4db21993c62ce… in x25519_hkdf_sha256_hkdf_sha256_chacha20_poly1305()
547 …ciphertext: decode_hex("5ad590bb8baa577f8619db35a36311226a896e7342a6d836d8b7bcd2f20b6c7f9076ac232e… in p256_hkdf_sha256_hkdf_sha256_aes_128_gcm()
661 let ciphertext = ctx.seal(&test.plaintext, &test.associated_data); in seal_with_vector()
662 assert_eq!(&ciphertext, test.ciphertext.as_ref()); in seal_with_vector()
683 let plaintext = ctx.open(&test.ciphertext, &test.associated_data).unwrap(); in open_with_vector()