1 # $NetBSD: Makefile,v 1.16 2007/05/28 12:06:18 tls Exp $
5 USE_FORT?
= yes
# cryptographic software
8 SRCS
= ocbc_cksm.c ocbc_enc.c ocfb64ede.c ocfb64enc.c ocfb_enc.c \
9 odes_enc.c oecb3_enc.c oecb_enc.c oede_cbcm_enc.c oenc_read.c \
10 oenc_writ.c ofcrypt.c ofcrypt_b.c oofb64ede.c oofb64enc.c \
11 oofb_enc.c opcbc_enc.c oqud_cksm.c orand_key.c oread2pwd.c \
12 oread_pwd.c orpc_enc.c oset_key.c ostr2key.c oxcbc_enc.c
17 CPPFLAGS
+=-DOPENSSL_VERSION_PTEXT
="\" based on OpenSSL 0.9.6j 10 Apr 2003\""
18 CPPFLAGS
+=-DOPENSSL_cleanse
=bzero
-DOPENSSL_malloc
=malloc
23 # pod2man --section=3 --center=libdes --release=0.9.6j des.pod > des.3
24 # pod2man --section=7 --center=libdes --release=0.9.6j des_modes.pod > des_modes.7
25 MAN
= des
.3 des_modes
.7
27 MLINKS
+=des
.3 des_cbc_cksum
.3 \
28 des
.3 des_cfb64_encrypt
.3 \
29 des
.3 des_cfb_encrypt
.3 \
31 des
.3 des_ecb2_encrypt
.3 \
32 des
.3 des_ecb3_encrypt
.3 \
33 des
.3 des_ecb_encrypt
.3 \
34 des
.3 des_ede2_cbc_encrypt
.3 \
35 des
.3 des_ede2_cfb64_encrypt
.3 \
36 des
.3 des_ede2_ofb64_encrypt
.3 \
37 des
.3 des_ede3_cbc_encrypt
.3 \
38 des
.3 des_ede3_cbcm_encrypt
.3 \
39 des
.3 des_ede3_cfb64_encrypt
.3 \
40 des
.3 des_ede3_ofb64_encrypt
.3 \
41 des
.3 des_enc_read
.3 \
42 des
.3 des_enc_write
.3 \
44 des
.3 des_is_weak_key
.3 \
45 des
.3 des_key_sched
.3 \
46 des
.3 des_ncbc_encrypt
.3 \
47 des
.3 des_ofb64_encrypt
.3 \
48 des
.3 des_ofb_encrypt
.3 \
49 des
.3 des_pcbc_encrypt
.3 \
50 des
.3 des_quad_cksum
.3 \
51 des
.3 des_random_key
.3 \
52 des
.3 des_read_2passwords
.3 \
53 des
.3 des_read_password
.3 \
54 des
.3 des_read_pw_string
.3 \
56 des
.3 des_set_key_checked
.3 \
57 des
.3 des_set_key_unchecked
.3 \
58 des
.3 des_set_odd_parity
.3 \
59 des
.3 des_string_to_2keys
.3 \
60 des
.3 des_string_to_key
.3 \
61 des
.3 des_xcbc_encrypt
.3