> Shouldn't this also get added to private_encrypt?
PKCS #1 doesn't define an OAEP signature mode yet. You can't
simply use the same function for signing.
There is an algorithm named PSS (which may be patent pending by the
University of Califoria) and other methods, but none is standardized
yet.
> > diff -u orig/rsa_enc.c ./rsa_enc.c
> > --- orig/rsa_enc.c Fri Feb 5 22:08:26 1999
> > +++ ./rsa_enc.c Fri Feb 5 22:14:20 1999
>
> Errr ... this file no longer exists...
Yup. I didn't check whether the file actually is being used until
after I sent the patch...
> We probably also need to do something about the license. For now,
> though, I've committed my somewhat doctored version...
As far as I'm concerned, do about the license whatever you want. I
don't place any restrictions on how the code is used.
The test vectors are from
http://www.rsa.com/rsalabs/pubs/PKCS/html/pkcs-1.html
Did you intentionally change the ERR_PACK arguments to all upper case?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]