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


Groups > linux.kernel > #1591258

Re: Problem with RSA test from testmgr

From Tadeusz Struk <tadeusz.struk@intel.com>
Newsgroups linux.kernel
Subject Re: Problem with RSA test from testmgr
Date 2017-03-02 17:30 +0100
Message-ID <tgBM5-4Vc-1@gated-at.bofh.it> (permalink)
References <tfSvD-6NI-3@gated-at.bofh.it> <tgbeW-2ST-5@gated-at.bofh.it> <tgovw-3Ky-13@gated-at.bofh.it> <tgsz7-6IB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

Re: Problem with RSA test from testmgr Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-01 13:10 +0100
  Re: Problem with RSA test from testmgr Stephan Müller <smueller@chronox.de> - 2017-03-01 16:10 +0100
    Re: Problem with RSA test from testmgr Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-03-02 07:40 +0100
      Re: Problem with RSA test from testmgr Tadeusz Struk <tadeusz.struk@intel.com> - 2017-03-02 17:40 +0100
  Re: Problem with RSA test from testmgr Tadeusz Struk <tadeusz.struk@intel.com> - 2017-03-02 03:20 +0100
    Re: Problem with RSA test from testmgr Stephan Müller <smueller@chronox.de> - 2017-03-02 07:40 +0100
      Re: Problem with RSA test from testmgr Tadeusz Struk <tadeusz.struk@intel.com> - 2017-03-02 17:30 +0100

csiph-web