source: heimdal/trunk/lib/hcrypto/ChangeLog@ 3

Last change on this file since 3 was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

File size: 30.8 KB
Line 
12008-06-26 Love Hörnquist Å
2strand <lha@kth.se>
3
4 * ui.c: Send newline from use to stderr, just like the
5 prompt. From Ted Percival.
6
72008-05-20 Love Hörnquist Å
8strand <lha@kth.se>
9
10 * rand-fortuna.c: If we forked, force a reseed again. Add the pid
11 as part of the reseed().
12
132008-04-29 Björn Sandell <biorn@chalmers.se>
14
15 * des.h: Add DES_set_key_unchecked
16
17 * version-script.map: Export DES_set_key_unchecked
18
192008-04-29 Love Hörnquist Å
20strand <lha@it.su.se>
21
22 * evp.c: EVP_MD_CTX_init already implemented.
23
242008-04-28 Love Hörnquist Å
25strand <lha@it.su.se>
26
27 * evp.[ch]: deprecate functions that are needed for exported
28 EVP_MD_CTX.
29
30 * evp.h: Internalize hc_EVP_MD_CTX.
31
32 * evp.c: Internalize hc_EVP_MD_CTX.
33
34 * mdtest.c: Use EVP_MD_CTX_create()/EVP_MD_CTX_destroy().
35
36 * test_cipher.c: unbreak des-test
37
38 * evp.c: Fixup key parity before going ahead and using the key.
39
40 * evp.c: use DES_set_key_unchecked().
41
42 * des.c: Remove inifinite loop in DES_set_key().
43
442008-04-27 Love Hörnquist Å
45strand <lha@it.su.se>
46
47 * des.c: Document missing functions, add DES_check_key_parity().
48
49 * des.h: Add DES_check_key_parity, deprecate DES_set_key.
50
51 * version-script.map: Export DES_check_key_parity.
52
53 * des.h: DES_set_odd_parity "returns" void.
54
55 * rand.c: Drop const warnings.
56
57 * des.h: Sort options.
58
592008-04-18 Love Hörnquist Å
60strand <lha@it.su.se>
61
62 * pkcs5.c: Document PKCS5_PBKDF2_HMAC_SHA1.
63
64 * des.c: DES is withdrawn.
65
66 * des.c: Document using doxygen.
67
68 * des.c: History of DES.
69
70 * doxygen.c: History of hcrypto.
71
72 * test_rand.c: do a head vs tail test on the random buffer.
73
74 * test_crypto.in: Use --file to test_rand.
75
76 * rand.c: Document, implement RAND_set_rand_engine().
77
78 * doxygen.c: Add reference to DES, more quick links.
79
80 * rnd_keys.c: Reimplement using RAND_ interface.
81
82 * des.h: Undeprecate DES_new_random_key.
83
84 * des.c: Add documentation.
85
862008-04-15 Love Hörnquist Å
87strand <lha@it.su.se>
88
89 * camellia-ntt.h: Move the typedef u<num> to camellia-ntt.h header
90 file. Use u32 to define KEY_TABLE_TYPE, avoids warning on
91 platfors where u32 is not unsigned int.
92
93 * camellia-ntt.c: Move the typedef u<num> to camellia-ntt.h
94 header file.
95
96 * camellia.h: Drop need to camellia-ntt.h by including some more
97 defines.
98
992008-04-11 Love Hörnquist Å
100strand <lha@it.su.se>
101
102 * rnd_keys.c: deprecated.
103
104 * des.h: c++ wrappers + deprecated.
105
106 * aes.h: c++ wrappers
107
108 * des.h: c++ wrappers + deprecated
109
110 * rnd_keys.c: Use matching prototypes, prompted by bug report by
111 David Rosenstrauch.
112
1132008-03-19 Love Hörnquist Å
114strand <lha@it.su.se>
115
116 * camellia.h: Drop unused defined that originates from aes.
117
1182008-01-11 Love Hörnquist Å
119strand <lha@it.su.se>
120
121 * Makefile.am: Add extra files missing from dist.
122
1232007-12-30 Love Hörnquist Å
124strand <lha@it.su.se>
125
126 * rsa.c: ENGINE_get_default_RSA can return NULL.
127
128 * dh.c: more doxygen.
129
1302007-12-28 Love Hörnquist Å
131strand <lha@it.su.se>
132
133 * evp.c: Add last of the doxygen documentation for functions in
134 this module.
135
136 * evp.c: complete the EVP_MD functions doxygen.
137
1382007-12-11 Love Hörnquist Å
139strand <lha@it.su.se>
140
141 * version-script.map: export RSA_gmp_method.
142
143 * doxygen.c: More documentation.
144
145 * rsa.h: add RSA_gmp_method
146
147 * rsa-gmp.c: RSA implementation written using GMP.
148
149 * test_dh.c: Test of DH by Matthias Koenig.
150
1512007-12-09 Love Hörnquist Å
152strand <lha@it.su.se>
153
154 * bn.h (BN_is_negative): make argument const.
155
1562007-12-07 Love Hörnquist Å
157strand <lha@it.su.se>
158
159 * rand.c: Can't call getpwuid(getuid()) at all since that causes
160 recursive lookups. Pointed out by Hai Zaar.
161
1622007-08-16 Love Hörnquist Å
163strand <lha@it.su.se>
164
165 * test_cipher.c: Use test from camellia samples.
166
167 * version-script.map: Export camellia.
168
169 * test_cipher.c: Make camellia-128-cbc tests pass.
170
1712007-08-07 Love Hörnquist Å
172strand <lha@it.su.se>
173
174 * test_cipher.c: Sprinkle EVP cipher names.
175
1762007-07-30 David Love <fx@gnu.org>
177
178 * camellia-ntt.c: Include <krb5-types.h>
179
1802007-07-24 Love Hörnquist Å
181strand <lha@it.su.se>
182
183 * Add Camellia.
184
1852007-07-10 Love Hörnquist Å
186strand <lha@it.su.se>
187
188 * Makefile.am: New library version.
189
1902007-06-30 Love Hörnquist Å
191strand <lha@it.su.se>
192
193 * hmac.c (HMAC_Init_ex): also zero out key material on re-init.
194
1952007-06-20 Love Hörnquist Å
196strand <lha@it.su.se>
197
198 * rand.c: Default to fortuna due to weired /dev/*random that
199 failes to deliver random data for us in hi load situations.
200
201 * rand-fortuna.c: Reseed the random generator now and then from
202 external sources.
203
2042007-06-19 Love Hörnquist Å
205strand <lha@it.su.se>
206
207 * rand-egd.c: Avoid stoping unrelated memory.
208
2092007-06-18 Love Hörnquist Å
210strand <lha@it.su.se>
211
212 * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by
213 Andrew Bartlett
214
215 * Makefile.am: add rand-timer.c
216
217 * rand-fortuna.c: Fall back to gattering data from timer and
218 secret files, this is really the last resort.
219
220 * rand-timer.c: Pick up timing diffrences in the timeing info from
221 realtime timer, only in use as a last resort.
222
223 * version-script.map: Add hc_RAND_timer_method.
224
2252007-06-10 Love Hörnquist Å
226strand <lha@it.su.se>
227
228 * test_bn.c: Add <rand.h>.
229
230 * test_crypto.in: Test for random device before running the tests.
231
232 * test_engine_dso.c: Test for random device.
233
234 * test_bn.c (test_BN_rand): skip this test if there is no random
235 device
236
2372007-06-07 Love Hörnquist Å
238strand <lha@it.su.se>
239
240 * Makefile.am: Include more ui.[ch] in libbctest.
241
242 * version-script.map: Unexport _hc_DES_ipfp_test now there is a
243 separate test lib.
244
245 * Makefile.am: Build library libhctest.la for testing and link
246 with that when testing.
247
248 * version-script.map: export _hc_DES_ipfp_test
249
2502007-06-03 Love Hörnquist Å
251strand <lha@it.su.se>
252
253 * imath: new update from Michael Fromberger
254
255 * test_imath.c: Try to find ABR in mp_int_mul.
256
257 * engine.c: Don't try to load gmp module.
258
2592007-06-02 Love Hörnquist Å
260strand <lha@it.su.se>
261
262 * test_bn.c: Plug memory leak.
263
2642007-05-31 Love Hörnquist Å
265strand <lha@it.su.se>
266
267 * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if
268 this corrupts memory less.
269
2702007-05-30 Love Hörnquist Å
271strand <lha@it.su.se>
272
273 * version-script.map: Don't prefix all symbols with _
274
2752007-05-10 Love Hörnquist Å
276strand <lha@it.su.se>
277
278 * test_pkcs12.c: test the difference between "" and NULL password.
279
280 * test_pkcs12.c: one more pkcs12-pbe-s2k check
281
2822007-04-20 Love Hörnquist Å
283strand <lha@it.su.se>
284
285 * Add version-script
286
287 * test_crypto.in: try generate a couple of rsa keys of
288 diffrent (random) sizes, spelling.
289
290 * test_rsa.c: try generate a couple of rsa keys of
291 diffrent (random) sizes.
292
2932007-04-19 Love Hörnquist Å
294strand <lha@it.su.se>
295
296 * mdtest.c: stop leaking memory
297
298 * test_imath.c: fix warnings, make test into function.
299
300 * test_imath.c: shortest program causing the problem.
301
302 * test_imath.c: basic imath test
303
3042007-04-18 Love Hörnquist Å
305strand <lha@it.su.se>
306
307 * test_cipher.c (test_cipher): avoid leaking memory
308
3092007-04-17 Love Hörnquist Å
310strand <lha@it.su.se>
311
312 * rsa.c: plug memory leak
313
3142007-04-16 Love Hörnquist Å
315strand <lha@it.su.se>
316
317 * Makefile.am: CLEANFILES += test.file
318
3192007-04-15 Love Hörnquist Å
320strand <lha@it.su.se>
321
322 * Makefile.am: Add randi.h.
323
3242007-04-11 Love Hörnquist Å
325strand <lha@it.su.se>
326
327 * rsa.c: spelling.
328
3292007-02-01 Love Hörnquist Å
330strand <lha@it.su.se>
331
332 * rand.c: Name the random file ~/.rnd, this is the same as
333 OpenSSL.
334
3352007-01-31 Love Hörnquist Å
336strand <lha@it.su.se>
337
338 * rand-egd.c: Make get_bytes static.
339
340 * rand.c (RAND_write_file): default to failure.
341
3422007-01-30 Love Hörnquist Å
343strand <lha@it.su.se>
344
345 * rand.c: Implement RAND_file_name.
346
347 * test_rand.c: test RAND_file_name().
348
349 * rand.c: Provide dummy implementation of RAND_file_name.
350
351 * rand.h: add RAND_file_name
352
3532007-01-21 Love Hörnquist Å
354strand <lha@it.su.se>
355
356 * Makefile.am: clean more files
357
358 * rand-egd.c: access private functions though the RAND_METHOD
359 switch, move global egd function to rand-egd.c
360
361 * rand-fortuna.c: access private functions though the RAND_METHOD
362 switch
363
364 * rand-unix.c: unexport private functions.
365
366 * randi.h: Unexport internal functions.
367
368 * rand.c: access private functions though the RAND_METHOD switch,
369 don't truncate the seed-file, move global egd function to
370 rand-egd.c
371
372 * test_crypto.in: add basic random tests
373
374 * rand-egd.c: SGI cc doesn' like return void_returning_function();
375 in a void returning function.
376
3772007-01-20 Love Hörnquist Å
378strand <lha@it.su.se>
379
380 * test_rand.c: Allow select rand method.
381
382 * rand-unix.c: expose _hc_rand_unix_status
383
384 * randi.h: expose _hc_rand_unix_status and the internal
385 RAND_METHODs
386
387 * rand.c: Implement RAND_load_file and RAND_write_file. Select
388 UNIX random device if available, otherwise use Fortuna.
389
390 * Add EGD/PRNGD support
391
3922007-01-17 Love Hörnquist Å
393strand <lha@it.su.se>
394
395 * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet
396
3972007-01-11 Love Hörnquist Å
398strand <lha@it.su.se>
399
400 * test_rsa.c: if RAND is unhappy, don't run the tests.
401
402 * test_engine_dso.c: if RAND is unhappy, don't run the tests.
403
404 * imath/imath.c: Update to imath-1.8 from Michael Fromberger
405
406 Fixed a bug in s_udiv() affecting the computation of quotient
407 digits. Thanks to Love Å
408strand for isolating this bug. Also in
409 this release, defining USELLONG=Y or USELLONG=N on the command
410 line for make will switch support for the "long long" data type on
411 or off without having to edit the Makefile. The default is still
412 to permit use of "long long", even though the type is not standard
413 ANSI C90.
414
415 * imath/imath.c (s_udiv): Allocate one more for q, remove debug
416 printfs
417
4182007-01-10 Love Hörnquist Å
419strand <lha@it.su.se>
420
421 * imath/imath.c (s_udiv): make a copy of a and b before we start
422 to make sure there is something un-tainted to print in cause of
423 failure. XXX remove this delta
424 (s_embar): make static
425
4262007-01-09 Love Hörnquist Å
427strand <lha@it.su.se>
428
429 * rsa.c: Correct the test if the rsa is a complete RSA private
430 key.
431
4322007-01-08 Love Hörnquist Å
433strand <lha@it.su.se>
434
435 * imath/imath.c: More verbose debugging in case of assertion
436 failure. XXX temporary for AIX problem.
437
4382007-01-06 Love Hörnquist Å
439strand <lha@it.su.se>
440
441 * rsa-imath.c: Fix a silly typo, and with that enable CRT since
442 now it works.
443
444 * rsa-imath.c: With this crt works, but something is wrong in the
445 key generation, so keep it turned off for now.
446
447 * test_rsa.c: Allow testing effect of key-blinding
448
449 * test_rsa.c: Add timing info to rsa keygen.
450
451 * rsa-imath.c: don't include <imath/rsamath.h>
452
4532007-01-05 Love Hörnquist Å
454strand <lha@it.su.se>
455
456 * imath: prune off stuff we dont use
457
458 * imath/import.sh: Prune off stuff we don't use from imathsource
459
460 * Makefile.am: Prune off stuff we don't use from imathsource
461
462 * rsa-imath.c: Use mp_int_exptmod directly.
463
464 * imath/iprime.c: Use a larger table of small primes, cut down
465 genenration in best cases to half compared to using a small table.
466
467 * rsa.h: add RSA_FLAG_NO_BLINDING
468
469 * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA.
470
471 * rsa.c: Add iqmp.
472
4732007-01-04 Love Hörnquist Å
474strand <lha@it.su.se>
475
476 * rsa.c: add missing ;
477
478 * rsa.c: Add i2d_RSAPrivateKey.
479
480 * rsa.h: Add i2d_RSAPrivateKey.
481
482 * test_rsa.c: test RSA_generate_key_ex
483
484 * rsa-imath.c: Add imath_rsa_generate_key.
485
4862006-12-31 Love Hörnquist Å
487strand <lha@it.su.se>
488
489 * rsa.c: add RSA_generate_key_ex
490
491 * rsa.h: add RSA_generate_key_ex
492
4932006-12-07 Love Hörnquist Å
494strand <lha@it.su.se>
495
496 * Makefile.am: CLEANFILES += test_crypto
497
4982006-12-06 Love Hörnquist Å
499strand <lha@it.su.se>
500
501 * Makefile.am: Add rsakey.der to EXTRA_DIST.
502
5032006-12-05 Love Hörnquist Å
504strand <lha@it.su.se>
505
506 * Makefile.am: Add test_crypto.in to EXTRA_DIST.
507
508 * test_crypto.in: Add more spaces to allow sh to parse this
509
510 * test_rsa.c: Explain what the fixed "sha1" checksum test tries to
511 test.
512
513 * test_crypto.in: test rsa, dh and engine code
514
5152006-12-04 Love Hörnquist Å
516strand <lha@it.su.se>
517
518 * Makefile.am: rsa and crypto engine test cases
519
520 * test_rsa.c: Make faster and less verbose
521
522 * rsakey.der: test rsa key
523
524 * test_rsa.c: Test rsa operations
525
526 * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting
527 me for a while.
528
5292006-12-02 Love Hörnquist Å
530strand <lha@it.su.se>
531
532 * rsa-imath.c: Use mp_int_to_binary to encode bignums
533
534 * rsa-imath.c: Check if header is there
535
5362006-11-27 Love Hörnquist Å
537strand <lha@it.su.se>
538
539 * rsa-imath.c: Return -1 for failure.
540
541 * rsa-imath.c: Its ok with smaller signatures.
542
543 * rsa-imath.c: Split error codes for now
544
5452006-10-22 Love Hörnquist Å
546strand <lha@it.su.se>
547
548 * rsa.c: Try to not leak memory.
549
5502006-10-21 Love Hörnquist Å
551strand <lha@it.su.se>
552
553 * rand-unix.c (unix_bytes): read until the other side give us all
554 or fail.
555
556 * imath: import imath-1.7, fixes buffer overrun problems
557
558 * rsa.c (RSA_free): free the whole key
559
560 * test_engine_dso.c: Add more dh tests.
561
5622006-10-20 Love Hörnquist Å
563strand <lha@it.su.se>
564
565 * imath/imath.c: Allocate more bits.
566
567 * dh-imath.c (dh_compute_key): fix signness test
568
569 * dh-imath.c: Try harder to generate a good keypair.
570
571 * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by
572 Olga Kornievskaia.
573
5742006-10-19 Love Hörnquist Å
575strand <lha@it.su.se>
576
577 * Makefile.am: Add hash.h and des-tables.h.
578
579 * dh.c (DH_compute_key): return -1 on bad public key.
580
581 * rsa.c: remove stray ;
582
583 * engine.c: Does function typecasts instead of void * type-casts.
584
585 * evp.c: Does function typecasts instead of void * type-casts.
586
5872006-10-16 Love Hörnquist Å
588strand <lha@it.su.se>
589
590 * Makefile.am: add rand-unix.c
591
592 * rand.c: Move out rand-unix functions from the core lib.
593
594 * rand-unix.c: Move out rand-unix functions from the core lib.
595
5962006-10-15 Love Hörnquist Å
597strand <lha@it.su.se>
598
599 * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be
600 freed.
601
6022006-10-14 Love Hörnquist Å
603strand <lha@it.su.se>
604
605 * bn.c: Drop heim_any.h, prefix der primitives with der_
606
607 * rsa.c: Drop heim_any.h.
608
6092006-10-11 Love Hörnquist Å
610strand <lha@it.su.se>
611
612 * rsa.c (RSA_free): Call the meth->finish before releasing the
613 engine.
614
6152006-10-06 Love Hörnquist Å
616strand <lha@it.su.se>
617
618 * imath/imath.c: Cast argument to ctype(3) functions to (unsigned
619 char).
620
621 * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned
622 char).
623
6242006-09-22 Love Hörnquist Å
625strand <lha@it.su.se>
626
627 * ui.c (read_string): Try to not call signaction for signal 0 and
628 use NSIG if it exists to determin how many signals there exists,
629 also, only restore those signalhandlers that we got out.
630
631 Bug reported by and patch tested by Harald Barth.
632
6332006-09-15 Love Hörnquist Å
634strand <lha@it.su.se>
635
636 * rsa-imath.c: Add commeted out test that exponent is > 3
637
6382006-05-13 Love Hörnquist Å
639strand <lha@it.su.se>
640
641 * bn.c (BN_rand): avoid shadowing.
642
6432006-05-12 Love Hörnquist Å
644strand <lha@it.su.se>
645
646 * rsa-imath.c: Fix the last one of the asserts.
647
6482006-05-08 Love Hörnquist Å
649strand <lha@it.su.se>
650
651 * rand.c (get_device_fd): use /dev/urandom first.
652
653 * rctest.c: Less "pointer targets in passing argument differ in
654 signedness" warnings.
655
656 * rc2test.c: Less "pointer targets in passing argument differ in
657 signedness" warnings.
658
6592006-05-07 Love Hörnquist Å
660strand <lha@it.su.se>
661
662 * rsa-imath.c: Fix a off by one.
663
664 * test_engine_dso.c: print the lengths when they don't match.
665
666 * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for
667 the building engine.
668
669 * rsa.h: expose RSA_imath_method
670
671 * rsa.c (RSA_check_key): Do sign/verify instead.
672
673 * dsa.c: rename the DSA_METHOD
674
675 * dh.c: rename the DH_METHOD
676
677 * dh-imath.c: rename the DH_METHOD
678
679 * rsa.c: Default to use rsa-imath.
680
681 * Makefile.am: Add rsa-imath.c to libhcrypto
682
683 * rsa-imath.c: Add RSA support using imath.
684
6852006-05-06 Love Hörnquist Å
686strand <lha@it.su.se>
687
688 * imath: Add imath-1.1.9
689
690 * dh.h: Expose DH_imath_method.
691
692 * Makefile.am: Add imath source, add test_engine_dso to TESTS.
693
694 * engine.c: Lets say we have RSA_null_method(), not really
695 useable, but still.
696
697 * test_engine_dso.c: If there are no arguments, use the internal
698 engine.
699
700 * engine.h: Cpp rename some ENGINE symbols.
701
702 * engine.c (ENGINE_load_builtin_engines): Load the internal
703 engine.
704
705 * dh.c: Default to use DH-imath.
706
707 * dh.c (DH_check_pubkey): describe what the function do
708
7092006-05-05 Love Hörnquist Å
710strand <lha@it.su.se>
711
712 * dh.c (DH_compute_key): check return status value from
713 DH_check_pubkey
714
715 * Rename u_intXX_t to uintXX_t
716
7172006-04-24 Love Hörnquist Å
718strand <lha@it.su.se>
719
720 * pkcs5.c: include <krb5-types.h>
721
722 * evp.c: Sprinkel some assertions.
723
724 * des.c: Move assertion and add another restriction, used as hint
725 to beam that its ok
726
7272006-04-23 Love Hörnquist Å
728strand <lha@it.su.se>
729
730 * rsa.c (RSA_check_key): don't do any checking if there is no
731 private key
732
733 * engine.c (add_engine): reassign engines variable after realloc
734
7352006-04-21 Love Hörnquist Å
736strand <lha@it.su.se>
737
738 * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
739
740 * evp.h: Add prototype for EVP_BytesToKey
741
742 * evp.c: Add stub for EVP_BytesToKey
743
7442006-04-20 Love Hörnquist Å
745strand <lha@it.su.se>
746
747 * dh.h: Add cpp-rename for DH_check_pubkey
748
7492006-04-17 Love Hörnquist Å
750strand <lha@it.su.se>
751
752 * rand.h: Add more RAND functions.
753
754 * rand.c: Split out unix /dev/random to a RAND_METHOD
755
756 * engine.h: add RAND support
757
758 * engine.c: add RAND support
759
760 * evp.h: s/rc4_64/rc2_64/
761
762 * rand.c: Add RAND_METHOD and some associated functions.
763
764 * rand.h: Add RAND_METHOD and some associated functions.
765
766 * test_bn.c: Test BN_rand
767
7682006-04-16 Love Hörnquist Å
769strand <lha@it.su.se>
770
771 * engine.c (ENGINE_by_dso): less printf
772
773 * rsa.h (i2d_RSAPublicKey): fix prototype
774
775 * rsa.c (i2d_RSAPublicKey): fix prototype
776
7772006-04-15 Love Hörnquist Å
778strand <lha@it.su.se>
779
780 * evp.h: Add EVP_rc2_64_cbc
781
782 * evp.c: Add EVP_rc2_64_cbc
783
784 * evp.h: Add SHA-256 symbols.
785
786 * evp.c: Add SHA-256.
787
788 * sha.h: Add SHA-256 symbols.
789
790 * mdtest.c: Test SHA-256.
791
792 * sha256.c: Inital (naive) SHA-256 implementation.
793
7942006-04-14 Love Hörnquist Å
795strand <lha@it.su.se>
796
797 * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is
798 >= 0, because if it is, its a programmer error.
799
8002006-04-09 Love Hörnquist Å
801strand <lha@it.su.se>
802
803 * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size
804 that will case out out bound indexing, and its invalid input.
805
806 * rsa.c: Make compile again.
807
8082006-04-03 Love Hörnquist Å
809strand <lha@it.su.se>
810
811 * rsa.c: Implement i2d_RSAPublicKey
812
813 * rsa.h: Add i2d_RSAPublicKey
814
8152006-03-07 Love Hörnquist Å
816strand <lha@it.su.se>
817
818 * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
819
8202006-02-28 Love Hörnquist Å
821strand <lha@it.su.se>
822
823 * Makefile.am: Add pkcs5 files.
824
825 * test_pkcs5.c: Testcases for pkcs5 pbe2.
826
827 * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function.
828
829 * hmac.c: Digest key when it exceeds block size, not when it
830 exceeds the size of the output block.
831
8322006-02-16 Love Hörnquist Å
833strand <lha@it.su.se>
834
835 * rand.c (RAND_bytes): Don't abort() on failure, return error.
836
837 * bn.c (BN_rand): check return value from RAND_bytes
838
8392006-01-18 Love Hörnquist Å
840strand <lha@it.su.se>
841
842 * dh.c (DH_compute_key): check public key
843
844 * dh.h: Add DH_check_pubkey and defines it uses.
845
846 * dh.c (DH_check_pubkey): New function.
847
848 * bn.c: Remove unused fragment.
849
850 * test_bn.c: Compare numbers with BN_cmp().
851
8522006-01-17 David Love <fx@gnu.org>
853
854 * bn.c: Include <limits.h>.
855
8562006-01-13 Love Hörnquist Å
857strand <lha@it.su.se>
858
859 * *.h: use #include <hcrypto/...>
860
861 * Makefile.am: provide a symlink so the directory hcrypto/ seems
862 to exists
863
864 * engine.h: Expose dsa symbols
865
866 * Makefile.am: Rename library to hcrypto and install headerfiles
867 in hcrypto/.
868
869 * test_pkcs12.c: Test for PKCS12_key_gen.
870
871 * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy.
872
873 * engine.c (ENGINE_add_conf_module): Also load DH
874
875 * dh.h: Reorder includes to avoid compile errors, provide
876 DH_new_method().
877
878 * dh.c: Indent.
879
880 * bn.c: BN_get_negative was really named BN_is_negative, a comment
881 confused me.
882
883 * bn.h: BN_get_negative was really named BN_is_negative, a comment
884 confused me.
885
886 * pkcs12.h: Add PKCS12_key_gen().
887
888 * pkcs12.c: Add PKCS12_key_gen().
889
890 * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch].
891
892 * evp.c: Rename rc2_40_cbc internal variable to something better.
893 Unbreak des-ede3-cbc.
894
8952006-01-11 Love Hörnquist Å
896strand <lha@it.su.se>
897
898 * test_bn.c: Test BN_uadd.
899
900 * bn.c (BN_rand): don't leak memory on failure, catch malloc(0)
901 case
902
903 * bn.c (BN_rand): clear the bits above the bits that user
904 requested.
905 (BN_uadd): new function.
906
907 * bn.h (BN_uadd): new function.
908
9092006-01-10 Love Hörnquist Å
910strand <lha@it.su.se>
911
912 * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively
913
914 * Makefile.am (check_PROGRAMS): add test_hmac
915
916 * test_hmac.c: Simple regression test for HMAC.
917
918 * hmac.c: Make hmac work.
919
920 * evp.c: return the right blocksize for digests.
921
9222006-01-09 Love Hörnquist Å
923strand <lha@it.su.se>
924
925 * test_engine_dso.c: Add test for DH.
926
927 * dh.c: Add DH_new_method, add ENGINE refcounting.
928
929 * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH
930
931 * test_engine_dso.c: Add test for RSA encryption.
932
9332006-01-08 Love Hörnquist Å
934strand <lha@it.su.se>
935
936 * test_engine_dso.c: Add test for RSA.
937
938 * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH,
939 HMAC, RAND and ENGINE interfaces for use in hx509. rename all
940 symbols to start with hc_ to avoid clobbering namespaces. contains
941 no RSA/DH/DSA code, just glue to support using dynamic
942 ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE
943 module supporting RSA. Also contains a MD2 digest for completion.
944
9452005-07-20 Love Hörnquist Å
946strand <lha@it.su.se>
947
948 * des.c,des.h,rnd_keys.c: change unsigned char * to void *
949
9502005-06-30 Love Hörnquist Å
951strand <lha@it.su.se>
952
953 * rnd_keys.c: const poision for unwriteable strings
954
9552005-06-19 Love Hörnquist Å
956strand <lha@it.su.se>
957
958 * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a
959 global, from Andrew Bartlett
960
9612005-06-02 Love Hörnquist Å
962strand <lha@it.su.se>
963
964 * rnd_keys.c: Include <stdlib.h> for srandom/random.
965
9662005-05-29 Love Hörnquist Å
967strand <lha@it.su.se>
968
969 * des.c (DES_cbc_cksum): init u to make sure it have a value in
970 case of the empty in data
971
972 * destest.c: add test for the empty password ""
973
9742005-05-27 Love Hörnquist Å
975strand <lha@it.su.se>
976
977 * rctest.c (cipher3): used unsigned char to avoid problems with
978 platforms using "signed char"
979
9802005-05-13 Love Hörnquist Å
981strand <lha@it.su.se>
982
983 * rc2.c: use unsigned char to avoid signess warning
984
985 * des.c: use unsigned char to avoid signess warning
986
987 * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess
988 warning
989
9902005-05-03 Dave Love <fx@gnu.org>
991
992 * mdtest.c: Fix typo for HAVE_STDLIB_H.
993
9942005-05-03 Love Hörnquist Å
995strand <lha@it.su.se>
996
997 * rnd_keys.c: Enabled to build on cygwin, based on patch from
998 David Love <fx@gnu.org>
999
10002005-05-02 Dave Love <fx@gnu.org>
1001
1002 * mdtest.c: Include <krb5-types.h>.
1003
10042005-04-30 Love Hörnquist Å
1005strand <lha@it.su.se>
1006
1007 * ui.c: Include <des.h>.
1008 (UI_UTIL_read_pw_string): make the prompt argument const.
1009
1010 * des.h (UI_UTIL_read_pw_string): make the prompt argument const
1011
1012 * ui.c (UI_UTIL_read_pw_string): remove unused variable plen
1013
1014 * des.c: replace <strings.h> with <string.h>
1015
10162005-04-29 Dave Love <fx@gnu.org>
1017
1018 * Makefile.am: Add LIB_roken.
1019
10202005-04-27 Dave Love <fx@gnu.org>
1021
1022 * sha.c: Include hash.h first.
1023
1024 * md4.c: Include hash.h first.
1025
1026 * md5.c: Include hash.h first.
1027
1028 * hash.h: Include krb5-types.h
1029
10302005-04-26 Dave Love <fx@gnu.org>
1031
1032 * mdtest.c: Maybe include stdlib.h
1033
10342005-04-10 Love Hörnquist Å
1035strand <lha@it.su.se>
1036
1037 * sha.h,md5.h, md4.h: don't include bit types, the user must do
1038 that #ifdef wrap
1039
1040 * aes.h: #ifdef wrap
1041
10422005-03-23 Love Hörnquist Å
1043strand <lha@it.su.se>
1044
1045 * des.h: fix prototype for DES_random_key
1046
1047 * rnd_keys.c: fix prototype for DES_random_key
1048
1049 * des.[ch]: provide compatibility function DES_key_sched, same as
1050 DES_set_key
1051
10522005-03-20 Love Hörnquist Å
1053strand <lha@it.su.se>
1054
1055 * destest.c: include config.h and protect some headers
1056
1057 * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the
1058 C99 integer types exists
1059
10602005-03-14 Love Hörnquist Å
1061strand <lha@it.su.se>
1062
1063 * des.c: add DES_set_key_checked
1064
1065 * des.h: add DES_set_key_checked
1066
10672005-03-01 Love Hörnquist Å
1068strand <lha@it.su.se>
1069
1070 * des-tables.h: Add the missing file
1071
10722005-02-23 Love Hörnquist Å
1073strand <lha@it.su.se>
1074
1075 * ui.c: remove dependency on asprintf
1076
1077 * Makefile.am: make destest only once
1078
1079 * Replace the eay DES code with key scheule setup code by me and DES
1080 s-box and p permutation from Richard Outerbridge implemtation (in
1081 public domain). The DES modes are implemented by me. ui.c code are
1082 from appl/login.
1083
1084 The implementation is about 3 times slower then Eric for encryption,
1085 and about the same speed for key setup.
1086
1087
10882004-08-10 Love Hörnquist Å
1089strand <lha@it.su.se>
1090
1091 * rnd_keys.c (DES_rand_data): also try /dev/arandom
1092
10932004-06-02 Love Hörnquist Å
1094strand <lha@it.su.se>
1095
1096 * rnd_keys.c: don't include krb4 headers
1097
1098 * rijndael-alg-fst.c: don't include krb4 headers
1099
1100 * aes.c: don't include krb4 headers
1101
1102 * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an
1103 installed file
1104
11052004-04-25 Love Hörnquist Å
1106strand <lha@it.su.se>
1107
1108 * rc2.c: handle non blocksized cbc messages
1109
1110 * aes.[ch]: add AES_cbc_encrypt
1111
11122004-04-24 Love Hörnquist Å
1113strand <lha@it.su.se>
1114
1115 * rc2test.c: test vectors from RFC2268
1116
1117 * rc2.c (RC2_set_key): rewrite the mask calculation
1118
1119 * rc2.c (RC2_set_key): handle keys where effective bits are
1120 diffrent from keylength
1121
11222004-04-23 Love Hörnquist Å
1123strand <lha@it.su.se>
1124
1125 * rc2.c: rc2 implementation
1126
1127 * rc2.h: rc2 implementation
1128
1129 * rc2test.c: rc2 implementation
1130
1131 * Makefile.am: rc2 implementation
1132
11332004-03-25 Love Hörnquist Å
1134strand <lha@it.su.se>
1135
1136 * Makefile.am: new arcfour implementation
1137
1138 * rc4.c: implemented from description in
1139 draft-kaukonen-cipher-arcfour-03.txt
1140
1141 * rc4.h: replace with new implementation
1142
1143 * rc4_enc.c rc4_skey.c: remove
1144
1145 * rctest.c: test for arcfour
1146
11472003-12-07 Love Hörnquist Å
1148strand <lha@it.su.se>
1149
1150 * rnd_keys.c: uninitialized variable, from Panasas Inc
1151
11522003-09-03 Love Hörnquist Å
1153strand <lha@it.su.se>
1154
1155 * md4.c (MD4_Final): make the function threadsafe by removing
1156 static on the local variable zeros
1157
1158 * md5.c (MD5_Final): make the function threadsafe by removing
1159 static on the local variable zeros
1160
1161 * switch to the DES_ api, dont provide any compat glue
1162
11632003-08-27 Love Hörnquist Å
1164strand <lha@it.su.se>
1165
1166 * sha.c: make the function threadsafe by removing static on the
1167 local variable zeros
1168
11692003-07-23 Love Hörnquist Å
1170strand <lha@it.su.se>
1171
1172 * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h:
1173 Makefile.am: add AES support
1174
11752003-03-19 Love Hörnquist Å
1176strand <lha@it.su.se>
1177
1178 * des.1: sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
1179
11802003-03-19 Love Hörnquist Å
1181strand <lha@it.su.se>
1182
1183 * des.1: spelling, from <jmc@prioris.mini.pw.edu.pl>
1184
11852002-08-28 Johan Danielsson <joda@pdc.kth.se>
1186
1187 * read_pwd.c: move NeXT SGTTY stuff here
1188
11892001-05-17 Assar Westerlund <assar@sics.se>
1190
1191 * Makefile.am: bump version to 3:1:0
1192
11932001-05-11 Assar Westerlund <assar@sics.se>
1194
1195 * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak
1196 keys
1197
11982001-02-16 Assar Westerlund <assar@sics.se>
1199
1200 * set_key.c: correct weak keys and update comment
1201
12022001-02-14 Assar Westerlund <assar@sics.se>
1203
1204 * set_key.c: correct the two last weak keys in accordance with
1205 FIPS 74. noted by <jhutz@cmu.edu>
1206
12072001-01-30 Assar Westerlund <assar@sics.se>
1208
1209 * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0
1210
12112000-10-19 Assar Westerlund <assar@sics.se>
1212
1213 * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write}
1214 files so that this library contains the same things as libdes in
1215 Heimdal
1216
12172000-08-16 Assar Westerlund <assar@sics.se>
1218
1219 * Makefile.am: bump version to 2:1:0
1220
12212000-08-03 Johan Danielsson <joda@pdc.kth.se>
1222
1223 * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1224 jfs/fsparam.h
1225
1226 * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1227 jfs/fsparam.h
1228
1229 * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX
1230 jfs/fsparam.h
1231
12322000-02-07 Assar Westerlund <assar@sics.se>
1233
1234 * Makefile.am: set version to 2:0:0
1235
12362000-01-26 Assar Westerlund <assar@sics.se>
1237
1238 * mdtest.c: update to pseudo-standard APIs for md4,md5,sha.
1239 * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the
1240 pseudo-standard APIs
1241
12421999-12-06 Assar Westerlund <assar@sics.se>
1243
1244 * Makefile.am: set version to 1:0:1
1245
12461999-11-29 Assar Westerlund <assar@sics.se>
1247
1248 * fcrypt.c (crypt_md5): add trailing $
1249
12501999-11-13 Assar Westerlund <assar@sics.se>
1251
1252 * Makefile.am (include_HEADERS): add rc4.h
1253 (libdes_la_SOURCES): add rc4_skey.c
1254
12551999-10-28 Assar Westerlund <assar@sics.se>
1256
1257 * md5crypt_test.c: change the test case. apparently we should not
1258 include $ after the salt. also make it print more useful stuff
1259 when failing.
1260
12611999-10-20 Assar Westerlund <assar@sics.se>
1262
1263 * Makefile.am: bump version to 0:2:0
1264
12651999-09-21 Johan Danielsson <joda@pdc.kth.se>
1266
1267 * des.h: make this work with mips 64-bit abi
1268
12691999-08-14 Johan Danielsson <joda@pdc.kth.se>
1270
1271 * fcrypt.c (crypt_md5): don't use snprintf
1272
12731999-08-13 Assar Westerlund <assar@sics.se>
1274
1275 * Makefile.am: add md5crypt_test
1276
1277 * Makefile.in: add md5crypt_test
1278
1279 * md5crypt_test.c: test md5 crypt
1280
1281 * fcrypt.c: always enable md5 crypt
1282
12831999-07-26 Johan Danielsson <joda@pdc.kth.se>
1284
1285 * Makefile.am: bump version number (changes to md*, sha)
1286
12871999-06-15 Assar Westerlund <assar@sics.se>
1288
1289 * sha.c (swap_u_int32_t): add _CRAY
1290
1291Sat Apr 10 23:02:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1292
1293 * destest.c: fixes for crays
1294
1295Thu Apr 1 11:26:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1296
1297 * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't
1298 build rpw, and speed
1299
1300Mon Mar 22 20:16:26 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1301
1302 * Makefile.am: hash.h
1303
1304 * sha.c: use hash.h; fixes for crays
1305
1306 * md5.c: use hash.h; fixes for crays
1307
1308 * md4.c: use hash.h; fixes for crays
1309
1310 * hash.h: common stuff from md4, md5, and sha1
1311
1312Sat Mar 20 00:16:53 1999 Assar Westerlund <assar@sics.se>
1313
1314 * rnd_keys.c (des_rand_data): move declaration to get rid of
1315 warning
1316
1317Thu Mar 18 11:22:28 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1318
1319 * Makefile.am: include Makefile.am.common
1320
1321Mon Mar 15 17:36:41 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1322
1323 * rnd_keys.c (des_rand_data): if not using setitimer, block
1324 SIGCHLD around fork(), also make sure we get the status of the
1325 child process
1326 (fake_signal): emulate signal using sigaction
1327
1328Tue Jan 12 05:06:54 1999 Assar Westerlund <assar@sics.se>
1329
1330 * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of
1331 `unsigned long'
1332
1333Sun Nov 22 10:40:09 1998 Assar Westerlund <assar@sics.se>
1334
1335 * Makefile.in (WFLAGS): set
1336
1337Mon May 25 05:24:56 1998 Assar Westerlund <assar@sics.se>
1338
1339 * Makefile.in (clean): try to remove shared library debris
1340
1341Sun Apr 19 09:50:53 1998 Assar Westerlund <assar@sics.se>
1342
1343 * Makefile.in: add symlink magic for linux
1344
1345Sun Nov 9 07:14:45 1997 Assar Westerlund <assar@sics.se>
1346
1347 * mdtest.c: print out old and new string
1348
Note: See TracBrowser for help on using the repository browser.