mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Longpeng (Mike)" <longpeng2@huawei.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: <jussi.kivilinna@iki.fi>, <jussi.kivilinna@haltian.com>,
	Gonglei <arei.gonglei@huawei.com>,
	"Zhoujian (jay, Euler)" <jianjay.zhou@huawei.com>,
	"Wubin (H)" <wu.wubin@huawei.com>, <linux-kernel@vger.kernel.org>
Subject: Re: Question about ctr mode 3des-ede IV len
Date: Thu, 8 Dec 2016 17:12:45 +0800	[thread overview]
Message-ID: <5849240D.1000000@huawei.com> (raw)
In-Reply-To: <20161208090415.GA22932@gondor.apana.org.au>



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)

      reply	other threads:[~2016-12-08  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07 12:43 Longpeng (Mike)
2016-12-07 13:15 ` Jussi Kivilinna
2016-12-08 11:29   ` Longpeng (Mike)
2016-12-08  9:04 ` Herbert Xu
2016-12-08  9:12   ` Longpeng (Mike) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5849240D.1000000@huawei.com \
    --to=longpeng2@huawei.com \
    --cc=arei.gonglei@huawei.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jianjay.zhou@huawei.com \
    --cc=jussi.kivilinna@haltian.com \
    --cc=jussi.kivilinna@iki.fi \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wu.wubin@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome