Skip to content
Commit 1b40efd7 authored by Herbert Xu's avatar Herbert Xu
Browse files

[CRYPTO] Check cra_alignmask against cra_blocksize



The cipher code relies on the fact that the block size is a multiple
of the required alignment.  So we should check this at the time of
algorith registration.  We also ensure that the block size is bounded
by the page size.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6df5b9f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment