[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5849240D.1000000@huawei.com>
Date: Thu, 8 Dec 2016 17:12:45 +0800
From: "Longpeng (Mike)" <longpeng2@...wei.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
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 2016/12/8 17:04, Herbert Xu wrote:
> 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,
Cool, thank you very much! :)
--
Regards,
Longpeng(Mike)
Powered by blists - more mailing lists