1
2011-12-02 Werner Koch <wk@g10code.com>
3
NB: ChangeLog files are no longer manually maintained. Starting
4
on December 1st, 2011 we put change information only in the GIT
5
commit log, and generate a top-level ChangeLog file from logs at
6
"make dist". See doc/HACKING for details.
8
2011-08-09 Werner Koch <wk@g10code.com>
10
* rijndael.c (u32_a_t): New.
11
(do_encrypt_aligned, do_decrypt): Use the new type to avoid
12
problems with strict aliasing rules.
14
* dynload.c (register_cipher_extension): Remove unused var.
16
2010-10-18 Werner Koch <wk@g10code.com>
18
* rndw32.c (slow_gatherer_windowsNT): Add GNUPG_RNDW32_NOPERF envvar.
20
2010-09-28 Steven M. Schweda <sms@antinode.info> (wk)
22
Changes to help the VMS port. See
23
http://antinode.info/dec/sw/gnupg.html .
25
* random.c [__VMS]: Include rmsdef.h and vms.h.
26
(LOCK_SEED_FILE) [__VMS]: Set to 0.
27
(getfnc_gather_random) [USE_RNDVMS]: Call rndvms_gather_random.
28
(read_seed_file) [__VMS]: Allow reading by others.
29
(update_random_seed_file) [__VMS]: Use VMS specific open call.
30
* rand-internal.h (rndvms_gather_random): New.
32
2008-04-17 David Shaw <dshaw@jabberwocky.com>
34
* camellia-glue.c (selftest, camellia_get_info), cipher.c
35
(setup_cipher_table): Add Camellia-192.
37
2008-03-22 Werner Koch <wk@g10code.com>
39
* cipher.c (struct cipher_handle_s): Make sure IV is u32
40
aligned. Change all users of IV.
41
(do_cfb_encrypt): Optimize and use bulk code for AES.
42
(do_cfb_decrypt): Ditto.
43
* rijndael.c (do_encrypt): Remove.
44
(do_encrypt_aligned, do_encrypt): New. Taken from libgcrypt.
45
(rijndael_cfb_enc, rijndael_cfb_dec): New.
47
2007-12-12 Werner Koch <wk@g10code.com>
49
* pubkey.c (pubkey_encrypt, pubkey_decrypt): Allow type 20 keys.
50
(pubkey_algo_to_string): Ditto.
52
2007-12-11 Werner Koch <wk@g10code.com>
54
* pubkey.c (check_pubkey_algo2): Hack to allow decryption using an
57
2007-11-29 David Shaw <dshaw@jabberwocky.com>
59
* camellia-glue.c (camellia_get_info), cipher.c
60
(setup_cipher_table): Add 128-bit variant of Camellia.
62
2007-11-28 David Shaw <dshaw@jabberwocky.com>
64
* sha256.c (sha224_get_info): 4880 has an error in the SHA-224 OID
65
and we inherited it. Fixing.
67
2007-10-23 Werner Koch <wk@g10code.com>
69
Switched entire package to GPLv3+.
71
2007-07-09 Werner Koch <wk@g10code.com>
73
* camellia.c, camellia.h: Fixed the FSF's postal address.
75
2007-06-13 David Shaw <dshaw@jabberwocky.com>
77
* Makefile.am, algorithms.h, cipher.c (setup_cipher_table): Add
80
* camellia-glue.c: New. These are glue functions to interface
81
GnuPG to the stock NTT Camellia distribution.
83
* camellia.h, camellia.c: New. Version 1.2.0 of the Camellia code
85
http://info.isl.ntt.co.jp/crypt/eng/camellia/index.html
87
2006-12-11 Werner Koch <wk@g10code.com>
89
* elgamal.c (test_keys): Use new mpi_nlimb_hint_from_nbits
90
function. This also rounds up the value.
91
(generate): Use new mpi_nlimb_hint_from_nbits function.
92
* rsa.c (test_keys): Ditto.
95
* primegen.c (generate_elg_prime): Ditto.
97
* dsa.c (test_keys): Ditto. This also rounds up the value.
99
* Makefile.am (AM_CPPFLAGS): Use instead of INCLUDES. define
102
2006-11-03 Werner Koch <wk@g10code.com>
104
* random.c [HAVE_GETTIMEOFDAY]: Included sys/time.h and not
105
sys/times.h. Reported by Rafaël Carré.
107
2006-06-28 David Shaw <dshaw@jabberwocky.com>
109
* rsa.c (generate): Use e=65537 for new RSA keys.
111
2006-04-20 David Shaw <dshaw@jabberwocky.com>
113
* dsa.c (dsa2_generate): New function to generate a DSA key with a
115
(generate): Tweak to allow keys larger than 1024 bits. Enforce
116
that the q size doesn't end between byte boundaries.
118
2006-04-19 David Shaw <dshaw@jabberwocky.com>
120
* sha256.c (sha224_get_info, sha224_init): New init functions for
121
the 224-bit variant of SHA-256.
122
* algorithms.h, md.c (load_digest_module): Call them here.
124
2006-03-20 David Shaw <dshaw@jabberwocky.com>
126
* blowfish.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c: Revert
127
previous change. It's now all done in configure.
129
2006-03-19 David Shaw <dshaw@jabberwocky.com>
131
* blowfish.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c: Use
132
'#if' rather than '#ifdef' BIG_ENDIAN_HOST. Harmless as we
133
explicitly define BIG_ENDIAN_HOST to 1 when we need it, but needed
134
for OSX fat builds when we define BIG_ENDIAN_HOST to another
137
2006-02-14 Werner Koch <wk@gnupg.org>
139
* random.c (lock_seed_file): Build even when not used.
141
2006-02-09 Werner Koch <wk@g10code.com>
143
* random.c (lock_seed_file): New.
144
(read_seed_file, update_random_seed_file): Use it.
145
(random_disable_locking): New.
147
2005-12-06 David Shaw <dshaw@jabberwocky.com>
149
* idea-stub.c (load_module): Not legal to return a void * as a
152
* Makefile.am, rndegd.c, rndlinux.c, rndunix.c, rndw32.c: Some
153
cleanup so we don't build files that are completely ifdeffed out.
154
This causes a warning on Sun's cc. Do sha512.c as well for
157
2005-08-11 Werner Koch <wk@g10code.com>
159
* rijndael.c (rijndael_cfb_encrypt): Experimental code to improve
160
AES performance. Got about 25% on ia32.
161
* cipher.c (do_cfb_encrypt): Ditto.
163
2005-06-07 David Shaw <dshaw@jabberwocky.com>
165
* random.c: Fix prototype of the fast random gatherer. Noted by
168
2005-03-23 Werner Koch <wk@g10code.com>
170
* rndw32.c (rndw32_gather_random_fast): While adding data use the
171
size of the object and not the one of its address. Bug reported by
174
2005-03-07 Werner Koch <wk@g10code.com>
176
* primegen.c (is_prime): Free A2. Noted by pmike2001@mail.ru.
179
2004-11-30 David Shaw <dshaw@jabberwocky.com>
181
* md.c (string_to_digest_algo): Allow read/write SHA384 and
184
2004-11-03 Timo Schulz <twoaday@g10code.com>
186
* idea-stub.c (dlopen, dlsym): Use w32_strerror instead of
187
just showing the error number.
189
2004-10-14 Werner Koch <wk@g10code.com>
191
* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
194
2004-10-12 David Shaw <dshaw@jabberwocky.com>
196
* algorithms.h, cast5.c, cipher.c, idea-stub.c, twofish.c,
197
blowfish.c, des.c, rijndael.c: Consistently use const for input
200
2004-09-23 Werner Koch <wk@g10code.com>
202
* rsa.c (rsa_generate): Return the dummy list of factors only if
203
the caller asked for it.
205
2004-05-20 David Shaw <dshaw@jabberwocky.com>
207
* dsa.c (verify): s/exp/exponent/ to fix a compiler warning. From
208
Werner on stable branch.
210
2004-01-16 David Shaw <dshaw@jabberwocky.com>
212
* cipher.c (setup_cipher_table): May as well call Rijndael AES at
215
* pubkey.c (setup_pubkey_table), elgamal.c (sign, verify,
216
test_keys, elg_sign, elg_verify, elg_get_info): Remove the last
217
bits of Elgamal type 20 support.
219
2003-12-29 David Shaw <dshaw@jabberwocky.com>
221
* idea-stub.c (load_module, idea_get_info): Return the proper type
222
for idea_get_info from inside load_module. From Stefan Bellon.
224
* rijndael.c, rndunix.c, twofish.c: Remove dead IS_MODULE code.
226
* g10c.c: Dead code. Remove.
228
* Makefile.am: Don't compile g10c.c.
230
2003-12-28 Stefan Bellon <sbellon@sbellon.de>
232
* rndriscos.c (rndriscos_gather_random) [__riscos__]: Declare
233
variable outside loop.
235
* blowfish.c, twofish.c [__riscos__]: Removal of unnecessary
236
#ifdef __riscos__ sections.
238
2003-12-17 David Shaw <dshaw@jabberwocky.com>
240
* dsa.h, dsa.c (dsa_verify), elgamal.h, elgamal.c (elg_verify),
241
rsa.h, rsa.c (rsa_verify), pubkey.c (dummy_verify, pubkey_verify):
242
Remove old unused code.
244
2003-12-03 David Shaw <dshaw@jabberwocky.com>
246
* pubkey.c (setup_pubkey_table): Don't allow signatures to and
247
from encrypt-only Elgamal keys.
248
(pubkey_get_npkey, pubkey_get_nskey, pubkey_get_nsig,
249
pubkey_get_nenc, pubkey_nbits): Wrap the RSA cheats in !USE_RSA.
250
Add cheats for sign+encrypt Elgamal.
252
2003-11-30 David Shaw <dshaw@jabberwocky.com>
254
* pubkey.c (setup_pubkey_table): Only include RSA if USE_RSA is
256
(pubkey_get_npkey): Return 2 for RSA even if it isn't available so
257
we can at least handle RSA keys.
259
2003-11-27 Werner Koch <wk@gnupg.org>
261
* pubkey.c (pubkey_sign): Return an error if an ElGamal key is
264
* elgamal.c (gen_k): New arg SMALL_K.
265
(sign): Use it here with SMALL_K set to false
266
(do_encrypt): and here with SMALL_K set to true.
268
2003-10-10 Werner Koch <wk@gnupg.org>
270
* primegen.c (gen_prime): Bail out if we try to generate a prime
271
with less than 16 bits. Include i18n.h.
273
2003-10-06 Werner Koch <wk@gnupg.org>
275
* primegen.c (gen_prime): Bail out if NBITS is zero. This is
276
Debian bug #213989 reported by Max <rusmir@tula.net>.
278
2003-09-04 David Shaw <dshaw@jabberwocky.com>
280
* md.c (string_to_digest_algo): Enable read-write SHA-256 support.
282
* algorithms.h, Makefile.am, md.c (load_digest_module,
283
string_to_digest_algo), tiger.c: Drop TIGER/192 support.
285
2003-08-28 David Shaw <dshaw@jabberwocky.com>
287
* idea-stub.c, random.c; s/__MINGW32__/_WIN32/ to help building on
288
native Windows compilers. Requested by Brian Gladman. From
289
Werner on stable branch.
291
2003-08-21 David Shaw <dshaw@jabberwocky.com>
293
* random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM
294
twice. Use NAME_OF_DEV_URANDOM.
296
2003-05-24 David Shaw <dshaw@jabberwocky.com>
298
* bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c,
299
elgamal.c, rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c,
300
rmd160.c, rndw32.c, sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c:
301
Edit all preprocessor instructions to remove whitespace before the
302
'#'. This is not required by C89, but there are some compilers
303
out there that don't like it.
305
2003-05-15 David Shaw <dshaw@jabberwocky.com>
307
* cipher.c (setup_cipher_table): #ifdef IDEA.
309
* random.c (fast_random_poll): Only use times() if we HAVE_TIMES.
311
* sha512.c, tiger.c: Use the U64_C() macro to specify 64-bit
312
constants. U64_C is defined in include/types.h and uses the
313
correct suffix depending on the underlying type of u64.
315
* idea-stub.c (load_module): Catch an error if the idea module
316
file is unloadable for some reason (unreadable, bad permissions,
319
* md.c (string_to_digest_algo): Give a warning about TIGER192 not
320
being part of OpenPGP.
322
2003-04-15 Werner Koch <wk@gnupg.org>
324
* md.c (md_start_debug): Need to open the file in binary mode.
326
2003-02-21 David Shaw <dshaw@jabberwocky.com>
328
* cipher.c (setup_cipher_table): #ifdef all optional ciphers.
330
* md.c (load_digest_module): #ifdef all optional digests.
332
2003-02-11 David Shaw <dshaw@jabberwocky.com>
334
* Makefile.am, md.c (load_digest_module): Only build in SHA384/512
335
and TIGER if specifically enabled by the 64-bit type check in
338
2003-02-04 David Shaw <dshaw@jabberwocky.com>
340
* sha256.c, sha512.c: New.
342
* Makefile.am, algorithms.h, md.c (load_digest_module,
343
string_to_digest_algo): Add read-only support for the new SHAs.
345
2002-11-06 David Shaw <dshaw@jabberwocky.com>
347
* rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not
348
required anymore. (From Werner)
350
* random.c (read_seed_file,update_random_seed_file): Use binary
351
mode for __CYGWIN__. (From Werner)
353
* blowfish.c (burn_stack), cast5.c (burn_stack), des.c
354
(burn_stack), md5.c (burn_stack), random.c (burn_stack, read_pool,
355
fast_random_poll), rijndael.c (burn_stack), rmd160.c (burn_stack),
356
rndegd.c (rndegd_gather_random), rndlinux.c
357
(rndlinux_gather_random), sha1.c (burn_stack), tiger.c
358
(burn_stack), twofish.c (burn_stack): Replace various calls to
359
memset() with the more secure wipememory().
361
2002-11-02 David Shaw <dshaw@jabberwocky.com>
363
* cipher.c (string_to_cipher_algo), md.c (string_to_digest_algo):
364
Allow the Sxxx and Hxxx format for cipher and digest names.
366
2002-10-31 Stefan Bellon <sbellon@sbellon.de>
368
* rndriscos.c (rndriscos_gather_random): Use riscos_load_module()
369
to load CryptRandom module.
371
2002-10-12 Werner Koch <wk@gnupg.org>
373
* rndunix.c (my_popen): Make sure that stdin and stderr are
374
connected to a file. This is to avoid NetBSD to complain about
375
set{u,g}id programs invoked with fd 0, 2 closed. Reported by
377
(start_gatherer): Likewise. Reordered code.
379
2002-10-02 David Shaw <dshaw@jabberwocky.com>
381
* tiger.c (tiger_get_info): Select the OID to use for TIGER at
384
2002-09-27 David Shaw <dshaw@jabberwocky.com>
386
* Makefile.am, md.c (load_digest_module): TIGER is now always
389
2002-09-26 Werner Koch <wk@gnupg.org>
391
* tiger.c (tiger_get_info): Use a regular OID. Note that this
392
breaks all TIGER generated signatures; if we want to do something
393
about it we have to do it in ../g10/sig-check.c .
395
2002-09-17 Werner Koch <wk@gnupg.org>
397
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
399
2002-09-12 Stefan Bellon <sbellon@sbellon.de>
401
* rand-internal.h (rndriscos_gather_random): Added prototype.
403
2002-08-30 Werner Koch <wk@gnupg.org>
405
* random.c: Automagically detect the entropy gatherer when
406
this feature is configured.
407
* rndegd.c (rndegd_connect_socket): New. Factored out from ..
408
(rndegd_gather_random): here and call it.
409
(do_read): Update the counter variables correctly. This was not a
410
problem due to the way EGD works. Bug found by Christian Biere.
412
2002-08-20 Werner Koch <wk@gnupg.org>
414
* primegen.c (generate_elg_prime): Return all factors for mode 1.
415
Bug reported by Bob Mathews.
417
2002-08-12 Werner Koch <wk@gnupg.org>
419
* cipher.c: Include the DUMMY cipher only when the new ALLOW_DUMMY
420
is defined. It should only be defined for hard core debugging.
422
2002-08-08 David Shaw <dshaw@jabberwocky.com>
424
* Makefile.am, md.c (load_digest_module): Allow switching TIGER on
425
and off via configure.
427
2002-08-07 David Shaw <dshaw@jabberwocky.com>
429
* md.c (md_algo_present): New function to check if a given algo is
430
in use for a given MD_HANDLE.
432
2002-08-04 Werner Koch <wk@gnupg.org>
434
* blowfish.h, cast5.h, des.h: Removed after moving all prototypes to
435
* algorithms.h: here. Changed all sources to use this one.
437
2002-08-03 Stefan Bellon <sbellon@sbellon.de>
439
* idea-stub.c (idea_get_info): RISC OS' Norcroft C needs a cast.
440
* random.c (getfnc_gather_random): Added RISC OS support.
441
* rndriscos.c: Removed dynload code and tidied up a bit.
443
2002-08-03 Werner Koch <wk@gnupg.org>
445
* rndegd.c (do_read): Handle case when read returns 0 to avoid
446
gpg hanging when EGD died. By Christian Biere.
448
2002-08-02 Werner Koch <wk@gnupg.org>
450
The big extension removal.
452
* Makefile.am: Removed all extension stuff.
453
* dynload.c: Removed everything except for
454
register_cipher_extension.
455
(dynload_enum_module_names): New.
456
* dynload.h: Removed.
457
* random.c (getfnc_gather_random,getfnc_fast_random_poll):
458
New. Replaced all dynload functions with these ones.
459
* rndunix.c (rndunix_gather_random): Renamed from
460
gather_random. Made global. Removed all dynload stuff.
461
* rndlinux.c (rndlinux_gather_random): Likewise.
462
* rndegd.c (rndegd_gather_random): Likewise.
463
* rndw32.c (rndw32_gather_random)
464
(rndw32_gather_random_fast): Likewise. Also removed the unsued
466
* md.c (new_list_item): Changed return value to indicate whether
467
an algorithms was loaded.
468
(load_digest_module): Simplified by removing all the dynload code.
470
* md5.c (md5_get_info): Made global. Removed all dynload stuff.
471
* rmd160.c (rmd160_get_info): Likewise.
472
* sha1.c (sha1_get_info): Likewise.
473
* tiger.c (tiger_get_info): Likewise. Return NULL if we can't use
476
* blowfish.h (idea_get_info): Add prototype.
477
* cipher.c (setup_cipher_table): Try to load IDEA.
478
(load_cipher_modules): Removed all dynload code.
479
* pubkey.c (load_pubkey_modules): Removed the dynloading code.
481
2002-07-25 David Shaw <dshaw@jabberwocky.com>
483
* random.c: "warning" -> "WARNING"
485
2002-07-02 Werner Koch <wk@gnupg.org>
487
* rndw32.c (slow_gatherer_windowsNT): Use a simple array for the
488
disk performance structure and increase it to the size required by
491
2002-06-29 Werner Koch <wk@gnupg.org>
493
* rndlinux.c: Removed HAVE_LINUX_RANDOM_H conditional because it
494
was never used and the configure test did set the wrong macro
497
2002-05-07 Stefan Bellon <sbellon@sbellon.de>
499
* md.c (md_start_debug): Use EXTSEP_S instead of ".".
501
2002-04-24 Werner Koch <wk@gnupg.org>
503
* tiger.c (tiger_final): Removed superfluous token pasting operators.
504
* md5.c (md5_final): Ditto.
506
2002-04-22 Stefan Bellon <sbellon@sbellon.de>
508
* rndriscos.c (func_table): Made func a function pointer.
509
(init_device): Improved loading of CryptRandom module.
511
2002-04-18 Werner Koch <wk@gnupg.org>
513
* rndlinux.c, rndegd.c, rndunix.c (func_table): Made func a
514
function pointer. Note that we still need to change the module
515
interface to cope with data vs function pointer problems. Hmmm,
516
even dlsym has a problem with this.
518
2002-04-10 David Shaw <dshaw@jabberwocky.com>
520
* cipher.c (setup_cipher_table, cipher_open, cipher_encrypt,
521
cipher_decrypt, dummy_setkey, dummy_encrypt_block,
522
dummy_decrypt_block): the dummy cipher should only be built on
523
development versions.
525
2002-04-06 Werner Koch <wk@gnupg.org>
527
* rijndael.c (rijndael_get_info): We do only support a 128 bit
528
blocksize so it makes sense to change the algorithm strings to
530
* cipher.c (string_to_cipher_algo): Map "RIJNDAEL" to "AES".
532
2002-02-14 Werner Koch <wk@gnupg.org>
534
* random.c (mix_pool): Removed the failsafe stuff again. It makes
535
the code more complicate and may give the path to more bugs.
537
2002-02-10 Werner Koch <wk@gnupg.org>
539
* random.c (mix_pool): Carry an extra failsafe_digest buffer
540
around to make the function more robust.
542
2002-02-08 Werner Koch <wk@gnupg.org>
544
* random.c (add_randomness): Xor new data into the pool and not
545
just copy it. This avoids any choosen input attacks which are not
546
serious in our setting because an outsider won't be able to mix
547
data in and even then we keep going with a PRNG. Thanks to Stefan
548
Keller for pointing this out.
550
2002-01-02 Stefan Bellon <sbellon@sbellon.de>
552
* rndriscos.c [__riscos__]: Updated include file name.
554
2001-12-21 Werner Koch <wk@gnupg.org>
556
* Makefile.am (DISCLEANFILES): Add construct.c
558
2001-12-19 Werner Koch <wk@gnupg.org>
560
* rndw32.c [CYGWIN32]: Include winioctl.h. By Disastry.
562
2001-11-08 Werner Koch <wk@gnupg.org>
564
* primegen.c (gen_prime): Set 2 high order bits for secret primes.
565
* rsa.c (generate): Loop until we find the exact modulus size.
566
Changed the exponent to 41.
568
2001-10-22 Werner Koch <wk@gnupg.org>
570
* Makefile.am: Need to use $(EXEEXT) where approriate.
572
2001-09-09 Werner Koch <wk@gnupg.org>
574
* rsa.c (rsa_get_info): s/usage/r_usage/ to avoid shadow warnings.
576
2001-08-24 Werner Koch <wk@gnupg.org>
578
* md.c (md_write): Made buf arg const.
580
2001-08-22 Werner Koch <wk@gnupg.org>
582
* random.c (fast_random_poll): Don't use gethrtime if it is broken.
584
2001-08-20 Werner Koch <wk@gnupg.org>
586
Applied patches from Stefan Bellon <sbellon@sbellon.de> to support
587
RISC OS. Nearly all of these patches are identified by the
589
* blowfish.c, twofish.c: Added pragmas for use with a Norcraft
591
* dynload.c, md5.c, rmd160.c, sha1.c: Minor patches for RISC OS.
593
* rnd-internal.h: Added prototype.
594
* random.c (fast_random_poll): Use '#if defined' instead of just
595
'defined'; needed for RISC OS.
596
* primegen.c (gen_prime): count? are now ints for consistence
599
2001-08-08 Werner Koch <wk@gnupg.org>
601
* rndw32.c (gather_random): Use toolhelp in addition to the NT
602
gatherer for Windows2000. Suggested by Sami Tolvanen.
604
* random.c (read_pool): Fixed length check, this used to be one
605
byte to strict. Made an assert out of it because the caller has
606
already made sure that only poolsize bytes are requested.
607
Reported by Marcus Brinkmann.
609
2001-07-18 Werner Koch <wk@gnupg.org>
611
* rndlinux.c (gather_random): casted a size_t arg to int so that
612
the format string is correct. Casting is okay here and avoids
615
2001-06-12 Werner Koch <wk@gnupg.org>
617
* cipher.c (string_to_cipher_algo): Use ascii_strcasecmp().
618
* md.c (string_to_digest_algo): Ditto.
619
* pubkey.c (string_to_pubkey_algo): Ditto.
620
* rndw32.c (slow_gatherer_windowsNT): Ditto. Not really needed
623
2001-04-29 Werner Koch <wk@gnupg.org>
625
* random.c (fast_random_poll): Do not check the return code of
628
2001-04-17 Werner Koch <wk@gnupg.org>
630
* rndunix.c: Add a signal.h header to avoid warnings on Solaris 7
633
2001-04-16 Werner Koch <wk@gnupg.org>
635
* dynload.c [__MINGW32__]: Applied patch from Timo Schulz to make
636
it work under W32. This patches is based on the one from
639
2001-04-06 Werner Koch <wk@gnupg.org>
641
* rijndael.c, des.c, blowfish.c, twofish.c, cast5.c (burn_stack):
642
New. Add wrappers for most functions to be able to call
643
burn_stack after the function invocation. This methods seems to be
644
the most portable way to zeroise the stack used. It does only work
645
on stack frame based machines but it is highly portable and has no
646
side effects. Just setting the automatic variables at the end of
647
a function to zero does not work well because the compiler will
648
optimize them away - marking them as volatile would be bad for
650
* md5.c, sha1.c, rmd160.c, tiger.c (burn_stack): Likewise.
651
* random.c (burn_stack): New.
652
(mix_pool): Use it here to burn the stack of the mixblock function.
654
2001-04-02 Werner Koch <wk@gnupg.org>
656
* primegen.c (generate_elg_prime): I was not initialized for mode
657
!= 1. Freed q at 3 places. Thanks to Tommi Komulainen.
659
2001-03-28 Werner Koch <wk@gnupg.org>
661
* md5.c (md5_final): Fixed calculation of hashed length. Thanks
662
to disastry@saiknes.lv for pointing out that it was horrible wrong
663
for more than 512MB of input.
664
* sha1.c (sha1_final): Ditto.
665
* rmd160.c (rmd160_final): Ditto.
666
* tiger.c (tiger_final): Ditto.
668
2001-03-19 Werner Koch <wk@gnupg.org>
670
* blowfish.c (encrypt,do_encrypt): Changed name to do_encrypt to
671
avoid name clahses with an encrypt function in stdlib.h of
672
Dynix/PIX. Thanks to Gene Carter.
673
* elgamal.c (encrypt,do_encrypt): Ditto.
675
2001-03-12 Werner Koch <wk@gnupg.org>
677
* twofish.c (gnupgext_enum_func): Add some static when comnpiled
680
* tiger.c (tiger_get_info): Return "TIGER192" and not just
681
"TIGER". By Edwin Woudt.
683
2001-03-08 Werner Koch <wk@gnupg.org>
685
* random.c: Always include time.h - standard requirement. Thanks
688
2001-01-18 Werner Koch <wk@gnupg.org>
690
* rndw32.c: Fixed typo and wrong ifdef for VER_PLATFORM* macro
692
2001-01-12 Werner Koch <wk@gnupg.org>
694
* cipher.c (cipher_encrypt,cipher_encrypt): Use blocksize and
695
not 8 for CBC mode (However: we don't use CBS in OpenPGP).
697
2000-11-22 Werner Koch <wk@gnupg.org>
699
* rndegd.c (gather_random): Fixed default socket to be '=entropy'.
700
Thanks to Tomasz Kozlowski.
702
2000-10-12 Werner Koch <wk@gnupg.org>
705
* cipher.c: Add Rijndael support.
707
Wed Oct 4 15:50:18 CEST 2000 Werner Koch <wk@openit.de>
709
* sha1.c (transform): Use rol() macro. Actually this is not needed
710
for a newer gcc but there are still aoter compilers.
712
Thu Sep 14 14:20:38 CEST 2000 Werner Koch <wk@openit.de>
714
* random.c (fast_random_poll): Check ENOSYS for getrusage.
715
* rndunix.c: Add 2 sources for QNX. By Sam Roberts.
717
Wed Sep 13 18:12:34 CEST 2000 Werner Koch <wk@openit.de>
719
* rsa.c (secret): Speed up by using the CRT. For a 2k keys this
720
is about 3 times faster.
721
(stronger_key_check): New but unused code to check the secret key.
723
Wed Sep 6 17:55:47 CEST 2000 Werner Koch <wk@openit.de>
725
* rsa.c: Changed the comment about the patent.
726
* Makefile.am: Included rsa.[ch].
727
* pubkey.c: Enabled RSA support.
728
(pubkey_get_npkey): Removed RSA workaround.
730
Fri Aug 25 16:05:38 CEST 2000 Werner Koch <wk@openit.de>
732
* rndlinux.c (open_device): Loose random device checking.
735
* rndegd.c (gather_random): Name of socket is nom configurable.
737
Wed Jun 28 11:54:44 CEST 2000 Werner Koch <wk@>
739
* rsa.c, rsa.h: New based on the old module version (only in CVS for now).
740
* pubkey.c (setup_pubkey_table): Added commented support for RSA.
742
Fri Jun 9 10:09:52 CEST 2000 Werner Koch <wk@openit.de>
744
* rndunix.c (waitpid): New. For UTS 2.1. All by Dave Dykstra.
745
(my_popen): Do the FD_CLOEXEC only if it is available
746
(start_gatherer): Cope with missing _SC_OPEN_MAX
748
Sun May 28 13:55:17 CEST 2000 Werner Koch <wk@openit.de>
750
* random.c (read_seed_file): Binary open for DOSish system
751
(update_random_seed_file): Ditto.
753
* rndw32.c: Add some debuging code enabled by an environment variable.
755
Tue May 23 09:19:00 CEST 2000 Werner Koch <wk@openit.de>
757
* rndw32.c: Started with alternative code to replace entropy.dll
759
Thu May 18 11:38:54 CEST 2000 Werner Koch <wk@openit.de>
761
* primegen.c (register_primegen_progress): New.
762
* dsa.c (register_pk_dsa_progress): New.
763
* elgamal.c (register_pk_elg_progress): New.
765
Fri Apr 14 19:37:08 CEST 2000 Werner Koch <wk@openit.de>
767
* twofish.c (twofish_get_info): Fixed warning about cast.
769
Tue Mar 28 14:26:58 CEST 2000 Werner Koch <wk@openit.de>
771
* random.c [MINGW32]: Include process.h for getpid.
773
Thu Mar 2 15:37:46 CET 2000 Werner Koch <wk@gnupg.de>
775
* random.c (fast_random_poll): Add clock_gettime() as fallback for
776
system which support this POSIX.4 fucntion. By Sam Roberts.
778
* rndunix.c: Add some more headers for QNX. By Sam Roberts.
780
* random.c (read_seed_file): Removed the S_ISLNK test becuase it
781
is already covered by !S_ISREG and is not defined in Unixware.
782
Reported by Dave Dykstra.
784
* sha1.c (sha1_get_info): Removed those stupid double lines. Dave
785
is really a good lint.
787
Wed Feb 23 10:07:57 CET 2000 Werner Koch <wk@gnupg.de>
789
* twofish.c (twofish_get_info): Add some const to the casts. By Martin
792
Mon Feb 14 14:30:20 CET 2000 Werner Koch <wk@gnupg.de>
794
(update_random_seed_file): Silently ignore update request when pool
797
Fri Feb 11 17:44:40 CET 2000 Werner Koch <wk@gnupg.de>
799
* random.c (read_seed_file): New.
800
(set_random_seed_file): New.
801
(read_pool): Try to read the seeding file.
802
(update_random_seed_file): New.
804
(read_pool): Do an initial extra seeding when level 2 quality random
805
is requested the first time. This requestes at least POOLSIZE/2 bytes
806
of entropy. Compined with the seeding file this should make normal
807
random bytes cheaper and increase the quality of the random bytes
808
used for key generation.
810
* rndegd.c (gather_random): Shortcut level 0.
811
* rndunix.c (gather_random): Ditto.
812
* rndw32.c (gather_random): Ditto.
814
Fri Jan 14 18:32:01 CET 2000 Werner Koch <wk@gnupg.de>
816
* rmd160.c (rmd160_get_info): Moved casting to the left side due to a
817
problem with UTS4.3. Suggested by Dave Dykstra.
818
* sha1.c (sha1_get_info): Ditto.
819
* tiger.c (tiger_get_info): Ditto.
820
* md5.c (md5_get_info): Ditto
821
* des.c (des_get_info): Ditto.
822
* blowfish.c (blowfish_get_info): Ditto.
823
* cast5.c (cast5_get_info): Ditto.
824
* twofish.c (twofish_get_info): Ditto.
826
Thu Jan 13 19:31:58 CET 2000 Werner Koch <wk@gnupg.de>
828
* elgamal.c (wiener_map): New.
829
(gen_k): Use a much smaller k.
830
(generate): Calculate the qbits using the wiener map and
831
choose an x at a size comparable to the one choosen in gen_k
833
* random.c (read_pool): Print a more friendly error message in
834
cases when too much random is requested in one call.
836
* Makefile.am (tiger): Replaced -O1 by -O. Suggested by Alec Habig.
838
Sat Dec 4 12:30:28 CET 1999 Werner Koch <wk@gnupg.de>
840
* primegen.c (generate_elg_prime): All primes are now generated with
841
the lowest random quality level. Becuase they are public anyway we
842
don't need stronger random and by this we do not drain the systems
845
Thu Oct 28 16:08:20 CEST 1999 Werner Koch <wk@gnupg.de>
847
* random.c (fast_random_poll): Check whether RUSAGE_SELF is defined;
848
this is not the case for some ESIX and Unixware, although they have
851
* elgamal.c (sign): Hugh found strange code here. Replaced by BUG().
853
Mon Oct 11 09:24:12 CEST 1999 Werner Koch <wk@gnupg.de>
855
* rndw32.c (gather_random): Handle PCP_SEEDER_TOO_SMALL.
857
Sat Oct 9 20:34:41 CEST 1999 Werner Koch <wk@gnupg.de>
859
* Makefile.am: Tweaked module build and removed libtool
861
Fri Oct 8 20:32:01 CEST 1999 Werner Koch <wk@gnupg.de>
863
* rndw32.c (load_and_init_winseed): Use the Registry to locate the DLL
865
Mon Oct 4 21:23:04 CEST 1999 Werner Koch <wk@gnupg.de>
867
* md.c (md_reset): Clear finalized; thanks to Ulf Moeller for
870
Sat Sep 18 12:51:51 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
872
* Makefile.am: Never compile mingw32 as module
874
Wed Sep 15 14:39:59 CEST 1999 Michael Roth <mroth@nessie.de>
876
* des.c: Various speed improvements: One bit pre rotation
877
trick after initial permutation (Richard Outerbridge).
878
Finished test of SSLeay Tripple-DES patterns.
880
Wed Sep 15 16:22:17 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
884
Mon Sep 13 10:51:29 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
887
* rmd160.h, sha1.h, md5.h: Use the rol macro from bithelp.h
889
Tue Sep 7 16:23:36 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
891
* Makefile.am: Fixed seds for latest egcc. By Ollivier Robert.
893
Mon Sep 6 19:59:08 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
895
* des.c (selftest): Add some testpattern
897
Mon Aug 30 20:38:33 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
899
* cipher.c (do_cbc_encrypt): Fixed serious bug occuring when not using
900
in place encryption. Pointed out by Frank Stajano.
902
Mon Jul 26 09:34:46 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
904
* md5.c (md5_final): Fix for a SCO cpp bug.
906
Thu Jul 15 10:15:35 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
908
* elgamal.c (elg_check_secret_key,elg_encrypt
909
elg_decrypt,elg_sign,elg_verify): Sanity check on the args.
910
* dsa.c (dsa_check_secret_key,dsa_sign,dsa_verify): Ditto.
912
* pubkey.c (disable_pubkey_algo): New.
913
(check_pubkey_algo2): Look at disabled algo table.
914
* cipher.c (disable_cipher_algo): New.
915
(check_cipher_algo): Look at disabled algo table.
917
Wed Jul 7 13:08:40 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
919
* Makefile.am: Support for libtool.
921
Fri Jul 2 11:45:54 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
923
* dsa.c (gen_k): Changed algorithm to consume less random bytes
924
* elgamal.c (gen_k): Ditto.
926
* random.c (random_dump_stats): New.
928
Thu Jul 1 12:47:31 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
930
* primegen.c, elgamal.c, dsa.c (progess): New and replaced all
931
fputc with a call to this function.
933
Sat Jun 26 12:15:59 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
935
* rndegd.c (do_write): s/ssize_t/int/ due to SunOS 4.1 probs.
937
* cipher.c (do_cbc_encrypt, do_cbc_decrypt): New.
939
* dynload.c (HAVE_DL_SHL_LOAD): Map hpux API to dlopen (Dave Dykstra).
940
* Makefile.am (install-exec-hook): Removed.
942
Sun May 23 14:20:22 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
944
* cipher.c (setup_cipher_table): Enable Twofish
946
* random.c (fast_random_poll): Disable use of times() for mingw32.
948
Mon May 17 21:54:43 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
950
* dynload.c (register_internal_cipher_extension): Minor init fix.
952
Tue May 4 15:47:53 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
954
* primegen.c (gen_prime): Readded the Fermat test. Fixed the bug
955
that we didn't correct for step when passing the prime to the
956
Rabin-Miller test which led to bad performance (Stefan Keller).
957
(check_prime): Add a first Fermat test.
959
Sun Apr 18 10:11:28 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
961
* cipher.c (cipher_setiv): Add ivlen arg, changed all callers.
963
* random.c (randomize_buffer): alway use secure memory because
964
we can't use m_is_secure() on a statically allocated buffer.
966
* twofish.c: Replaced some macros by a loop to reduce text size.
967
* Makefile.am (twofish): No more need for sed editing.
969
Fri Apr 9 12:26:25 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
971
* cipher.c (cipher_open): Reversed the changes for AUTO_CFB.
973
* blowfish.c: Dropped the Blowfish 160 mode.
974
* cipher.c (cipher_open): Ditto.
975
(setup_cipher_table): Ditto. And removed support of twofish128
977
Wed Apr 7 20:51:39 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
979
* random.c (get_random_bits): Can now handle requests > POOLSIZE
981
* cipher.c (cipher_open): Now uses standard CFB for automode if
982
the blocksize is gt 8 (according to rfc2440).
984
* twofish.c: Applied Matthew Skala's patches for 256 bit key.
986
Tue Apr 6 19:58:12 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
988
* random.c (get_random_bits): Can now handle requests > POOLSIZE
990
* cipher.c (cipher_open): Now uses standard CFB for automode if
991
the blocksize is gt 8 (according to rfc2440).
993
Sat Mar 20 11:44:21 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
995
* rndlinux.c (tty_printf) [IS_MODULE]: Removed.
997
* rndegd.c (gather_random): Some fixes.
999
Wed Mar 17 13:09:03 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1001
* rndegd.c (do_read): New.
1002
(gather_random): Changed the implementation.
1004
Mon Mar 8 20:47:17 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1006
* dynload.c (DLSYM_NEEDS_UNDERSCORE): Renamed.
1008
Fri Feb 26 17:55:41 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1010
* md.c: Nearly a total rewrote.
1012
Wed Feb 24 11:07:27 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1014
* cipher.c (context): Fixed alignment
1019
Mon Feb 22 20:04:00 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1023
Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1025
* Makefile.am: Modules are now figured out by configure
1026
* construct.c: New. Generated by configure. Changed all modules
1031
* twofish.c: Changed interface to allow Twofish/256
1033
* rndunix.c (start_gatherer): Die on SIGPIPE.
1035
Wed Jan 20 18:59:49 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1037
* rndunix.c (gather_random): Fix to avoid infinite loop.
1039
Sun Jan 17 11:04:33 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1041
* des.c (is_weak_key): Replace system memcmp due to bugs
1043
(des_get_info): Return error on failed selftest.
1044
* twofish.c (twofish_setkey): Return error on failed selftest or
1046
* cast5.c (cast_setkey): Ditto.
1047
* blowfish.c (bf_setkey): Return error on failed selftest.
1049
Tue Jan 12 11:17:18 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1051
* random.c (random_is_faked): New.
1053
* tiger.c: Only compile if we have the u64 type
1055
Sat Jan 9 16:02:23 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1057
* rndunix.c (gather_random): check for setuid.
1059
* Makefile.am: Add a way to staically link random modules
1061
Thu Jan 7 18:00:58 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1063
* md.c (md_stop_debug): Do a flush first.
1064
(md_open): size of buffer now depends on the secure parameter
1066
Sun Jan 3 15:28:44 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
1068
* rndunix.c (start_gatherer): Fixed stupid ==/= bug
1070
1998-12-31 Geoff Keating <geoffk@ozemail.com.au>
1072
* des.c (is_weak_key): Rewrite loop end condition.
1074
Tue Dec 29 14:41:47 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
1076
* random.c: add unistd.h for getpid().
1077
(RAND_MAX): Fallback value for Sun.
1079
Wed Dec 23 17:12:24 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
1081
* md.c (md_copy): Reset debug.
1083
Mon Dec 14 21:18:49 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
1085
* random.c (read_random_source): Changed the interface to the
1086
random gathering function.
1087
(gather_faked): Use new interface.
1088
* dynload.c (dynload_getfnc_fast_random_poll): Ditto.
1089
(dynload_getfnc_gather_random): Ditto.
1090
* rndlinux.c (gather_random): Ditto.
1091
* rndunix.c (gather_random): Ditto.
1093
Sat Dec 12 18:40:32 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
1095
* dynload.c (SYMBOL_VERSION): New to cope with system which needs
1098
* rndunix.c: Rewrote large parts
1100
Thu Dec 10 20:15:36 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
1102
* dynload.c (load_extension): increased needed verbosity level.
1104
* random.c (fast_random_poll): Fallback to a default fast random
1106
(read_random_source): Always use the faked entroy gatherer if no
1107
gather module is available.
1108
* rndlinux.c (fast_poll): Removed.
1109
* rndunix.c (fast_poll): Removed.
1112
Wed Nov 25 12:33:41 1998 Werner Koch (wk@isil.d.shuttle.de)
1114
* rand-*.c: Removed.
1117
* random.c : Restructured the interface to the gather modules.
1118
(intialize): Call constructor functions
1119
(read_radnom_source): Moved to here.
1120
* dynload.c (dynload_getfnc_gather_random): New.
1121
(dynload_getfnc_fast_random_poll): New.
1122
(register_internal_cipher_extension): New.
1123
(register_cipher_extension): Support of internal modules.
1125
Sun Nov 8 17:44:36 1998 Werner Koch (wk@isil.d.shuttle.de)
1127
* rand-unix.c (read_random_source): Removed the assert.
1129
Mon Oct 19 18:34:30 1998 me,,, (wk@tobold)
1131
* pubkey.c: Hack to allow us to give some info about RSA keys back.
1133
Thu Oct 15 11:47:57 1998 Werner Koch (wk@isil.d.shuttle.de)
1135
* dynload.c: Support for DLD
1137
Wed Oct 14 12:13:07 1998 Werner Koch (wk@isil.d.shuttle.de)
1139
* rand-unix.c: Now uses names from configure for /dev/random.
1141
1998-10-10 SL Baur <steve@altair.xemacs.org>
1143
* Makefile.am: fix sed -O substitutions to catch -O6, etc.
1145
Tue Oct 6 10:06:32 1998 Werner Koch (wk@isil.d.shuttle.de)
1147
* rand-unix.c (HAVE_GETTIMEOFDAY): Fixed (was ..GETTIMEOFTIME :-)
1148
* rand-dummy.c (HAVE_GETTIMEOFDAY): Ditto.
1150
Mon Sep 28 13:23:09 1998 Werner Koch (wk@isil.d.shuttle.de)
1152
* md.c (md_digest): New.
1155
Wed Sep 23 12:27:02 1998 Werner Koch (wk@isil.d.shuttle.de)
1157
* tiger.c (TIGER_CONTEXT): moved "buf", so that it is 64 bit aligned.
1159
Mon Sep 21 06:22:53 1998 Werner Koch (wk@(none))
1161
* des.c: Some patches from Michael.
1163
Thu Sep 17 19:00:06 1998 Werner Koch (wk@(none))
1165
* des.c : New file from Michael Roth <mroth@nessie.de>
1167
Mon Sep 14 11:10:55 1998 Werner Koch (wk@(none))
1169
* blowfish.c (bf_setkey): Niklas Hernaeus patch to detect weak keys.
1171
Mon Sep 14 09:19:25 1998 Werner Koch (wk@(none))
1173
* dynload.c (RTLD_NOW): Now defined to 1 if it is undefined.
1175
Mon Sep 7 17:04:33 1998 Werner Koch (wk@(none))
1177
* Makefile.am: Fixes to allow a different build directory
1179
Thu Aug 6 17:25:38 1998 Werner Koch,mobil,,, (wk@tobold)
1181
* random.c (get_random_byte): Removed and changed all callers
1182
to use get_random_bits()
1184
Mon Jul 27 10:30:22 1998 Werner Koch (wk@(none))
1186
* cipher.c : Support for other blocksizes
1187
(cipher_get_blocksize): New.
1189
* Makefile.am: Add twofish module.
1191
Mon Jul 13 21:30:52 1998 Werner Koch (wk@isil.d.shuttle.de)
1193
* random.c (read_pool): Simple alloc if secure_alloc is not set.
1194
(get_random_bits): Ditto.
1196
Thu Jul 9 13:01:14 1998 Werner Koch (wk@isil.d.shuttle.de)
1198
* dynload.c (load_extension): Function now nbails out if
1199
the program is run setuid.
1201
Wed Jul 8 18:58:23 1998 Werner Koch (wk@isil.d.shuttle.de)
1203
* rmd160.c (rmd160_hash_buffer): New.
1205
Thu Jul 2 10:50:30 1998 Werner Koch (wk@isil.d.shuttle.de)
1207
* cipher.c (cipher_open): algos >=100 use standard CFB
1209
Thu Jun 25 11:18:25 1998 Werner Koch (wk@isil.d.shuttle.de)
1211
* Makefile.am: Support for extensions
1213
Thu Jun 18 12:09:38 1998 Werner Koch (wk@isil.d.shuttle.de)
1215
* random.c (mix_pool): simpler handling for level 0
1217
Mon Jun 15 14:40:48 1998 Werner Koch (wk@isil.d.shuttle.de)
1219
* tiger.c: Removed from dist, will reappear as dynload module
1221
Sat Jun 13 14:16:57 1998 Werner Koch (wk@isil.d.shuttle.de)
1223
* pubkey.c: Major changes to allow extensions. Changed the inteface
1224
of all public key ciphers and added the ability to load extensions
1229
Wed Jun 10 07:52:08 1998 Werner Koch,mobil,,, (wk@tobold)
1232
* cipher.c: Major changes to allow extensions.
1234
Mon Jun 8 22:43:00 1998 Werner Koch (wk@isil.d.shuttle.de)
1236
* cipher.c: Major internal chnages to support extensions.
1237
* blowfish.c (blowfish_get_info): New and made all internal
1238
functions static, changed heder.
1239
* cast5.c (cast5_get_info): Likewise.
1241
Mon Jun 8 12:27:52 1998 Werner Koch (wk@isil.d.shuttle.de)
1243
* tiger.c (transform): Fix for big endian
1245
* cipher.c (do_cfb_decrypt): Big endian fix.
1247
Fri May 22 07:30:39 1998 Werner Koch (wk@isil.d.shuttle.de)
1249
* md.c (md_get_oid): Add a new one for TIGER.
1251
Thu May 21 13:24:52 1998 Werner Koch (wk@isil.d.shuttle.de)
1253
* cipher.c: Add support for a dummy cipher
1255
Thu May 14 15:40:36 1998 Werner Koch (wk@isil.d.shuttle.de)
1257
* rmd160.c (transform): fixed sigbus - I should better
1258
add Christian von Roques's new implemenation of rmd160_write.
1260
Fri May 8 18:07:44 1998 Werner Koch (wk@isil.d.shuttle.de)
1262
* rand-internal.h, rand-unix.c, rand-w32.c, rand_dummy.c: New
1263
* random.c: Moved system specific functions to rand-****.c
1265
Fri May 8 14:01:17 1998 Werner Koch (wk@isil.d.shuttle.de)
1267
* random.c (fast_random_poll): add call to gethrtime.
1269
Tue May 5 21:28:55 1998 Werner Koch (wk@isil.d.shuttle.de)
1271
* elgamal.c (elg_generate): choosing x was not correct, could
1272
yield 6 bytes which are not from the random pool, tsss, tsss..
1274
Tue May 5 14:09:06 1998 Werner Koch (wk@isil.d.shuttle.de)
1276
* primegen.c (generate_elg_prime): Add arg mode, changed all
1277
callers and implemented mode 1.
1279
Mon Apr 27 14:41:58 1998 Werner Koch (wk@isil.d.shuttle.de)
1281
* cipher.c (cipher_get_keylen): New.
1283
Sun Apr 26 14:44:52 1998 Werner Koch (wk@isil.d.shuttle.de)
1285
* tiger.c, tiger.h: New.
1287
Wed Apr 8 14:57:11 1998 Werner Koch (wk@isil.d.shuttle.de)
1289
* misc.c (check_pubkey_algo2): New.
1291
Tue Apr 7 18:46:49 1998 Werner Koch (wk@isil.d.shuttle.de)
1294
* misc.c (check_cipher_algo): Moved to cipher.c
1295
* cast5.c: Moved many functions to cipher.c
1296
* blowfish.c: Likewise.
1298
Sat Apr 4 19:52:08 1998 Werner Koch (wk@isil.d.shuttle.de)
1300
* cast5.c: Implemented and tested.
1302
Wed Apr 1 16:38:27 1998 Werner Koch (wk@isil.d.shuttle.de)
1304
* elgamal.c (elg_generate): Faster generation of x in some cases.
1306
Thu Mar 19 13:54:48 1998 Werner Koch (wk@isil.d.shuttle.de)
1308
* blowfish.c (blowfish_decode_cfb): changed XOR operation
1309
(blowfish_encode_cfb): Ditto.
1311
Thu Mar 12 14:04:05 1998 Werner Koch (wk@isil.d.shuttle.de)
1313
* sha1.c (transform): Rewrote
1315
* blowfish.c (encrypt): Unrolled for rounds == 16
1318
Tue Mar 10 16:32:08 1998 Werner Koch (wk@isil.d.shuttle.de)
1320
* rmd160.c (transform): Unrolled the loop.
1322
Tue Mar 10 13:05:14 1998 Werner Koch (wk@isil.d.shuttle.de)
1324
* random.c (read_pool): Add pool_balance stuff.
1325
(get_random_bits): New.
1327
* elgamal.c (elg_generate): Now uses get_random_bits to generate x.
1330
Tue Mar 10 11:33:51 1998 Werner Koch (wk@isil.d.shuttle.de)
1332
* md.c (md_digest_length): New.
1334
Tue Mar 10 11:27:41 1998 Werner Koch (wk@isil.d.shuttle.de)
1336
* dsa.c (dsa_verify): Works.
1338
Mon Mar 9 12:59:08 1998 Werner Koch (wk@isil.d.shuttle.de)
1340
* dsa.c, dsa.h: Removed some unused code.
1342
Wed Mar 4 10:39:22 1998 Werner Koch (wk@isil.d.shuttle.de)
1344
* md.c (md_open): Add call to fast_random_poll.
1345
blowfish.c (blowfish_setkey): Ditto.
1347
Tue Mar 3 13:32:54 1998 Werner Koch (wk@isil.d.shuttle.de)
1349
* rmd160.c (rmd160_mixblock): New.
1350
* random.c: Restructured to start with a new RNG implementation.
1353
Mon Mar 2 19:21:46 1998 Werner Koch (wk@isil.d.shuttle.de)
1355
* gost.c, gost.h: Removed because they did only conatin trash.
1357
Sun Mar 1 16:42:29 1998 Werner Koch (wk@isil.d.shuttle.de)
1359
* random.c (fill_buffer): removed error message if n == -1.
1361
Fri Feb 27 16:39:34 1998 Werner Koch (wk@isil.d.shuttle.de)
1363
* md.c (md_enable): No init if called twice.
1365
Thu Feb 26 07:57:02 1998 Werner Koch (wk@isil.d.shuttle.de)
1367
* primegen.c (generate_elg_prime): Changed the progress printing.
1370
Tue Feb 24 12:28:42 1998 Werner Koch (wk@isil.d.shuttle.de)
1372
* md5.c, md.5 : Replaced by a modified version of md5.c from
1375
Wed Feb 18 14:08:30 1998 Werner Koch (wk@isil.d.shuttle.de)
1377
* md.c, md.h : New debugging support
1379
Mon Feb 16 10:08:47 1998 Werner Koch (wk@isil.d.shuttle.de)
1381
* misc.c (cipher_algo_to_string): New
1382
(pubkey_algo_to_string): New.
1383
(digest_algo_to_string): New.
1387
Copyright 1998, 1999, 2000, 2001, 2002, 2003,
1388
2004, 2005 Free Software Foundation, Inc.
1390
This file is free software; as a special exception the author gives
1391
unlimited permission to copy and/or distribute it, with or without
1392
modifications, as long as this notice is preserved.
1394
This file is distributed in the hope that it will be useful, but
1395
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
1396
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.