8d26d03189
don't use unsigned long where 32bit unsigned variable is asked for. use u_int32_t. (not sure if uint32_t is better or not, but anyway, u_int32_t <-> uint32_t should not raise binary compatibility issue) PR10921. TODO: have arch-dependent Makefiles where we supply -DFOO for optimization. (do not change size of variable though) XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h, however, that needs a lot of work and will make future openssl upgrade harder. remove RC5 and IDEA by default. build them separately as libcrypto_{rc5,idea}.a. put dummy function, which is "warning to stderr and exit(1)". NOCRYPTO_{RC5,IDEA} are obsoleted. PR10883.
17 lines
466 B
PHP
17 lines
466 B
PHP
# $NetBSD: rc5.inc,v 1.4 2000/09/30 00:23:37 itojun Exp $
|
|
#
|
|
# @(#) Copyright (c) 1995 Simon J. Gerraty
|
|
#
|
|
# SRCS extracted from /users/itojun/NetBSD/basesrc/lib/libcrypto/../../crypto/dist/openssl/crypto/rc5/Makefile.ssl
|
|
#
|
|
|
|
.PATH: ${OPENSSLSRC}/crypto/rc5
|
|
|
|
CPPFLAGS+= -I${OPENSSLSRC}/crypto/rc5
|
|
|
|
SRCS+=rc5_ecb.c rc5cfb64.c rc5ofb64.c
|
|
# RC5 is a patented algorithm; abort().
|
|
# see ../libcrypto_rc5
|
|
SRCS+=rc5_skey_dummy.c rc5_enc_dummy.c
|
|
#SRCS+=rc5_skey.c rc5_enc.c
|