From: Tadeusz Struk <tadeusz.struk@intel.com>
To: "Stephan Müller" <smueller@chronox.de>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>,
herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: Problem with RSA test from testmgr
Date: Thu, 2 Mar 2017 08:26:24 -0800 [thread overview]
Message-ID: <3cc00e47-6076-51db-06d0-771af799984a@intel.com> (raw)
In-Reply-To: <3589679.E0B746otbi@tauon.atsec.com>
Hi Stephan,
On 03/01/2017 10:08 PM, Stephan Müller wrote:
>> memset(ptextp, 0, 256);
>> memcpy(ptextp + 64 - 8, ptext_ex, plen);
> I actually have tested that and it did not return the data the kernel
> implementation would return
It did for me:
Result 64 plen=8
63 1c cd 7b e1 7e e4 de c9 a8 89 a1 74 cb 3c 63 7d 24 ec 83 c3 15 e4 7f 73 05 34 d1 ec 22 bb 8a 5e 32 39 6d c1 1d 7d 50 3b 9f 7a ad f0 2e 25 53 9f 6e bd 4c 55 84 0c 9b cf 1a 4b 51 1e 9e 0c 06
Are you sure you are compering this with the fist test vector?
http://lxr.free-electrons.com/source/crypto/testmgr.h#L183
Thanks,
--
Tadeusz
prev parent reply other threads:[~2017-03-02 16:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 15:59 Corentin Labbe
2017-02-28 16:08 ` Stephan Müller
2017-02-28 16:45 ` Corentin Labbe
2017-02-28 22:35 ` Stephan Müller
2017-03-01 12:04 ` Corentin Labbe
2017-03-01 15:07 ` Stephan Müller
2017-03-02 6:21 ` Corentin Labbe
2017-03-02 16:30 ` Tadeusz Struk
2017-03-02 2:15 ` Tadeusz Struk
2017-03-02 6:08 ` Stephan Müller
2017-03-02 16:26 ` Tadeusz Struk [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=3cc00e47-6076-51db-06d0-771af799984a@intel.com \
--to=tadeusz.struk@intel.com \
--cc=clabbe.montjoie@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=smueller@chronox.de \
/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
all inboxes | Powered by JetHome®