lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ