From fc56deb0369e91d0c1887851fc92e9abcbd1105c Mon Sep 17 00:00:00 2001 From: Dmitry Demin Date: Tue, 13 Aug 2024 11:25:54 +0200 Subject: [PATCH] Restore visibility for AEAD_TAG_SIZE const --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3e28501..4bc6705 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -47,7 +47,7 @@ use note_bytes::NoteBytes; /// The size of [`OutPlaintextBytes`]. pub const OUT_PLAINTEXT_SIZE: usize = 32 + // pk_d 32; // esk -const AEAD_TAG_SIZE: usize = 16; +pub const AEAD_TAG_SIZE: usize = 16; /// The size of an encrypted outgoing plaintext. pub const OUT_CIPHERTEXT_SIZE: usize = OUT_PLAINTEXT_SIZE + AEAD_TAG_SIZE;