[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161208090415.GA22932@gondor.apana.org.au>
Date: Thu, 8 Dec 2016 17:04:15 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: "Longpeng (Mike)" <longpeng2@...wei.com>
Cc: jussi.kivilinna@....fi, jussi.kivilinna@...tian.com,
Gonglei <arei.gonglei@...wei.com>,
"Zhoujian (jay, Euler)" <jianjay.zhou@...wei.com>,
"Wubin (H)" <wu.wubin@...wei.com>, linux-kernel@...r.kernel.org
Subject: Re: Question about ctr mode 3des-ede IV len
On Wed, Dec 07, 2016 at 08:43:16PM +0800, Longpeng (Mike) wrote:
> Hi Jussi and Herbert,
>
> I saw serveral des3-ede testcases(in crypto/testmgr.h) has 16-bytes IV, and the
> libgcrypt/nettle/RFC1851 said the IV-len is 8-bytes.
>
> Would you please tell me why these testcases has 16-bytes IV ?
I think they were automatically generated. Only the first eight
bytes are actually used so the IV size is still 8.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists