summaryrefslogtreecommitdiffstats
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorHerbert Xu2007-11-20 10:49:49 +0100
committerHerbert Xu2008-01-10 22:16:19 +0100
commitd0b9007a27206fe944d9db72e13dab157b8e118c (patch)
tree24c09a9f79698b5a63ca61545b04f10d19623d75 /crypto/ctr.c
parent[CRYPTO] cbc: Require block size to be a power of 2 (diff)
downloadkernel-qcow2-linux-d0b9007a27206fe944d9db72e13dab157b8e118c.tar.gz
kernel-qcow2-linux-d0b9007a27206fe944d9db72e13dab157b8e118c.tar.xz
kernel-qcow2-linux-d0b9007a27206fe944d9db72e13dab157b8e118c.zip
[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>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions