Skip to content

Commit eec09b6

Browse files
authored
aes-siv: remove siv::KeySize alias from public API (#701)
It's confusing, and end users should use `KeySizeUser`. Closes #700
1 parent 77d4c78 commit eec09b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aes-siv/src/siv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub const MAX_HEADERS: usize = 126;
9999
type Ctr128BE<C> = ctr::CtrCore<C, ctr::flavors::Ctr128BE>;
100100

101101
/// Size of an AES-SIV key given a particular cipher
102-
pub type KeySize<C> = <<C as KeySizeUser>::KeySize as Add>::Output;
102+
pub(crate) type KeySize<C> = <<C as KeySizeUser>::KeySize as Add>::Output;
103103

104104
/// Synthetic Initialization Vector (SIV) mode, providing misuse-resistant
105105
/// authenticated encryption (MRAE).

0 commit comments

Comments
 (0)