]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: authencesn - Fix breakage with new ESP code
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Aug 2015 08:00:04 +0000 (16:00 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Aug 2015 15:13:51 +0000 (23:13 +0800)
commit74e174942d8b98a20bf4e0683347c6e12956c209
treef814eb9c062fb4b682bca4e941613be59dae9fa9
parent39795b5d3ba570549a322f08777fc99d96a4b4d7
crypto: authencesn - Fix breakage with new ESP code

The ESP code has been updated to generate a completely linear
AD SG list.  This unfortunately broke authencesn which expects
the AD to be divided into at least three parts.

This patch fixes it to cope with the new format.  Later we will
fix it properly to accept arbitrary input and not rely on the
input being linear as part of the AEAD conversion.

Fixes: 6eb6b9db1248 ("esp4: Switch to new AEAD interface")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/authencesn.c