crypto: seqiv - Add seqniv
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 May 2015 07:11:14 +0000 (15:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2015 03:25:56 +0000 (11:25 +0800)
commit3c08fee7b5ce471a7114478ac8c6e546787bd8c2
treeaf572616f55362927208154e6b786d144b853a1e
parent856e3f4092cfd9ea6d6564e73f5bce5a0ac3cae3
crypto: seqiv - Add seqniv

This patch adds a new IV generator seqniv which is identical to
seqiv except that it skips the IV when authenticating.  This is
intended to be used by algorithms such as rfc4106 that does the
IV authentication implicitly.

Note that the code used for seqniv is in fact identical to the
compatibility case for seqiv.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/seqiv.c