Subject: lib/28935: libcrypto does not use 64bit longs on 64 bit archs
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/11/2005 08:21:01
>Number:         28935
>Category:       lib
>Synopsis:       libcrypto does not use 64bit longs on 64 bit archs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 11 08:21:01 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 2.99.12
>Organization:
>Environment:
System: NetBSD sunny-weather.duskware.de 2.99.12 NetBSD 2.99.12 (SUNNY) #13: Wed Jan 5 15:29:26 CET 2005 martin@sunny-weather.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

While openssl can use 64bit longs on archs that have it (by defining 
SIXTY_FOUR_BIT and SIXTY_FOUR_BIT_LONG), it does apparently
not configure them for any NetBSD arch. The integrated version of openssl
does not support these defines at all, crypto/dist/openssl/crypto/bn/bn.h 
unconditionally undefines them.

>How-To-Repeat:
Code inspection - or run "openssl speed rsa" on NetBSD/alpha, sparc64 or amd64.

>Fix:
n/a