Commit 440f51af authored by Herbert Xu's avatar Herbert Xu Committed by Greg Kroah-Hartman
Browse files

CRYPTO: padlock: Fix spurious ECB page fault



[CRYPTO] padlock: Fix spurious ECB page fault

[ Upstream commit: d4a7dd8e ]
[ Upstream commit: 490fe3f0 ]

The xcryptecb instruction always processes an even number of blocks so
we need to ensure th existence of an extra block if we have to process
an odd number of blocks.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5a75ac5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment