]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: echainiv - Stop using cryptoff
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 23 May 2015 07:41:54 +0000 (15:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 May 2015 10:41:31 +0000 (18:41 +0800)
commit89c4870346ab4240975c74f6ec60990974892196
tree92080c5c12a449773aa4a43993cde11617dea772
parentb8d573e7e41f0a92da4b187efe08a0b11f09b372
crypto: echainiv - Stop using cryptoff

The cryptoff parameter was added to facilitate the skipping of
IVs that sit between the AD and the plain/cipher text.  However,
it was never implemented correctly as and we do not handle users
such as IPsec setting cryptoff.  It is simply ignored.

Implementing correctly is in fact more trouble than what it's
worth.

This patch removes the uses of cryptoff and simply falls back
to using the old AEAD interface as it's only needed for old AEAD
implementations.

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