Skip to content

Commit d2a5812

Browse files
committed
Update to hybrid-array v0.4.3
1 parent a0ad1f4 commit d2a5812

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

block-padding/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ categories = ["cryptography", "no-std"]
1313
readme = "README.md"
1414

1515
[dependencies]
16-
hybrid-array = "0.4.2"
16+
hybrid-array = "0.4.3"

block-padding/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub trait Padding {
6565
/// Unpad data in the `blocks`.
6666
///
6767
/// Returns `Err(UnpadError)` if the block contains malformed padding.
68-
fn unpad_blocks<const N: usize, BlockSize: ArraySize<ArrayType<u8> = [u8; N]>>(
68+
fn unpad_blocks<BlockSize: ArraySize>(
6969
blocks: &[Array<u8, BlockSize>],
7070
) -> Result<&[u8], UnpadError> {
7171
let bs = BlockSize::USIZE;

0 commit comments

Comments
 (0)