Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1589590
| From | Stephan Müller <smueller@chronox.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Problem with RSA test from testmgr |
| Date | 2017-02-28 17:20 +0100 |
| Message-ID | <tfSFj-6Rj-3@gated-at.bofh.it> (permalink) |
| References | <tfSvD-6NI-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Am Dienstag, 28. Februar 2017, 16:59:53 CET schrieb Corentin Labbe: Hi Corentin, > hello > > I work on the sun8i-ce crypto accelerator and I have some problem with the > RSA part. > > The RSA register fail at the first RSA test (encrypt 512bit) with this > output: [ 8480.146843] alg: akcipher: encrypt test failed. Invalid output > [ 8480.146871] 00000000: 6e 7c 8a 75 e7 30 80 d1 5e ab 9b db a2 cf ed db > [ 8480.146897] 00000010: c9 b2 db 43 bd 9a b9 75 27 f3 73 d9 73 b7 81 8c > [ 8480.146921] 00000020: 49 e8 45 fc 43 44 f5 6d f0 f7 b8 f2 ae 6b ae 49 > [ 8480.146946] 00000030: 1b 8e 50 c6 88 4e 99 09 78 14 f2 5d 99 c3 7f f9 > [ 8480.146995] alg: akcipher: test 1 failed for rsa-sun8i-ce, err=-22 > > But with the same parameters (msg, n, e) openssl give me exactly this > output. > > So what I miss for made it work ? > In which format testmgr expect the output data ? The output should be simply the binary string from the modular exponentiation operation. What I am wondering is: the output logged above is not found in the expected values of testmgr.h. Which input data or test vectors do you use? Ciao Stephan
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problem with RSA test from testmgr Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-02-28 17:10 +0100
Re: Problem with RSA test from testmgr Stephan Müller <smueller@chronox.de> - 2017-02-28 17:20 +0100
Re: Problem with RSA test from testmgr Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-02-28 17:50 +0100
Re: Problem with RSA test from testmgr Stephan Müller <smueller@chronox.de> - 2017-02-28 23:40 +0100
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