Hi Dean,

[EMAIL PROTECTED] via RT wrote:
> i've added a second patch
> <http://arctic.org/~dean/crypto/openssl-0.9.8-CVS-bn-sse2-v2.patch> -- the
> second patch includes run-time detection of SSE2 and selects between two
> implementations of bn_mul_add_words so that it can be used in a general
> purpose distribution.
> 
> this one needs some attention by folks who know more about the internals
> of libcrypto than i do...  but i'd like to get run-time detection into
> place because i've got a SSE2 SHA1 implementation as well which i'd like
> to use this infrastructure.

Wouldn't it be better to include the call to the run-time detection
function in a global init function (like OpenSSL_add_all_algorithm)
instead of including it in BN_new & BN_init ?

Nils

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to