Skip to content

Commit

Permalink
Fix minor documentation error in AeadCore::TagSize (#1351)
Browse files Browse the repository at this point in the history
The documentation originally described TagSize as "the maximum length of the nonce" when it is, in fact, the maximum length of the tag.
  • Loading branch information
rlee287 authored Oct 3, 2023
1 parent aa21684 commit 5011178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aead/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub trait AeadCore {
/// The length of a nonce.
type NonceSize: ArrayLength<u8>;

/// The maximum length of the nonce.
/// The maximum length of the tag.
type TagSize: ArrayLength<u8>;

/// The upper bound amount of additional space required to support a
Expand Down

0 comments on commit 5011178

Please sign in to comment.