[4248] in cryptography@c2.net mail archive
Re: RSA Test
daemon@ATHENA.MIT.EDU (EKR)
Tue Mar 2 13:08:46 1999
To: Vin McLellan <vin@shore.net>
Cc: "Hani Almansour" <Almansour@bigfoot.com>, <cryptography@c2.net>,
<ukcrypto@maillist.ox.ac.uk>, <aucrypto@suburbia.net>
From: EKR <ekr@rtfm.com>
Date: 01 Mar 1999 23:28:52 -0800
In-Reply-To: Vin McLellan's message of "Tue, 2 Mar 1999 01:07:51 -0500"
Vin McLellan <vin@shore.net> writes:
> Hani Almansour <Almansour@bigfoot.com> queried the Listocracy:
>
> >I have implementation for RSA, SHA, MD5 and I want to test it. is there a
> >fast way to test the output of any one of these encryption or if there is a
> >program that test the output.
>
> Eric Rescorla <ekr@rtfm.com> and Jim Gillogly <jim@acm.org>
> referred Hani to SHA and MD5 test vectors in the respective standards.
>
> EKR's comments may have also left the unfortunate impression that
> there are no available tests for implementations of RSA public key
> cryptosystems. RSA itself is one source for such tests. See RSA's PKCS
> reference page at: <http://www.rsa.com/rsalabs/pubs/PKCS/>
There's more to correctly implementing RSA than simply
correctly implementing PKCS-1. Consequently, PKCS-1 test
vectors don't do the whole job.
The tricky bit is correctly generating the key. I don't know
of any test vectors for this, a la the test vectors in FIPS-186a
for DSS parameter and key generation.
-Ekr
--
[Eric Rescorla ekr@rtfm.com]