[Cryptech Tech] Specifications and test vectors for RSA
    Leif Johansson 
    leifj at sunet.se
       
    Fri Dec  5 12:14:20 UTC 2014
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/05/2014 12:18 PM, Joachim Strömbergson wrote:
> Aloha!
> 
> Rob Austein wrote:
>> Also, Joachim sends a plea for test vectors, which he has not
>> been able to find.   Given the part of RSA that he thinks he's
>> doing, this means: please supply sample input to the RSA process
>> with padding already done, along with the corresponding expected
>> output for a supplied RSA keypair.   Plan is to collect a few of
>> these, put them up for scrutiny to make sure we believe that
>> they're correct, then use them as test vectors for the Verilog
>> code.
> 
> Yes, that would be very helpful. And if possible for 1024, 2048,
> 4096 and possible even 8192 keys.
> 
> Basically:
> 
> Message (M)  = 0x... Exponent (e) = 0x... Modulus (n)  = 0x... 
> Expected     = 0x...
> 
> Thanks for any help.
There is a nice pure-python library that I use in pyXMLSecurity [1]
that should be able to generate those
https://github.com/leifj/pyXMLSecurity/tree/master/src/xmlsec/rsa_x509_pem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlSBoZkACgkQ8Jx8FtbMZnchHgCfTpy8ab6z/4367eo2eytVxpfo
mD0An3Nz3YjRxPBri+sslMn3cvbHBYr/
=sVdr
-----END PGP SIGNATURE-----
    
    
More information about the Tech
mailing list