[CRYPTO] padlock: Fix spurious ECB page fault
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Dec 2007 00:05:46 +0000 (11:05 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Dec 2007 00:05:46 +0000 (11:05 +1100)
commitd4a7dd8e637b322faaa934ffcd6dd07711af831f
treedf36c0ce7c538f34dd8f1a0fb183ee2dcc8c73c6
parent38cb2419f544ad413c7f7aa8c17fd7377610cdd8
[CRYPTO] padlock: Fix spurious ECB page fault

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: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-aes.c