Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 823655c9 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d1ee1f02
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