Hi,

It appears that the code in engines/e_aep.c has an "#ifdef SIXTY_FOUR_BIT_LONG" to decide on things like BigNumSize (right shift by 3 or by 2, etc.).

However, there is also the macro SIXTY_FOUR_BIT, which is another way to change BN_BYTES to 8 instead of 4. Should the #ifdefs in engines/e_aep.c be checking both SIXTY_FOUR_BIT_LONG and SIXTY_FOUR_BIT?

I've just started looking at the code so could be very wrong =)

The reason I started looking into this, is that I have a target which is ILP32, but does actually support 64-bit loads/stores and arithmetic. So, I wanted to use the SIXTY_FOUR_BIT configuration for better performance.


Here's a diff for changing e_aep.c:

If we are to do something about e_aep.c, then I'd be something #ifdef-free like http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=e6e29bc4c94a40cdf010f47591e5ee9d5f9efadc
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to