[CRYPTO] seqiv: Add Sequence Number IV Generator
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Nov 2007 10:38:37 +0000 (21:38 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:48 +0000 (08:16 +1100)
commit0a270321dbf948963aeb0e8382fe17d2c2eb3771
treebdb6c12f88bd02b62853ff6bf26bf9d4a736fdbd
parent45d44eb56ad197cfccb8f84b5df64abff8b7cb96
[CRYPTO] seqiv: Add Sequence Number IV Generator

This generator generates an IV based on a sequence number by xoring it
with a salt.  This algorithm is mainly useful for CTR and similar modes.

This patch also sets it as the default IV generator for ctr.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/ctr.c
crypto/seqiv.c [new file with mode: 0644]