]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] blkcipher: Added blkcipher_walk_virt_block
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Oct 2007 07:24:05 +0000 (15:24 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:48 +0000 (16:55 -0700)
commit7976995e9cb65d66ed13dfb25b025571a653bf3d
treef714390d344511d65f7b866857102fbeb1d13741
parent88148a6a534b9d254063f87342d43c99dab810ee
[CRYPTO] blkcipher: Added blkcipher_walk_virt_block

This patch adds the helper blkcipher_walk_virt_block which is similar to
blkcipher_walk_virt but uses a supplied block size instead of the block
size of the block cipher.  This is useful for CTR where the block size is
1 but we still want to walk by the block size of the underlying cipher.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/blkcipher.c
include/crypto/algapi.h