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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,