Skip to content

Commit

Permalink
Restore visibility for AEAD_TAG_SIZE const
Browse files Browse the repository at this point in the history
  • Loading branch information
dmidem committed Aug 13, 2024
1 parent 663a2e5 commit fc56deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fc56deb

Please sign in to comment.