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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
|
1999-10-26 Tom Yu <tlyu@mit.edu>
* Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
LOCAL_INCLUDES such that one can override CFLAGS from the command
line without losing CPP search patchs and defines. Some associated
Makefile cleanup. [from wsanchez@apple.com]
Mon May 10 15:16:18 1999 Danilo Almeida <dalmeida@mit.edu>
* Makefile.in: Do win32 build in subdir.
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
relative to buildtop and thisconfigdir, respectively.)
Sun Jul 19 12:00:00 1998 Marc Horowitz <marc@mit.edu>
* *.c: replace the crypto layer.
Wed Feb 18 16:06:23 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
BUILDTOP for new conventions.
Fri Feb 13 15:20:54 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in (thisconfigdir), configure.in: Point the
configuration directory at our parent, and remove our
local configure.in
Mon Feb 2 17:02:29 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile
Thu Dec 25 20:57:53 1997 Tom Yu <chaoself@mit.edu>
* init_rkey.c (mit_des_init_random_key): Punt the struct; use
explicit variables instead because we're no longer doing a
memcpy. In addition, fill p_state->sequence.data a byte at a
time. [krb5-libs/492]
Mon Oct 27 01:06:34 1997 Tom Yu <tlyu@mit.edu>
* d3_cbc.c, des.h, des_int.h, f_cbc.c, f_cksum.c, f_ecb.c,
f_pcbc.c, f_sched.c, f_tables.c, f_tables.h: Change KRB_INT32 to
DES_INT32 to avoid temptation to misuse.
* d3_cbc.c, d3_ecb.c, f_cbc.c, f_cksum.c, f_ecb.c, f_parity.c,
f_pcbc.c, f_sched.c, f_tables.c: Don't include des.h; it's broken
in ways. Use only des_int.h instead.
Tue Oct 21 13:22:23 1997 Ezra Peisach <epeisach@mit.edu>
* Makefile.in (RUN_SETUP): Set KRB5_CONFIG.
Tue Oct 14 15:35:53 1997 Tom Yu <tlyu@voltage-multiplier.mit.edu>
* des_int.h: Use better logic to find an appropriate type for
KRB_INT32; also don't assume that a key schedule element is
exactly 64 bits wide... use instead 2 * KRB_INT32, since that is
what the code uses internally.
* des.h: Use better logic to find an appropriate type for
KRB_INT32.
Mon Oct 6 11:32:51 1997 Ezra Peisach <epeisach@mit.edu>
* destest.c (main): Initialize context to 0 so it will not be
treated as unset by purify.
* t_verify.c (main): Use krb5_free_context to release memory in use.
Sat Feb 22 18:50:35 1997 Richard Basch <basch@lehman.com>
* Makefile.in: Use some of the new library list build rules in
win-post.in
Fri Feb 7 07:12:52 1997 Richard Basch <basch@lehman.com>
* Makefile.in (all-unix, all-mac): Create shared directory
before trying to build the object files
Thu Jan 30 21:43:19 1997 Richard Basch <basch@lehman.com>
* cbc_cksum.c
Change functions to take const args where possible
Thu Nov 21 00:58:04 EST 1996 Richard Basch <basch@lehman.com>
* Makefile.in: Win32 build
Sat Feb 8 18:49:39 1997 Tom Yu <tlyu@mit.edu>
* Makefile.in:
* configure.in: Update to new program build procedure.
Sun Dec 29 21:53:49 1996 Tom Yu <tlyu@mit.edu>
* Makefile.in:
* configure.in: Update to use new library building procedure.
Sat Jun 15 03:51:19 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in (clean): Add space before \
Wed Jun 12 00:08:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* des_int.h: Add missing prototypes; needed to make Win-32
compiler happy.
* f_tables.h: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS
Tue May 21 19:30:10 1996 Sam Hartman <hartmans@mit.edu>
* Makefile.in (check-unix): In building destest and verify, make
sure we include enough object modules to deal with systems that do
early binding in shared libs, so we porperly overide
mit_des_is_weak_key
* Makefile.in (check-unix): Use $(RUN_SETUP) so shared lib paths
are happy.
Sat May 18 02:02:59 1996 Theodore Y. Ts'o <tytso@mit.edu>
* u_nfold.c (mit_des_n_fold): Fix memory leak. Free tempbuf
before returning.
Tue May 14 18:59:38 1996 Richard Basch <basch@lehman.com>
* des_int.h: the cs_entry routines in cbc_cksum.c are now static.
* Makefile.in: removed cs_entry.c
* cbc_cksum.c:
caller is responsible for allocating cksum->contents
and indicate the allocated amount in cksum->length.
the cs_entry routines are now static and the cs_entry
structure is now in this file to enforce proper use.
Fri May 10 01:46:25 1996 Richard Basch <basch@lehman.com>
* d3_str2ky.c d3_procky.c des_int.h init_rkey.c:
Replace des3-md5 with des3-sha
Thu May 2 18:29:01 1996 Richard Basch <basch@lehman.com>
* d3_rndky.c new_rn_key.c: Removed (obsolete).
* u_rn_key.c: New file
Support routines to set the seed/sequence number of the
random stream.
* Makefile.in: new/removed file changes
* des_int.h: Changed prototypes for all the random routines.
* fin_rndkey.c: rewrote mit_des_finish_random_key to use the new
random state structure and to accept an eblock as arg 1.
* init_rkey.c: rewritten to be a common DES, 3-DES random stream
initialization routine. it uses the eblock to determine
the random key type to generate.
* random_key.c: rewritten to be a common DES, 3-DES random stream
generator, using the former DES algorithm (encrypting an
incrementing sequence number with a unique key schedule)
[3-DES uses DES3-CBC-CRC to increment a 192 bit sequence
number, instead of being only as secure as DES.]
Wed Apr 17 19:25:01 1996 Marc Horowitz <marc@mit.edu>
* cbc_cksum.c (mit_des_cbc_checksum): don't allocate the checksum
contents. The caller is supposed to do this.
Wed Apr 10 17:46:40 1996 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (SRCS,OBJS): Added afsstring2key.c to the list of
files to be compiled.
Sat Mar 30 22:56:48 1996 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (SRCS): Took the list of sources and object files in
FSRCS, FOBJS, D3OBJS, and D3SRCS, and inlined them into
the OBJS and SRCS list. This is necessary so that the
files are correctly picked up for the Macintosh build.
Thu Mar 28 10:49:31 1996 Richard Basch <basch@lehman.com>
* init_rkey.c, d3_str2ky.c, d3_procky.c: Support ENCTYPE_DES3_CBC_RAW
* des_int.h: Support CKSUMTYPE_DES3_CBC_MD5
Wed Mar 20 22:33:40 1996 Theodore Y. Ts'o <tytso@dcl>
* u_nfold.c (mit_des_n_fold):
* d3_str2ky.c (mit_des3_string_to_key): Fix Windows lint flames.
Mon Mar 11 11:03:23 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* new_rn_key.c (mit_des_generate_random_block): Add const keywrod
to cast for suncc warning.
Thu Feb 22 20:32:08 1996 Theodore Y. Ts'o <tytso@dcl>
* t_random.c: New file which just tests the random number generator.
* new_rn_key.c (mit_des_set_random_generator_seed): Add fix so
that we do something even if the input key is not a valid
DES key.
Wed Jan 10 22:28:23 1996 Theodore Y. Ts'o <tytso@dcl>
* des_int.h: Fix return type for mit_des3_string_to_key().
Tue Nov 28 11:24:26 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* f_ecb.c, des_int.h (mit_des_ecb_encrypt): Add const declaration
to input cblock.
Thu Nov 09 17:05:57 1995 Chris Provenzano (proven@mit.edu)
* string2key.c : Remove krb5_enctype from krb5_string_to_key() args.
* string2key.c, des_int.h : Remove krb5_enctype from
mit_des_string_to_key() args.
Tue Oct 31 22:06:52 1995 Theodore Y. Ts'o <tytso@dcl>
* finish_key.c (mit_des_finish_key): Make mit_des_finish_key()
safe to call even if there is no key that needs to be
freed.
Fri Oct 6 21:59:55 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Remove ##DOS!include of config/windows.in.
config/windows.in is now included by wconfig.
Thu Sep 28 16:00:00 1995 John Rivlin <jrivlin@fusion.com>
* Makefile.in: Renamed verify.c to t_verify.c to avoid conflict with
lib/gssapi/krb5/verify.c on the Mac.
Mon Sep 25 16:48:36 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
Makefile.
Fri Sep 22 23:32:58 1995 Theodore Y. Ts'o <tytso@dcl>
* des_int.h: Define PROTOTYPE if it is not defined elsewhere.
Tue Sep 12 18:50:50 1995 John Rivlin (jrivlin@fusion.com)
* f_pcbc.c: Added include of des_int.h which seemed to
get lost so that mit_des_xxx get defined.
Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
* des_int.h, destest.c, init_rkey.c, random_key.c, string2key.c
* verify.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu)
* destest.c, random_key.c, string2key.c, verify.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
* init_rkey.c (mit_des_init_random_key()),
* string2key.c (mit_des_string_to_key()) : Allow for any DES keytype.
Tue Aug 29 13:29:19 EDT 1995 Paul Park (pjpark@mit.edu)
* process_key.c, finish_key.c - Set and use priv_size in the krb5_
encrypt_block.
Thu Aug 24 18:08:42 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* f_cksum.c: Change code to match prototypes.
* f_cbc.c, f_ecb, f_parity, f_pcbc: Change des_cblock to
mit_des_cblock and des_key_schedule to
mit_des_key_schedule. Also include des_int.h.
* destest.c: Change des_cblock to mit_des_cblock and add local
prototypes.
* cs_entry.c: Remove prototypes for mit_des_cbc_cksum and
mit_des_cbc_cksum. Now in des_int.h.
* cbc_cksum.c, string2key.c: Remove casts in call to
mit_des_cbc_cksum
* des_int.h: Add prototype for mit_des_cbc_verf_cksum. Change
return code for mit_des_cbc_cksum to match source.
* des.h: Remove unused structures and defines.
Thu Jul 27 15:18:37 EDT 1995 Paul Park (pjpark@mit.edu)
* des_int.h - Inline the old contents of include/krb5/mit-des.h. This
is now the only place that it's needed. Also update the
prototype for mit_des_ecb_encrypt.
* destest.c, f_sched.c, fin_rndkey.c, finish_key.c - Include des_int.h
* destest.c, new_rn_key.c, verify.c - Cast to the correct type for
mit_des_ecb_encrypt.
Fri Jul 7 16:12:29 EDT 1995 Paul Park (pjpark@mit.edu)
* cbc_cksum.c - Add checksum verifier procedure.
* cs_entry.c - Add entry for checksum verifier.
Thu Jul 6 17:16:17 1995 Tom Yu <tlyu@lothlorien.MIT.EDU>
* new_rn_key.c (mit_des_init_random_number_generator): don't call
us_timeofday with context arg; also update for new
function names (krb5_crypto_*).
Fri Jun 9 19:18:29 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
are now handled by CONFIG_RULES.
Thu May 25 22:16:02 1995 Theodore Y. Ts'o (tytso@dcl)
* configure.in, Makefile.in: Add support for shared libraries.
Fri May 12 02:46:13 1995 Mark Eichin <eichin@cygnus.com>
* key_sched.c (mit_des_key_sched): *always* fill in the schedule,
regardless of the key failing other tests, as a defense against
telnet-style bugs.
Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)
* *.[ch]: removed unneeded INTERFACE from non-api functions.
* *.h added FAR to pointers visible at to the world.
* f_tables.h: __STDC__ condition also checks _WINDOWS
Tue Mar 28 15:09:43 1995 John Gilmore (gnu at toad.com)
Bring in portability fixes from Cygnus K4 release.
* f_cbc.c, f_cksum.c, f_pcbc.c: Replace individual casts with
simpler solution.
* f_tables.h: Insert debugging code, and circumvention for MPW
compiler bug.
* key_sched.c: Remove ancient (microvax??!) comments, and dup
prototype.
* verify.c: Small hack for MS-Windows scrolling. Fix spelling.
"register x" -> "register int x".
Thu Mar 16 21:16:24 1995 John Gilmore (gnu at toad.com)
* Makefile.in (LDFLAGS): Remove, conflicts with pre.in.
(clean): Insert FIXME.
(verify$(EXEEXT), destest$(EXEEXT)): Make them work on Mac.
(check-mac): Add, identical to Unix.
(clean): Use $(EXEEXT).
* des_int.h (mit_des_cbc_cksum): Fix prototype from void to long,
to match the actual function.
Tue Mar 14 17:28:35 1995 Keith Vetter (keithv@fusion.com)
* f_cbc.c, f_cksum.c, f_pcbc.c: added casts so that chars get promoted
to longs instead of ints when doing 32 bit bit manipulations.
Thu Mar 2 17:50:39 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: changed LIBNAME for the PC.
* f_tables.h. f_cbc.c: added cast on the assignment of bits of
a long into characters.
* string2k.c: promoted an int into a long.
Thu Mar 2 18:09:28 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
Wed Mar 1 16:30:50 1995 Theodore Y. Ts'o <tytso@dcl>
* configure.in: Remove ISODE_INCLUDE, replace check for -lsocket
and -lnsl with WITH_NETLIB check.
Tue Feb 28 00:18:38 1995 John Gilmore (gnu at toad.com)
* des_int.h: Avoid <krb5/...> includes.
Mon Feb 20 16:10:29 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: made to work under windows PC
* cbc_cksu.c cs_entry.c finish_k.c fin_rndk.c f_cbc.c f_cksum.c
f_ecb.c f_parity.c f_pcbc.c f_sched.c init_rke.c key_sche.c
new_rn_k.c process_.c random_k.c string2k.c weak_key.c: added
windows INTERFACE keyword.
* string2key.c: needed long -> int casts for memset and malloc
Wed Feb 8 13:59:05 1995 Theodore Y. Ts'o (tytso@dcl)
* des.h: Add KRB5_INT32 definitions for non-32 int platforms.
Fri Feb 3 06:33:22 1995 Theodore Y. Ts'o (tytso@dcl)
* des_int.h: Remove unused cruft from the file.
* verify.c: Fix typo; "%02 X" --> "%02X"
Wed Jan 25 20:04:39 1995 John Gilmore (gnu at toad.com)
* cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,
fin_rndkey.c, finish_key.c, init_rkey.c, key_sched.c,
new_rn_key.c, process_ky.c, random_key.c, string2key.c, verify.c,
weak_key.c: Replace <.../...> includes with "..."s.
Wed Jan 25 16:54:40 1995 Chris Provenzano (proven@mit.edu)
* Removed all narrow types and references to wide.h and narrow.h
Fri Nov 18 16:20:10 1994 Theodore Y. Ts'o (tytso@dcl)
* destest.c (main): Add magic numbers to keyblock structure.
Tue Nov 8 17:57:47 1994 Theodore Y. Ts'o (tytso@dcl)
* des_int.h:
random_key.c (mit_des_random_key):
string2key.c (mit_des_string_to_key): Change
internal calling signature to pass in the encryption
block, so that the encryption type in the keyblock
structure can be properly initialized.
Thu Nov 3 18:31:55 1994 Mark Eichin (eichin@cygnus.com)
* Makefile.in: stop building f_pcbc.c, since it belongs in
libdes425, but leave it here for reference.
Fri Oct 14 00:33:17 1994 Theodore Y. Ts'o (tytso@dcl)
* des_int.h, f_cbc.c, verify.c: Fix function declarations to
(slightly) better match the conventions used by the krb5
source tree.
* cs_entry.c: Remove declarations of the cryptosystem specific
structures to raw-des.c and des-crc.c in the parent
directory. They're strictly speaking not DES specific.
* Makefile.in: Remove file krb_glue.c; we don't use it any more.
Thu Oct 6 12:49:29 1994 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Make sure the "make check" programs get cleaned up
on a "make clean".
* verify.c (main): Take out check that assures that long is 4
bytes. The DES implementation shouldn't be depending on
this, and if it is, then that's what the verify program
should be discovering, yes?
Thu Jun 23 01:09:33 1994 Tom Yu (tlyu at dragons-lair)
* cs_entry.c: oops typo in that last one
* grrr.... ETYPE_DES_CBC_CRC really should be ETYPE_RAW_DES_CBC,
although something like ETYPE_DES_CBC_RAW or ETYPE_DES_CBC_NONE
would probably work better (following the convention
ETYPE_{system}_{mode}_{integrity})
|