[CRYPTO] pcbc: Use crypto_xor
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Nov 2007 09:49:49 +0000 (17:49 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:19 +0000 (08:16 +1100)
commitd0b9007a27206fe944d9db72e13dab157b8e118c
tree24c09a9f79698b5a63ca61545b04f10d19623d75
parent50b6544e1371bfe884f787107a8de0c2f8546e8f
[CRYPTO] pcbc: Use crypto_xor

This patch replaces the custom xor in CBC with the generic crypto_xor.

It changes the operations for in-place encryption slightly to avoid
calling crypto_xor with tmpbuf since it is not necessarily aligned.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/pcbc.c