]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: padlock-aes - Use the correct mask when checking whether copying is required
authorChuck Ebbert <cebbert@redhat.com>
Tue, 3 Nov 2009 15:32:03 +0000 (10:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:22:35 +0000 (10:22 -0800)
commitc089a8dcd8a99f8c6505a539d45a754a9f84c9dd
tree331ade026903583c7442428962a6deb85ec6ffb0
parent4a72cdf3871e086db051c70ade06c0570ac4d5b5
crypto: padlock-aes - Use the correct mask when checking whether copying is required

commit e8edb3cbd7dd8acf6c748a02d06ec1d82c4124ea upstream.

Masking with PAGE_SIZE is just wrong...

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/crypto/padlock-aes.c