Skip to content

Commit

Permalink
fix aes hazmat
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Dec 18, 2021
1 parent 4eb4bde commit d6d6a04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,5 @@ pub use cipher::{self, BlockCipher, BlockDecrypt, BlockEncrypt, Key, KeyInit};

/// 128-bit AES block
pub type Block = GenericArray<u8, U16>;
#[cfg(feature = "hazmat")]
type Block8 = GenericArray<Block, cipher::generic_array::typenum::U8>;

0 comments on commit d6d6a04

Please sign in to comment.