Re: Signature and ENGINE

2002-10-02 Thread Richard Levitte - VMS Whacker

In message <[EMAIL PROTECTED]> on Wed, 02 Oct 2002 15:27:57 +0200, 
Michiels Olivier <[EMAIL PROTECTED]> said:

olivier.michiels> I'm curious to know how can I sign something using
olivier.michiels> an ENGINE.  When I'm looking in the x509.c code, I
olivier.michiels> see the setup_engine function but the variable 'e'
olivier.michiels> is not used in the rest of the code, is it normal ?
olivier.michiels> Why initialize an ENGINE to not using it ?

When you initilize an engine, it hooks in it's own routines for
assymetric and symmetric algorithms that it has available.  After
that, whenever you do an operation that uses one of those algorithms,
the encryption/decryption(/signing/verification) calls are redirected
to the engine you selected, and thereby to your hardware.

There's nothing explicit for you to do there...

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
\  SWEDEN   \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See  for more info.

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Signature and ENGINE

2002-10-02 Thread Michiels Olivier

Hi everybody,
I'm curious to know how can I sign something using an ENGINE.
When I'm looking in the x509.c code, I see the setup_engine function but 
the variable 'e' is not used in the rest of the code, is it normal ? Why 
initialize an ENGINE to not using it ?

Thanks,
Michiels Olivier

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]