From 84e56fbd4412385eafc854eca6b7f397dab2ad02 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 31 May 2020 12:29:51 -0700 Subject: [PATCH] aead: fix Tag params --- aead/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aead/src/lib.rs b/aead/src/lib.rs index aaf7c9ff..1f33c5bf 100644 --- a/aead/src/lib.rs +++ b/aead/src/lib.rs @@ -261,7 +261,7 @@ pub trait AeadInPlace { nonce: &Nonce, associated_data: &[u8], buffer: &mut [u8], - tag: &Tag, + tag: &Tag, ) -> Result<(), Error>; } @@ -329,7 +329,7 @@ pub trait AeadMutInPlace { nonce: &Nonce, associated_data: &[u8], buffer: &mut [u8], - tag: &Tag, + tag: &Tag, ) -> Result<(), Error>; } @@ -430,7 +430,7 @@ impl AeadMutInPlace for Alg { nonce: &Nonce, associated_data: &[u8], buffer: &mut [u8], - tag: &Tag, + tag: &Tag, ) -> Result<(), Error> { ::decrypt_in_place_detached(self, nonce, associated_data, buffer, tag) }