commit | a10f554fa7e09ad236cfa0bdabaf6549c0b073a4 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 21 15:11:15 2015 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri May 22 11:25:56 2015 +0800 |
tree | ffa28aaa4a45cfafabe679a6219a11dd404037a9 | |
parent | 3c08fee7b5ce471a7114478ac8c6e546787bd8c2 [diff] |
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: Herbert Xu <herbert@gondor.apana.org.au>