• Herbert Xu's avatar
    crypto: echainiv - Stop using cryptoff · 823655c9
    Herbert Xu authored
    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
    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
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
echainiv.c 13.1 KB