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

2016-12-08 Thread Longpeng (Mike)
Hi Jussi, On 2016/12/7 21:15, Jussi Kivilinna wrote: > Hello, > > 07.12.2016, 14:43, Longpeng (Mike) kirjoitti: >> 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

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

2016-12-08 Thread Longpeng (Mike)
Hi Jussi, On 2016/12/7 21:15, Jussi Kivilinna wrote: > Hello, > > 07.12.2016, 14:43, Longpeng (Mike) kirjoitti: >> 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

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

2016-12-08 Thread Jussi Kivilinna
Hello, 07.12.2016, 14:43, Longpeng (Mike) kirjoitti: > 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 ? Because

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

2016-12-08 Thread Jussi Kivilinna
Hello, 07.12.2016, 14:43, Longpeng (Mike) kirjoitti: > 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 ? Because

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

2016-12-08 Thread Longpeng (Mike)
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

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

2016-12-08 Thread Longpeng (Mike)
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

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

2016-12-08 Thread Herbert Xu
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

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

2016-12-08 Thread Herbert Xu
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