summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/compat.h
diff options
context:
space:
mode:
authorHoria Geanta <horia.geanta@freescale.com>2013-03-20 14:31:58 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2013-03-21 09:36:03 (GMT)
commit246bbedb9aaf27e2207501d93a869023a439fce5 (patch)
treec63c3a43a262f3bbb15dfe5696bd2a17bd03b610 /drivers/crypto/caam/compat.h
parent991155bacb91c988c45586525771758ddadd44ce (diff)
downloadlinux-246bbedb9aaf27e2207501d93a869023a439fce5.tar.xz
Revert "crypto: caam - add IPsec ESN support"
This reverts commit 891104ed008e8646c7860fe5bc70b0aac55dcc6c. Current IPsec ESN implementation for authencesn(cbc(aes), hmac(sha)) (separate encryption and integrity algorithms) does not conform to RFC4303. ICV is generated by hashing the sequence SPI, SeqNum-High, SeqNum-Low, IV, Payload instead of SPI, SeqNum-Low, IV, Payload, SeqNum-High. Cc: <stable@vger.kernel.org> # 3.8, 3.7 Reported-by: Chaoxing Lin <Chaoxing.Lin@ultra-3eti.com> Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Reviewed-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/compat.h')
-rw-r--r--drivers/crypto/caam/compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/caam/compat.h b/drivers/crypto/caam/compat.h
index cf15e78..762aeff 100644
--- a/drivers/crypto/caam/compat.h
+++ b/drivers/crypto/caam/compat.h
@@ -23,7 +23,6 @@
#include <linux/types.h>
#include <linux/debugfs.h>
#include <linux/circ_buf.h>
-#include <linux/string.h>
#include <net/xfrm.h>
#include <crypto/algapi.h>