Skip to content
Commit a10f554f authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: echainiv - Add encrypted chain IV generator



This patch adds a new AEAD IV generator echainiv.  It is intended
to replace the existing skcipher IV generator eseqiv.

If the underlying AEAD algorithm is using the old AEAD interface,
then echainiv will simply use its IV generator.

Otherwise, echainiv will encrypt a counter just like eseqiv but
it'll first xor it against a previously stored IV similar to
chainiv.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3c08fee7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment