Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538396

Re: Question about ctr mode 3des-ede IV len

From "Longpeng (Mike)" <longpeng2@huawei.com>
Newsgroups linux.kernel
Subject Re: Question about ctr mode 3des-ede IV len
Date 2016-12-08 10:20 +0100
Message-ID <sM31T-4kE-9@gated-at.bofh.it> (permalink)
References <sLJPz-a6-1@gated-at.bofh.it> <sM2Se-4hp-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Question about ctr mode 3des-ede IV len "Longpeng (Mike)" <longpeng2@huawei.com> - 2016-12-07 13:50 +0100
  Re: Question about ctr mode 3des-ede IV len Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-08 10:10 +0100
    Re: Question about ctr mode 3des-ede IV len "Longpeng (Mike)" <longpeng2@huawei.com> - 2016-12-08 10:20 +0100
  Re: Question about ctr mode 3des-ede IV len Jussi Kivilinna <jussi.kivilinna@iki.fi> - 2016-12-08 12:20 +0100
    Re: Question about ctr mode 3des-ede IV len "Longpeng (Mike)" <longpeng2@huawei.com> - 2016-12-08 12:40 +0100

csiph-web