Skip to content
Commit 7302533a authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

[CRYPTO] api: Require block size to be less than PAGE_SIZE/8



The cipher code path may allocate up to two blocks of data on the stack.
Therefore we need to place limits on the maximum block size.

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