blob: d1c4605ea5d34ded1a516157cd242fdc86d15b43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
mydir=lib$(S)crypto$(S)krb
BUILDTOP=$(REL)..$(S)..$(S)..
LOCALINCLUDES = -I$(srcdir) -I$(srcdir)/../$(CRYPTO_IMPL)
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
DEFS=
##DOS##BUILDTOP = ..\..\..
##DOS##PREFIXDIR = krb
##DOS##OBJFILE = ..\$(OUTPRE)krb.lst
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
STLIBOBJS=\
aead.o \
block_size.o \
cf2.o \
checksum_cbc.o \
checksum_confounder.o \
checksum_dk_cmac.o \
checksum_dk_hmac.o \
checksum_hmac_md5.o \
checksum_unkeyed.o \
checksum_length.o \
cksumtype_to_string.o \
cksumtypes.o \
cmac.o \
coll_proof_cksum.o \
combine_keys.o \
crc32.o \
crypto_length.o \
crypto_libinit.o \
default_state.o \
decrypt.o \
decrypt_iov.o \
derive.o \
encrypt.o \
encrypt_iov.o \
encrypt_length.o \
enctype_util.o \
enc_dk_cmac.o \
enc_dk_hmac.o \
enc_old.o \
enc_raw.o \
enc_rc4.o \
etypes.o \
key.o \
keyblocks.o \
keyed_cksum.o \
keyed_checksum_types.o \
keylengths.o \
make_checksum.o \
make_checksum_iov.o \
make_random_key.o \
mandatory_sumtype.o \
nfold.o \
old_api_glue.o \
prf.o \
prf_cmac.o \
prf_des.o \
prf_dk.o \
prf_rc4.o \
prng.o \
prng_$(PRNG_ALG).o \
random_to_key.o \
s2k_des.o \
s2k_pbkdf2.o \
s2k_rc4.o \
state.o \
string_to_cksumtype.o \
string_to_key.o \
valid_cksumtype.o \
verify_checksum.o \
verify_checksum_iov.o
OBJS=\
$(OUTPRE)aead.$(OBJEXT) \
$(OUTPRE)block_size.$(OBJEXT) \
$(OUTPRE)cf2.$(OBJEXT) \
$(OUTPRE)checksum_length.$(OBJEXT) \
$(OUTPRE)cksumtype_to_string.$(OBJEXT) \
$(OUTPRE)cksumtypes.$(OBJEXT) \
$(OUTPRE)coll_proof_cksum.$(OBJEXT) \
$(OUTPRE)combine_keys.$(OBJEXT) \
$(OUTPRE)crc_32.$(OBJEXT) \
$(OUTPRE)crypto_length.$(OBJEXT) \
$(OUTPRE)crypto_libinit.$(OBJEXT) \
$(OUTPRE)default_state.$(OBJEXT) \
$(OUTPRE)decrypt.$(OBJEXT) \
$(OUTPRE)decrypt_iov.$(OBJEXT) \
$(OUTPRE)encrypt.$(OBJEXT) \
$(OUTPRE)encrypt_iov.$(OBJEXT) \
$(OUTPRE)encrypt_length.$(OBJEXT) \
$(OUTPRE)enctype_util.$(OBJEXT) \
$(OUTPRE)enc_dk_cmac.$(OBJEXT) \
$(OUTPRE)enc_dk_hmac.$(OBJEXT) \
$(OUTPRE)enc_old.$(OBJEXT) \
$(OUTPRE)enc_raw.$(OBJEXT) \
$(OUTPRE)enc_rc4.$(OBJEXT) \
$(OUTPRE)etypes.$(OBJEXT) \
$(OUTPRE)key.$(OBJEXT) \
$(OUTPRE)keyblocks.$(OBJEXT) \
$(OUTPRE)keyed_cksum.$(OBJEXT) \
$(OUTPRE)keyed_checksum_types.$(OBJEXT) \
$(OUTPRE)keylengths.$(OBJEXT) \
$(OUTPRE)make_checksum.$(OBJEXT) \
$(OUTPRE)make_checksum_iov.$(OBJEXT) \
$(OUTPRE)make_random_key.$(OBJEXT) \
$(OUTPRE)mandatory_sumtype.$(OBJEXT) \
$(OUTPRE)nfold.$(OBJEXT) \
$(OUTPRE)old_api_glue.$(OBJEXT) \
$(OUTPRE)prf.$(OBJEXT) \
$(OUTPRE)prf_cmac.$(OBJEXT) \
$(OUTPRE)prf_des.$(OBJEXT) \
$(OUTPRE)prf_dk.$(OBJEXT) \
$(OUTPRE)prf_rc4.$(OBJEXT) \
$(OUTPRE)prng.$(OBJEXT) \
$(OUTPRE)prng_$(PRNG_ALG).$(OBJEXT) \
$(OUTPRE)random_to_key.$(OBJEXT) \
$(OUTPRE)s2k_des.$(OBJEXT) \
$(OUTPRE)s2k_pbkdf2.$(OBJEXT) \
$(OUTPRE)s2k_rc4.$(OBJEXT) \
$(OUTPRE)state.$(OBJEXT) \
$(OUTPRE)string_to_cksumtype.$(OBJEXT) \
$(OUTPRE)string_to_key.$(OBJEXT) \
$(OUTPRE)valid_cksumtype.$(OBJEXT) \
$(OUTPRE)verify_checksum.$(OBJEXT) \
$(OUTPRE)verify_checksum_iov.$(OBJEXT)
SRCS=\
$(srcdir)/aead.c \
$(srcdir)/block_size.c \
$(srcdir)/checksum_length.c \
$(srcdir)/cksumtype_to_string.c \
$(srcdir)/cksumtypes.c \
$(srcdir)/coll_proof_cksum.c \
$(srcdir)/combine_keys.c \
$(srcdir)/crc32.c \
$(srcdir)/crypto_length.c \
$(srcdir)/crypto_libinit.c \
$(srcdir)/default_state.c \
$(srcdir)/decrypt.c \
$(srcdir)/decrypt_iov.c \
$(srcdir)/encrypt.c \
$(srcdir)/encrypt_iov.c \
$(srcdir)/encrypt_length.c \
$(srcdir)/enctype_util.c \
$(srcdir)/enc_dk_cmac.c \
$(srcdir)/enc_dk_hmac.c \
$(srcdir)/enc_old.c \
$(srcdir)/enc_raw.c \
$(srcdir)/enc_rc4.c \
$(srcdir)/etypes.c \
$(srcdir)/key.c \
$(srcdir)/keyblocks.c \
$(srcdir)/keyed_cksum.c \
$(srcdir)/keyed_checksum_types.c\
$(srcdir)/keylengths.c \
$(srcdir)/make_checksum.c \
$(srcdir)/make_checksum_iov.c \
$(srcdir)/make_random_key.c \
$(srcdir)/mandatory_sumtype.c \
$(srcdir)/nfold.c \
$(srcdir)/old_api_glue.c \
$(srcdir)/prf.c \
$(srcdir)/prf_cmac.c \
$(srcdir)/prf_des.c \
$(srcdir)/prf_dk.c \
$(srcdir)/prf_rc4.c \
$(srcdir)/prng.c \
$(srcdir)/prng_$(PRNG_ALG).c \
$(srcdir)/cf2.c \
$(srcdir)/random_to_key.c \
$(srcdir)/s2k_des.c \
$(srcdir)/s2k_pbkdf2.c \
$(srcdir)/s2k_rc4.c \
$(srcdir)/state.c \
$(srcdir)/string_to_cksumtype.c \
$(srcdir)/string_to_key.c \
$(srcdir)/t_fortuna.c \
$(srcdir)/valid_cksumtype.c \
$(srcdir)/verify_checksum.c \
$(srcdir)/verify_checksum_iov.c
##DOS##LIBOBJS = $(OBJS)
all-unix:: all-libobjs
includes:: depend
depend:: $(SRCS)
check-unix:: t_fortuna
if [ $(PRNG_ALG) = fortuna ]; then \
$(RUN_SETUP) $(VALGRIND) ./t_fortuna > t_fortuna.output; \
cmp t_fortuna.output $(srcdir)/t_fortuna.expected; \
fi
t_fortuna: t_fortuna.o $(SUPPORT_DEPLIB) $(CRYPTO_DEPLIB)
$(CC_LINK) -o t_fortuna t_fortuna.o $(K5CRYPTO_LIB) $(SUPPORT_LIB)
clean-unix:: clean-libobjs
@lib_frag@
@libobj_frag@
|