Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cipher/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pub mod dev;
mod errors;

pub use errors::InvalidKeyLength;

// TODO(tarcieri): remove these re-exports in favor of the toplevel one
pub use generic_array::{self, typenum::consts};

use generic_array::{typenum::Unsigned, ArrayLength, GenericArray};
Expand Down
1 change: 1 addition & 0 deletions cipher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ pub use crate::{
block::{BlockCipher, BlockCipherMut, NewBlockCipher},
stream::{NewStreamCipher, StreamCipher, SyncStreamCipher, SyncStreamCipherSeek},
};
pub use generic_array::{self, typenum::consts};
2 changes: 2 additions & 0 deletions cipher/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ mod dev;
mod errors;

pub use errors::{InvalidKeyNonceLength, LoopError, OverflowError};

// TODO(tarcieri): remove these re-exports in favor of the toplevel one
pub use generic_array::{self, typenum::consts};

#[cfg(feature = "dev")]
Expand Down