]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit7607bd8ff03b8af5af887931318cb2bb20361856
treef714390d344511d65f7b866857102fbeb1d13741
parent2614de1b9af5a9e49cda64b394e1348159565bd5
[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