Skip to content

Commit

Permalink
fix sse2 cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
nstilt1 committed Dec 6, 2023
1 parent ac69c95 commit 565260f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chacha20/src/backends/sse2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ struct Backend<R: Rounds> {
v: [__m128i; 4],
_pd: PhantomData<R>,
}

#[cfg(feature = "cipher")]
impl<R: Rounds> BlockSizeUser for Backend<R> {
type BlockSize = U64;
}

#[cfg(feature = "cipher")]
impl<R: Rounds> ParBlocksSizeUser for Backend<R> {
type ParBlocksSize = U1;
}
Expand Down

0 comments on commit 565260f

Please sign in to comment.