On Fri, Jul 18, 2003, Michiels Olivier wrote:

> The problem is I didn't implement the decrypt function in my ENGINE. The
> decrypt used is the one from openssl. Whe the s_server is able to
> decrypt the data and not my server ?
> 

I'm a little confused here. What is your setup? Are you using one of the
supplied OpenSSL ENGINEs or writing your own? Is the private key in software
or does it reside on the nCipher box?

The standard RSA decrypt routine wont work unless it has all the private key
components in the RSA structure. This typically wont be true for hardware
protected keys which will redirect the operation to the hardware by
customising some of the RSA operations.

Steve.
--
Dr Stephen N. Henson.
Core developer of the   OpenSSL project: http://www.openssl.org/
Freelance consultant see: http://www.drh-consultancy.demon.co.uk/
Email: [EMAIL PROTECTED], PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to