From: Kim Phillips Subject: Re: [PATCH] Revert "crypto: caam - add IPsec ESN support" Date: Wed, 20 Mar 2013 18:46:52 -0500 Message-ID: <20130320184652.08baaf2c8cd50e759a15a153@freescale.com> References: <1363789918-15334-1-git-send-email-horia.geanta@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: , Herbert Xu , Chaoxing Lin , Steffen Klassert , To: Horia Geanta Return-path: Received: from [213.199.154.206] ([213.199.154.206]:8302 "EHLO am1outboundpool.messaging.microsoft.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752260Ab3CTXvI (ORCPT ); Wed, 20 Mar 2013 19:51:08 -0400 In-Reply-To: <1363789918-15334-1-git-send-email-horia.geanta@freescale.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Wed, 20 Mar 2013 16:31:58 +0200 Horia Geanta wrote: > 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: # 3.8, 3.7 > Reported-by: Chaoxing Lin > Signed-off-by: Horia Geanta > --- Reviewed-by: Kim Phillips Kim