commit | 7607bd8ff03b8af5af887931318cb2bb20361856 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 04 15:24:05 2007 +0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:55:48 2007 -0700 |
tree | f714390d344511d65f7b866857102fbeb1d13741 | |
parent | 2614de1b9af5a9e49cda64b394e1348159565bd5 [diff] |
[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>