Skip to content

Commit d6d6a04

Browse files
committed
fix aes hazmat
1 parent 4eb4bde commit d6d6a04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aes/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,5 @@ pub use cipher::{self, BlockCipher, BlockDecrypt, BlockEncrypt, Key, KeyInit};
129129

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

0 commit comments

Comments
 (0)