I started to look over hw_cswift.c to get some idea of
what I'll need to do for our engine. I got flummoxed
right away by this comment inside ENGINE_cswift() -
/* We know that the "PKCS1_SSLeay()" functions hook properly
* to the cswift-specific mod_exp and mod_exp_crt so we use
* those functions. ...
*/
Just what does that mean? I couldn't find any references
to the cryptoswift card elsewhere. I've seen some
conditional compiles for atalla (which presumably
pre-dated the ENGINE stuff). How *do* the PCKS1_SSLeay
functions hook to the cswift-specific mod_exp?
The hw_ncipher() module had the exact same comment
referring to cswift, and the atalla module had the
same comment except that it said "atalla" instead
of "cswift".
Also, I'm having difficulty seeing the path from the
higher-level caller of, say, modexp down through
to the engine methods contained in the engine-specific
ENGINE structure. And I'm not too clear on how the
(RSA|DSA|DH)_METHODs defined in the hardware
are connected in either... Oh, I'll figure it all out
eventually - but if someone could provide a simple
summary of how the ENGINE maths supplant the
built-in software maths routines, and provide a few
hints on how it all hangs together, I'd be quite happy...
((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
Tom Biggs
'89 FJ1200 DoD #1146
"The whole aim of practical politics is to keep the populace alarmed -
and hence clamorous to be led to safety - by menacing it with an endless
series of hobgoblins, all of them imaginary." -- H.L. Mencken
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]