Derive Clone for AeCiphertext (#23293)

This commit is contained in:
Michael Vines
2022-02-22 23:47:26 -07:00
committed by GitHub
parent 0a3a18744f
commit 6872fc79ba

View File

@ -97,7 +97,7 @@ pub type Nonce = [u8; 12];
pub type Ciphertext = [u8; 24];
/// Authenticated encryption nonce and ciphertext
#[derive(Debug, Default)]
#[derive(Debug, Default, Clone)]
pub struct AeCiphertext {
pub nonce: Nonce,
pub ciphertext: Ciphertext,