~ubuntu-branches/ubuntu/vivid/gnupg/vivid

« back to all changes in this revision

Viewing changes to cipher/ChangeLog-2011

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-12-04 22:26:16 UTC
  • mfrom: (1.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20121204222616-cr0fow26geq90l3y
Tags: 1.4.12-6ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Disable mlock() test since it fails with ulimit 0 (on buildds).
  - Set gpg (or gpg2) and gpgsm to use a passphrase agent by default.
  - Only suggest gnupg-curl and libldap; recommendations are pulled into
    minimal, and we don't need the keyserver utilities in a minimal Ubuntu
    system.
  - Remove the Win32 build.
  - Update config.guess/config.sub for aarch64.
* Dropped patches:
  - Fix udeb build failure on powerpc, building with -O2 instead of -Os.
    (No longer seems to be necessary.)
* Simplify removal of Win32 build, to make this easier to merge in future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2011-12-02  Werner Koch  <wk@g10code.com>
 
2
 
 
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.
 
7
 
 
8
2011-08-09  Werner Koch  <wk@g10code.com>
 
9
 
 
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.
 
13
 
 
14
        * dynload.c (register_cipher_extension): Remove unused var.
 
15
 
 
16
2010-10-18  Werner Koch  <wk@g10code.com>
 
17
 
 
18
        * rndw32.c (slow_gatherer_windowsNT): Add GNUPG_RNDW32_NOPERF envvar.
 
19
 
 
20
2010-09-28  Steven M. Schweda  <sms@antinode.info>  (wk)
 
21
 
 
22
        Changes to help the VMS port. See
 
23
        http://antinode.info/dec/sw/gnupg.html .
 
24
 
 
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.
 
31
 
 
32
2008-04-17  David Shaw  <dshaw@jabberwocky.com>
 
33
 
 
34
        * camellia-glue.c (selftest, camellia_get_info), cipher.c
 
35
        (setup_cipher_table): Add Camellia-192.
 
36
 
 
37
2008-03-22  Werner Koch  <wk@g10code.com>
 
38
 
 
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.
 
46
 
 
47
2007-12-12  Werner Koch  <wk@g10code.com>
 
48
 
 
49
        * pubkey.c (pubkey_encrypt, pubkey_decrypt): Allow type 20 keys.
 
50
        (pubkey_algo_to_string): Ditto.
 
51
 
 
52
2007-12-11  Werner Koch  <wk@g10code.com>
 
53
 
 
54
        * pubkey.c (check_pubkey_algo2): Hack to allow decryption using an
 
55
        type 20 Elgamal key.
 
56
 
 
57
2007-11-29  David Shaw  <dshaw@jabberwocky.com>
 
58
 
 
59
        * camellia-glue.c (camellia_get_info), cipher.c
 
60
        (setup_cipher_table): Add 128-bit variant of Camellia.
 
61
 
 
62
2007-11-28  David Shaw  <dshaw@jabberwocky.com>
 
63
 
 
64
        * sha256.c (sha224_get_info): 4880 has an error in the SHA-224 OID
 
65
        and we inherited it.  Fixing.
 
66
 
 
67
2007-10-23  Werner Koch  <wk@g10code.com>
 
68
 
 
69
        Switched entire package to GPLv3+.
 
70
 
 
71
2007-07-09  Werner Koch  <wk@g10code.com>
 
72
 
 
73
        * camellia.c, camellia.h: Fixed the FSF's postal address.
 
74
 
 
75
2007-06-13  David Shaw  <dshaw@jabberwocky.com>
 
76
 
 
77
        * Makefile.am, algorithms.h, cipher.c (setup_cipher_table): Add
 
78
        Camellia.
 
79
 
 
80
        * camellia-glue.c: New.  These are glue functions to interface
 
81
        GnuPG to the stock NTT Camellia distribution.
 
82
 
 
83
        * camellia.h, camellia.c: New.  Version 1.2.0 of the Camellia code
 
84
        (GPL) unchanged from
 
85
        http://info.isl.ntt.co.jp/crypt/eng/camellia/index.html
 
86
 
 
87
2006-12-11  Werner Koch  <wk@g10code.com>
 
88
 
 
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.
 
93
        (generate): Ditto.
 
94
        (rsa_verify): Ditto.
 
95
        * primegen.c (generate_elg_prime): Ditto.
 
96
        (gen_prime): Ditto.
 
97
        * dsa.c (test_keys): Ditto.  This also rounds up the value.
 
98
 
 
99
        * Makefile.am (AM_CPPFLAGS): Use instead of INCLUDES.  define
 
100
        GNUPG_LIBDIR.
 
101
 
 
102
2006-11-03  Werner Koch  <wk@g10code.com>
 
103
 
 
104
        * random.c [HAVE_GETTIMEOFDAY]: Included sys/time.h and not
 
105
        sys/times.h.  Reported by Rafaël Carré.
 
106
 
 
107
2006-06-28  David Shaw  <dshaw@jabberwocky.com>
 
108
 
 
109
        * rsa.c (generate): Use e=65537 for new RSA keys.
 
110
 
 
111
2006-04-20  David Shaw  <dshaw@jabberwocky.com>
 
112
 
 
113
        * dsa.c (dsa2_generate): New function to generate a DSA key with a
 
114
        variable sized q.
 
115
        (generate): Tweak to allow keys larger than 1024 bits.  Enforce
 
116
        that the q size doesn't end between byte boundaries.
 
117
 
 
118
2006-04-19  David Shaw  <dshaw@jabberwocky.com>
 
119
 
 
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.
 
123
 
 
124
2006-03-20  David Shaw  <dshaw@jabberwocky.com>
 
125
 
 
126
        * blowfish.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c: Revert
 
127
        previous change.  It's now all done in configure.
 
128
 
 
129
2006-03-19  David Shaw  <dshaw@jabberwocky.com>
 
130
 
 
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
 
135
        macro.
 
136
 
 
137
2006-02-14  Werner Koch  <wk@gnupg.org>
 
138
 
 
139
        * random.c (lock_seed_file): Build even when not used.
 
140
 
 
141
2006-02-09  Werner Koch  <wk@g10code.com>
 
142
 
 
143
        * random.c (lock_seed_file): New.
 
144
        (read_seed_file, update_random_seed_file): Use it.
 
145
        (random_disable_locking): New.
 
146
 
 
147
2005-12-06  David Shaw  <dshaw@jabberwocky.com>
 
148
 
 
149
        * idea-stub.c (load_module): Not legal to return a void * as a
 
150
        function pointer.
 
151
 
 
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
 
155
        consistency.
 
156
 
 
157
2005-08-11  Werner Koch  <wk@g10code.com>
 
158
 
 
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.
 
162
 
 
163
2005-06-07  David Shaw  <dshaw@jabberwocky.com>
 
164
 
 
165
        * random.c: Fix prototype of the fast random gatherer.  Noted by
 
166
        Joe Vender.
 
167
 
 
168
2005-03-23  Werner Koch  <wk@g10code.com>
 
169
 
 
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
 
172
        Sascha Kiefer.
 
173
 
 
174
2005-03-07  Werner Koch  <wk@g10code.com>
 
175
 
 
176
        * primegen.c (is_prime): Free A2.  Noted by pmike2001@mail.ru.
 
177
        Fixes #423.
 
178
 
 
179
2004-11-30  David Shaw  <dshaw@jabberwocky.com>
 
180
 
 
181
        * md.c (string_to_digest_algo): Allow read/write SHA384 and
 
182
        SHA512.
 
183
 
 
184
2004-11-03  Timo Schulz  <twoaday@g10code.com>
 
185
 
 
186
        * idea-stub.c (dlopen, dlsym): Use w32_strerror instead of
 
187
        just showing the error number.
 
188
 
 
189
2004-10-14  Werner Koch  <wk@g10code.com>
 
190
 
 
191
        * rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
 
192
        logging.
 
193
 
 
194
2004-10-12  David Shaw  <dshaw@jabberwocky.com>
 
195
 
 
196
        * algorithms.h, cast5.c, cipher.c, idea-stub.c, twofish.c,
 
197
        blowfish.c, des.c, rijndael.c: Consistently use const for input
 
198
        buffers.
 
199
 
 
200
2004-09-23  Werner Koch  <wk@g10code.com>
 
201
 
 
202
        * rsa.c (rsa_generate): Return the dummy list of factors only if
 
203
        the caller asked for it.
 
204
 
 
205
2004-05-20  David Shaw  <dshaw@jabberwocky.com>
 
206
 
 
207
        * dsa.c (verify): s/exp/exponent/ to fix a compiler warning.  From
 
208
        Werner on stable branch.
 
209
 
 
210
2004-01-16  David Shaw  <dshaw@jabberwocky.com>
 
211
 
 
212
        * cipher.c (setup_cipher_table): May as well call Rijndael AES at
 
213
        this point.
 
214
 
 
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.
 
218
 
 
219
2003-12-29  David Shaw  <dshaw@jabberwocky.com>
 
220
 
 
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.
 
223
 
 
224
        * rijndael.c, rndunix.c, twofish.c: Remove dead IS_MODULE code.
 
225
 
 
226
        * g10c.c: Dead code.  Remove.
 
227
 
 
228
        * Makefile.am: Don't compile g10c.c.
 
229
 
 
230
2003-12-28  Stefan Bellon  <sbellon@sbellon.de>
 
231
 
 
232
        * rndriscos.c (rndriscos_gather_random) [__riscos__]: Declare
 
233
        variable outside loop.
 
234
 
 
235
        * blowfish.c, twofish.c [__riscos__]: Removal of unnecessary
 
236
        #ifdef __riscos__ sections.
 
237
 
 
238
2003-12-17  David Shaw  <dshaw@jabberwocky.com>
 
239
 
 
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.
 
243
 
 
244
2003-12-03  David Shaw  <dshaw@jabberwocky.com>
 
245
 
 
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.
 
251
 
 
252
2003-11-30  David Shaw  <dshaw@jabberwocky.com>
 
253
 
 
254
        * pubkey.c (setup_pubkey_table): Only include RSA if USE_RSA is
 
255
        defined.
 
256
        (pubkey_get_npkey): Return 2 for RSA even if it isn't available so
 
257
        we can at least handle RSA keys.
 
258
 
 
259
2003-11-27  Werner Koch  <wk@gnupg.org>
 
260
 
 
261
        * pubkey.c (pubkey_sign): Return an error if an ElGamal key is
 
262
        used.
 
263
 
 
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.
 
267
 
 
268
2003-10-10  Werner Koch  <wk@gnupg.org>
 
269
 
 
270
        * primegen.c (gen_prime): Bail out if we try to generate a prime
 
271
        with less than 16 bits. Include i18n.h.
 
272
 
 
273
2003-10-06  Werner Koch  <wk@gnupg.org>
 
274
 
 
275
        * primegen.c (gen_prime): Bail out if NBITS is zero.  This is
 
276
        Debian bug #213989 reported by Max <rusmir@tula.net>.
 
277
 
 
278
2003-09-04  David Shaw  <dshaw@jabberwocky.com>
 
279
 
 
280
        * md.c (string_to_digest_algo): Enable read-write SHA-256 support.
 
281
 
 
282
        * algorithms.h, Makefile.am, md.c (load_digest_module,
 
283
        string_to_digest_algo), tiger.c: Drop TIGER/192 support.
 
284
 
 
285
2003-08-28  David Shaw  <dshaw@jabberwocky.com>
 
286
 
 
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.
 
290
 
 
291
2003-08-21  David Shaw  <dshaw@jabberwocky.com>
 
292
 
 
293
        * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM
 
294
        twice.  Use NAME_OF_DEV_URANDOM.
 
295
 
 
296
2003-05-24  David Shaw  <dshaw@jabberwocky.com>
 
297
 
 
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.
 
304
 
 
305
2003-05-15  David Shaw  <dshaw@jabberwocky.com>
 
306
 
 
307
        * cipher.c (setup_cipher_table): #ifdef IDEA.
 
308
 
 
309
        * random.c (fast_random_poll): Only use times() if we HAVE_TIMES.
 
310
 
 
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.
 
314
 
 
315
        * idea-stub.c (load_module): Catch an error if the idea module
 
316
        file is unloadable for some reason (unreadable, bad permissions,
 
317
        etc.)
 
318
 
 
319
        * md.c (string_to_digest_algo): Give a warning about TIGER192 not
 
320
        being part of OpenPGP.
 
321
 
 
322
2003-04-15  Werner Koch  <wk@gnupg.org>
 
323
 
 
324
        * md.c (md_start_debug): Need to open the file in binary mode.
 
325
 
 
326
2003-02-21  David Shaw  <dshaw@jabberwocky.com>
 
327
 
 
328
        * cipher.c (setup_cipher_table): #ifdef all optional ciphers.
 
329
 
 
330
        * md.c (load_digest_module): #ifdef all optional digests.
 
331
 
 
332
2003-02-11  David Shaw  <dshaw@jabberwocky.com>
 
333
 
 
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
 
336
        configure.
 
337
 
 
338
2003-02-04  David Shaw  <dshaw@jabberwocky.com>
 
339
 
 
340
        * sha256.c, sha512.c: New.
 
341
 
 
342
        * Makefile.am, algorithms.h, md.c (load_digest_module,
 
343
        string_to_digest_algo): Add read-only support for the new SHAs.
 
344
 
 
345
2002-11-06  David Shaw  <dshaw@jabberwocky.com>
 
346
 
 
347
        * rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not
 
348
        required anymore. (From Werner)
 
349
 
 
350
        * random.c (read_seed_file,update_random_seed_file): Use binary
 
351
        mode for __CYGWIN__. (From Werner)
 
352
 
 
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().
 
360
 
 
361
2002-11-02  David Shaw  <dshaw@jabberwocky.com>
 
362
 
 
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.
 
365
 
 
366
2002-10-31  Stefan Bellon  <sbellon@sbellon.de>
 
367
 
 
368
        * rndriscos.c (rndriscos_gather_random): Use riscos_load_module()
 
369
        to load CryptRandom module.
 
370
 
 
371
2002-10-12  Werner Koch  <wk@gnupg.org>
 
372
 
 
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
 
376
        Cristian Biere.
 
377
        (start_gatherer): Likewise. Reordered code.
 
378
 
 
379
2002-10-02  David Shaw  <dshaw@jabberwocky.com>
 
380
 
 
381
        * tiger.c (tiger_get_info): Select the OID to use for TIGER at
 
382
        compile time.
 
383
 
 
384
2002-09-27  David Shaw  <dshaw@jabberwocky.com>
 
385
 
 
386
        * Makefile.am, md.c (load_digest_module): TIGER is now always
 
387
        enabled.
 
388
 
 
389
2002-09-26  Werner Koch  <wk@gnupg.org>
 
390
 
 
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 .
 
394
 
 
395
2002-09-17  Werner Koch  <wk@gnupg.org>
 
396
 
 
397
        * rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
 
398
 
 
399
2002-09-12  Stefan Bellon  <sbellon@sbellon.de>
 
400
 
 
401
        * rand-internal.h (rndriscos_gather_random): Added prototype.
 
402
 
 
403
2002-08-30  Werner Koch  <wk@gnupg.org>
 
404
 
 
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.
 
411
 
 
412
2002-08-20  Werner Koch  <wk@gnupg.org>
 
413
 
 
414
        * primegen.c (generate_elg_prime): Return all factors for mode 1.
 
415
        Bug reported by Bob Mathews.
 
416
 
 
417
2002-08-12  Werner Koch  <wk@gnupg.org>
 
418
 
 
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.
 
421
 
 
422
2002-08-08  David Shaw  <dshaw@jabberwocky.com>
 
423
 
 
424
        * Makefile.am, md.c (load_digest_module): Allow switching TIGER on
 
425
        and off via configure.
 
426
 
 
427
2002-08-07  David Shaw  <dshaw@jabberwocky.com>
 
428
 
 
429
        * md.c (md_algo_present): New function to check if a given algo is
 
430
        in use for a given MD_HANDLE.
 
431
 
 
432
2002-08-04  Werner Koch  <wk@gnupg.org>
 
433
 
 
434
        * blowfish.h, cast5.h, des.h: Removed after moving all prototypes to
 
435
        * algorithms.h: here. Changed all sources to use this one.
 
436
 
 
437
2002-08-03  Stefan Bellon  <sbellon@sbellon.de>
 
438
 
 
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.
 
442
 
 
443
2002-08-03  Werner Koch  <wk@gnupg.org>
 
444
 
 
445
        * rndegd.c (do_read): Handle case when read returns 0 to avoid
 
446
        gpg hanging when EGD died.  By Christian Biere.
 
447
 
 
448
2002-08-02  Werner Koch  <wk@gnupg.org>
 
449
 
 
450
        The big extension removal.
 
451
 
 
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
 
465
        entropy dll code.
 
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.
 
469
        * algorithms.h: New.
 
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
 
474
        this module.
 
475
        * idea-stub.c: New.
 
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.
 
480
 
 
481
2002-07-25  David Shaw  <dshaw@jabberwocky.com>
 
482
 
 
483
        * random.c: "warning" -> "WARNING"
 
484
 
 
485
2002-07-02  Werner Koch  <wk@gnupg.org>
 
486
 
 
487
        * rndw32.c (slow_gatherer_windowsNT): Use a simple array for the
 
488
        disk performance structure and increase it to the size required by
 
489
        W2000.
 
490
 
 
491
2002-06-29  Werner Koch  <wk@gnupg.org>
 
492
 
 
493
        * rndlinux.c: Removed HAVE_LINUX_RANDOM_H conditional because it
 
494
        was never used and the configure test did set the wrong macro
 
495
        anyway.
 
496
 
 
497
2002-05-07  Stefan Bellon  <sbellon@sbellon.de>
 
498
 
 
499
        * md.c (md_start_debug): Use EXTSEP_S instead of ".".
 
500
 
 
501
2002-04-24  Werner Koch  <wk@gnupg.org>
 
502
 
 
503
        * tiger.c (tiger_final): Removed superfluous token pasting operators.
 
504
        * md5.c (md5_final): Ditto.
 
505
 
 
506
2002-04-22  Stefan Bellon  <sbellon@sbellon.de>
 
507
 
 
508
        * rndriscos.c (func_table): Made func a function pointer.
 
509
        (init_device): Improved loading of CryptRandom module.
 
510
 
 
511
2002-04-18  Werner Koch  <wk@gnupg.org>
 
512
 
 
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.
 
517
 
 
518
2002-04-10  David Shaw  <dshaw@jabberwocky.com>
 
519
 
 
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.
 
524
 
 
525
2002-04-06  Werner Koch  <wk@gnupg.org>
 
526
 
 
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
 
529
        AES.
 
530
        * cipher.c (string_to_cipher_algo): Map "RIJNDAEL" to "AES".
 
531
 
 
532
2002-02-14  Werner Koch  <wk@gnupg.org>
 
533
 
 
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.
 
536
 
 
537
2002-02-10  Werner Koch  <wk@gnupg.org>
 
538
 
 
539
        * random.c (mix_pool): Carry an extra failsafe_digest buffer
 
540
        around to make the function more robust.
 
541
 
 
542
2002-02-08  Werner Koch  <wk@gnupg.org>
 
543
 
 
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.
 
549
 
 
550
2002-01-02  Stefan Bellon  <sbellon@sbellon.de>
 
551
 
 
552
        * rndriscos.c [__riscos__]: Updated include file name.
 
553
 
 
554
2001-12-21  Werner Koch  <wk@gnupg.org>
 
555
 
 
556
        * Makefile.am (DISCLEANFILES): Add construct.c
 
557
 
 
558
2001-12-19  Werner Koch  <wk@gnupg.org>
 
559
 
 
560
        * rndw32.c [CYGWIN32]: Include winioctl.h.  By Disastry.
 
561
 
 
562
2001-11-08  Werner Koch  <wk@gnupg.org>
 
563
 
 
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.
 
567
 
 
568
2001-10-22  Werner Koch  <wk@gnupg.org>
 
569
 
 
570
        * Makefile.am: Need to use $(EXEEXT) where approriate.
 
571
 
 
572
2001-09-09  Werner Koch  <wk@gnupg.org>
 
573
 
 
574
        * rsa.c (rsa_get_info): s/usage/r_usage/ to avoid shadow warnings.
 
575
 
 
576
2001-08-24  Werner Koch  <wk@gnupg.org>
 
577
 
 
578
        * md.c (md_write): Made buf arg const.
 
579
 
 
580
2001-08-22  Werner Koch  <wk@gnupg.org>
 
581
 
 
582
        * random.c (fast_random_poll): Don't use gethrtime if it is broken.
 
583
 
 
584
2001-08-20  Werner Koch  <wk@gnupg.org>
 
585
 
 
586
        Applied patches from Stefan Bellon <sbellon@sbellon.de> to support
 
587
        RISC OS.  Nearly all of these patches are identified by the
 
588
        __riscos__ macro.
 
589
        * blowfish.c, twofish.c: Added pragmas for use with a Norcraft
 
590
        compiler.
 
591
        * dynload.c, md5.c, rmd160.c, sha1.c: Minor patches for RISC OS.
 
592
        * rndriscos.c: New.
 
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
 
597
        with is_prime().
 
598
 
 
599
2001-08-08  Werner Koch  <wk@gnupg.org>
 
600
 
 
601
        * rndw32.c (gather_random): Use toolhelp in addition to the NT
 
602
        gatherer for Windows2000.  Suggested by Sami Tolvanen.
 
603
 
 
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.
 
608
 
 
609
2001-07-18  Werner Koch  <wk@gnupg.org>
 
610
 
 
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
 
613
        translation changes.
 
614
 
 
615
2001-06-12  Werner Koch  <wk@gnupg.org>
 
616
 
 
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
 
621
        here but anyway.
 
622
 
 
623
2001-04-29  Werner Koch  <wk@gnupg.org>
 
624
 
 
625
        * random.c (fast_random_poll): Do not check the return code of
 
626
        getrusage.
 
627
 
 
628
2001-04-17  Werner Koch  <wk@gnupg.org>
 
629
 
 
630
        * rndunix.c: Add a signal.h header to avoid warnings on Solaris 7
 
631
        and 8.
 
632
 
 
633
2001-04-16  Werner Koch  <wk@gnupg.org>
 
634
 
 
635
        * dynload.c [__MINGW32__]: Applied patch from Timo Schulz to make
 
636
        it work under W32.  This patches is based on the one from
 
637
        Disastry@saiknes.lv
 
638
 
 
639
2001-04-06  Werner Koch  <wk@gnupg.org>
 
640
 
 
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
 
649
        performance.
 
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.
 
653
 
 
654
2001-04-02  Werner Koch  <wk@gnupg.org>
 
655
 
 
656
        * primegen.c (generate_elg_prime): I was not initialized for mode
 
657
        != 1.  Freed q at 3 places.  Thanks to  Tommi Komulainen.
 
658
 
 
659
2001-03-28  Werner Koch  <wk@gnupg.org>
 
660
 
 
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.
 
667
 
 
668
2001-03-19  Werner Koch  <wk@gnupg.org>
 
669
 
 
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.
 
674
 
 
675
2001-03-12  Werner Koch  <wk@gnupg.org>
 
676
 
 
677
        * twofish.c (gnupgext_enum_func): Add some static when comnpiled
 
678
        as a module.
 
679
 
 
680
        * tiger.c (tiger_get_info): Return "TIGER192" and not just
 
681
        "TIGER".  By Edwin Woudt.
 
682
 
 
683
2001-03-08  Werner Koch  <wk@gnupg.org>
 
684
 
 
685
        * random.c: Always include time.h - standard requirement.  Thanks
 
686
        to James Troup.
 
687
 
 
688
2001-01-18  Werner Koch  <wk@gnupg.org>
 
689
 
 
690
        * rndw32.c: Fixed typo and wrong ifdef for VER_PLATFORM* macro
 
691
 
 
692
2001-01-12  Werner Koch  <wk@gnupg.org>
 
693
 
 
694
        * cipher.c (cipher_encrypt,cipher_encrypt): Use blocksize and
 
695
        not 8 for CBC mode (However: we don't use CBS in OpenPGP).
 
696
 
 
697
2000-11-22  Werner Koch  <wk@gnupg.org>
 
698
 
 
699
        * rndegd.c (gather_random): Fixed default socket to be '=entropy'.
 
700
        Thanks to Tomasz Kozlowski.
 
701
 
 
702
2000-10-12  Werner Koch  <wk@gnupg.org>
 
703
 
 
704
        * rijndael.c: New.
 
705
        * cipher.c: Add Rijndael support.
 
706
 
 
707
Wed Oct  4 15:50:18 CEST 2000  Werner Koch  <wk@openit.de>
 
708
 
 
709
        * sha1.c (transform): Use rol() macro.  Actually this is not needed
 
710
        for a newer gcc but there are still aoter compilers.
 
711
 
 
712
Thu Sep 14 14:20:38 CEST 2000  Werner Koch  <wk@openit.de>
 
713
 
 
714
        * random.c (fast_random_poll): Check ENOSYS for getrusage.
 
715
        * rndunix.c:  Add 2 sources for QNX. By Sam Roberts.
 
716
 
 
717
Wed Sep 13 18:12:34 CEST 2000  Werner Koch  <wk@openit.de>
 
718
 
 
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.
 
722
 
 
723
Wed Sep  6 17:55:47 CEST 2000  Werner Koch  <wk@openit.de>
 
724
 
 
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.
 
729
 
 
730
Fri Aug 25 16:05:38 CEST 2000  Werner Koch  <wk@openit.de>
 
731
 
 
732
        * rndlinux.c (open_device): Loose random device checking.
 
733
        By Nils Ellmenreich.
 
734
 
 
735
        * rndegd.c (gather_random): Name of socket is nom configurable.
 
736
 
 
737
Wed Jun 28 11:54:44 CEST 2000  Werner Koch  <wk@>
 
738
 
 
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.
 
741
 
 
742
Fri Jun  9 10:09:52 CEST 2000  Werner Koch  <wk@openit.de>
 
743
 
 
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
 
747
 
 
748
Sun May 28 13:55:17 CEST 2000  Werner Koch  <wk@openit.de>
 
749
 
 
750
  * random.c (read_seed_file): Binary open for DOSish system
 
751
  (update_random_seed_file): Ditto.
 
752
 
 
753
  * rndw32.c: Add some debuging code enabled by an environment variable.
 
754
 
 
755
Tue May 23 09:19:00 CEST 2000  Werner Koch  <wk@openit.de>
 
756
 
 
757
        * rndw32.c: Started with alternative code to replace entropy.dll
 
758
 
 
759
Thu May 18 11:38:54 CEST 2000  Werner Koch  <wk@openit.de>
 
760
 
 
761
        * primegen.c (register_primegen_progress): New.
 
762
        * dsa.c (register_pk_dsa_progress): New.
 
763
        * elgamal.c (register_pk_elg_progress): New.
 
764
 
 
765
Fri Apr 14 19:37:08 CEST 2000  Werner Koch  <wk@openit.de>
 
766
 
 
767
        * twofish.c (twofish_get_info): Fixed warning about cast.
 
768
 
 
769
Tue Mar 28 14:26:58 CEST 2000  Werner Koch  <wk@openit.de>
 
770
 
 
771
        * random.c [MINGW32]: Include process.h for getpid.
 
772
 
 
773
Thu Mar  2 15:37:46 CET 2000  Werner Koch  <wk@gnupg.de>
 
774
 
 
775
        * random.c (fast_random_poll): Add clock_gettime() as fallback for
 
776
        system which support this POSIX.4 fucntion. By Sam Roberts.
 
777
 
 
778
        * rndunix.c: Add some more headers for QNX. By Sam Roberts.
 
779
 
 
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.
 
783
 
 
784
        * sha1.c (sha1_get_info): Removed those stupid double lines. Dave
 
785
        is really a good lint.
 
786
 
 
787
Wed Feb 23 10:07:57 CET 2000  Werner Koch  <wk@gnupg.de>
 
788
 
 
789
        * twofish.c (twofish_get_info): Add some const to the casts.  By Martin
 
790
        Kahlert.
 
791
 
 
792
Mon Feb 14 14:30:20 CET 2000  Werner Koch  <wk@gnupg.de>
 
793
 
 
794
        (update_random_seed_file): Silently ignore update request when pool
 
795
        is not filled.
 
796
 
 
797
Fri Feb 11 17:44:40 CET 2000  Werner Koch  <wk@gnupg.de>
 
798
 
 
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.
 
803
 
 
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.
 
809
 
 
810
        * rndegd.c (gather_random): Shortcut level 0.
 
811
        * rndunix.c (gather_random): Ditto.
 
812
        * rndw32.c (gather_random): Ditto.
 
813
 
 
814
Fri Jan 14 18:32:01 CET 2000  Werner Koch  <wk@gnupg.de>
 
815
 
 
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.
 
825
 
 
826
Thu Jan 13 19:31:58 CET 2000  Werner Koch  <wk@gnupg.de>
 
827
 
 
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
 
832
 
 
833
        * random.c (read_pool): Print a more friendly error message in
 
834
        cases when too much random is requested in one call.
 
835
 
 
836
        * Makefile.am (tiger): Replaced -O1 by -O. Suggested by Alec Habig.
 
837
 
 
838
Sat Dec  4 12:30:28 CET 1999  Werner Koch  <wk@gnupg.de>
 
839
 
 
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
 
843
        entropy so much.
 
844
 
 
845
Thu Oct 28 16:08:20 CEST 1999  Werner Koch  <wk@gnupg.de>
 
846
 
 
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
 
849
        getrusage().
 
850
 
 
851
        * elgamal.c (sign): Hugh found strange code here. Replaced by BUG().
 
852
 
 
853
Mon Oct 11 09:24:12 CEST 1999  Werner Koch  <wk@gnupg.de>
 
854
 
 
855
        * rndw32.c (gather_random): Handle PCP_SEEDER_TOO_SMALL.
 
856
 
 
857
Sat Oct  9 20:34:41 CEST 1999  Werner Koch  <wk@gnupg.de>
 
858
 
 
859
        * Makefile.am:  Tweaked module build and removed libtool
 
860
 
 
861
Fri Oct  8 20:32:01 CEST 1999  Werner Koch  <wk@gnupg.de>
 
862
 
 
863
        * rndw32.c (load_and_init_winseed): Use the Registry to locate the DLL
 
864
 
 
865
Mon Oct  4 21:23:04 CEST 1999  Werner Koch  <wk@gnupg.de>
 
866
 
 
867
        * md.c (md_reset): Clear finalized; thanks to Ulf Moeller for
 
868
        fixing this bug.
 
869
 
 
870
Sat Sep 18 12:51:51 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
871
 
 
872
        * Makefile.am: Never compile mingw32 as module
 
873
 
 
874
Wed Sep 15 14:39:59 CEST 1999  Michael Roth <mroth@nessie.de>
 
875
 
 
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.
 
879
 
 
880
Wed Sep 15 16:22:17 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
881
 
 
882
        * rndw32.c: New.
 
883
 
 
884
Mon Sep 13 10:51:29 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
885
 
 
886
        * bithelp.h: New.
 
887
        * rmd160.h, sha1.h, md5.h: Use the rol macro from bithelp.h
 
888
 
 
889
Tue Sep  7 16:23:36 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
890
 
 
891
        * Makefile.am: Fixed seds for latest egcc. By Ollivier Robert.
 
892
 
 
893
Mon Sep  6 19:59:08 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
894
 
 
895
        * des.c (selftest): Add some testpattern
 
896
 
 
897
Mon Aug 30 20:38:33 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
898
 
 
899
        * cipher.c (do_cbc_encrypt): Fixed serious bug occuring when not using
 
900
        in place encryption. Pointed out by Frank Stajano.
 
901
 
 
902
Mon Jul 26 09:34:46 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
903
 
 
904
        * md5.c (md5_final): Fix for a SCO cpp bug.
 
905
 
 
906
Thu Jul 15 10:15:35 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
907
 
 
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.
 
911
 
 
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.
 
916
 
 
917
Wed Jul  7 13:08:40 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
918
 
 
919
        * Makefile.am: Support for libtool.
 
920
 
 
921
Fri Jul  2 11:45:54 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
922
 
 
923
        * dsa.c (gen_k): Changed algorithm to consume less random bytes
 
924
        * elgamal.c (gen_k): Ditto.
 
925
 
 
926
        * random.c (random_dump_stats): New.
 
927
 
 
928
Thu Jul  1 12:47:31 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
929
 
 
930
        * primegen.c, elgamal.c, dsa.c (progess): New and replaced all
 
931
        fputc with a call to this function.
 
932
 
 
933
Sat Jun 26 12:15:59 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
934
 
 
935
        * rndegd.c (do_write): s/ssize_t/int/ due to SunOS 4.1 probs.
 
936
 
 
937
        * cipher.c (do_cbc_encrypt, do_cbc_decrypt): New.
 
938
 
 
939
        * dynload.c (HAVE_DL_SHL_LOAD): Map hpux API to dlopen (Dave Dykstra).
 
940
        * Makefile.am (install-exec-hook): Removed.
 
941
 
 
942
Sun May 23 14:20:22 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
943
 
 
944
        * cipher.c (setup_cipher_table): Enable Twofish
 
945
 
 
946
        * random.c (fast_random_poll): Disable use of times() for mingw32.
 
947
 
 
948
Mon May 17 21:54:43 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
949
 
 
950
        * dynload.c (register_internal_cipher_extension): Minor init fix.
 
951
 
 
952
Tue May  4 15:47:53 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
953
 
 
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.
 
958
 
 
959
Sun Apr 18 10:11:28 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
960
 
 
961
        * cipher.c (cipher_setiv): Add ivlen arg, changed all callers.
 
962
 
 
963
        * random.c (randomize_buffer): alway use secure memory because
 
964
        we can't use m_is_secure() on a statically allocated buffer.
 
965
 
 
966
        * twofish.c: Replaced some macros by a loop to reduce text size.
 
967
        * Makefile.am (twofish): No more need for sed editing.
 
968
 
 
969
Fri Apr  9 12:26:25 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
970
 
 
971
        * cipher.c (cipher_open): Reversed the changes for AUTO_CFB.
 
972
 
 
973
        * blowfish.c: Dropped the Blowfish 160 mode.
 
974
        * cipher.c (cipher_open): Ditto.
 
975
        (setup_cipher_table): Ditto.  And removed support of twofish128
 
976
 
 
977
Wed Apr  7 20:51:39 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
978
 
 
979
        * random.c (get_random_bits): Can now handle requests > POOLSIZE
 
980
 
 
981
        * cipher.c (cipher_open): Now uses standard CFB for automode if
 
982
        the blocksize is gt 8 (according to rfc2440).
 
983
 
 
984
        * twofish.c: Applied Matthew Skala's patches for 256 bit key.
 
985
 
 
986
Tue Apr  6 19:58:12 CEST 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
987
 
 
988
        * random.c (get_random_bits): Can now handle requests > POOLSIZE
 
989
 
 
990
        * cipher.c (cipher_open): Now uses standard CFB for automode if
 
991
        the blocksize is gt 8 (according to rfc2440).
 
992
 
 
993
Sat Mar 20 11:44:21 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
994
 
 
995
        * rndlinux.c (tty_printf) [IS_MODULE]: Removed.
 
996
 
 
997
        * rndegd.c (gather_random): Some fixes.
 
998
 
 
999
Wed Mar 17 13:09:03 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1000
 
 
1001
        * rndegd.c (do_read): New.
 
1002
        (gather_random): Changed the implementation.
 
1003
 
 
1004
Mon Mar  8 20:47:17 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1005
 
 
1006
        * dynload.c (DLSYM_NEEDS_UNDERSCORE): Renamed.
 
1007
 
 
1008
Fri Feb 26 17:55:41 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1009
 
 
1010
        * md.c: Nearly a total rewrote.
 
1011
 
 
1012
Wed Feb 24 11:07:27 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1013
 
 
1014
        * cipher.c (context): Fixed alignment
 
1015
        * md.c: Ditto.
 
1016
 
 
1017
        * rndegd.c: New
 
1018
 
 
1019
Mon Feb 22 20:04:00 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1020
 
 
1021
        * rndegd.c: New.
 
1022
 
 
1023
Wed Feb 10 17:15:39 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1024
 
 
1025
        * Makefile.am: Modules are now figured out by configure
 
1026
        * construct.c: New. Generated by configure. Changed all modules
 
1027
        to work with that.
 
1028
        * sha1.h: Removed.
 
1029
        * md5.h: Removed.
 
1030
 
 
1031
        * twofish.c: Changed interface to allow Twofish/256
 
1032
 
 
1033
        * rndunix.c (start_gatherer): Die on SIGPIPE.
 
1034
 
 
1035
Wed Jan 20 18:59:49 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1036
 
 
1037
        * rndunix.c (gather_random): Fix to avoid infinite loop.
 
1038
 
 
1039
Sun Jan 17 11:04:33 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1040
 
 
1041
        * des.c (is_weak_key): Replace system memcmp due to bugs
 
1042
        in SunOS's memcmp.
 
1043
        (des_get_info): Return error on failed selftest.
 
1044
        * twofish.c (twofish_setkey): Return error on failed selftest or
 
1045
        invalid keylength.
 
1046
        * cast5.c (cast_setkey): Ditto.
 
1047
        * blowfish.c (bf_setkey): Return error on failed selftest.
 
1048
 
 
1049
Tue Jan 12 11:17:18 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1050
 
 
1051
        * random.c (random_is_faked): New.
 
1052
 
 
1053
        * tiger.c: Only compile if we have the u64 type
 
1054
 
 
1055
Sat Jan  9 16:02:23 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1056
 
 
1057
        * rndunix.c (gather_random): check for setuid.
 
1058
 
 
1059
        * Makefile.am: Add a way to staically link random modules
 
1060
 
 
1061
Thu Jan  7 18:00:58 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1062
 
 
1063
        * md.c (md_stop_debug): Do a flush first.
 
1064
        (md_open): size of buffer now depends on the secure parameter
 
1065
 
 
1066
Sun Jan  3 15:28:44 CET 1999  Werner Koch  <wk@isil.d.shuttle.de>
 
1067
 
 
1068
        * rndunix.c (start_gatherer): Fixed stupid ==/= bug
 
1069
 
 
1070
1998-12-31  Geoff Keating  <geoffk@ozemail.com.au>
 
1071
 
 
1072
        * des.c (is_weak_key): Rewrite loop end condition.
 
1073
 
 
1074
Tue Dec 29 14:41:47 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
1075
 
 
1076
        * random.c: add unistd.h for getpid().
 
1077
        (RAND_MAX): Fallback value for Sun.
 
1078
 
 
1079
Wed Dec 23 17:12:24 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
1080
 
 
1081
        * md.c (md_copy): Reset debug.
 
1082
 
 
1083
Mon Dec 14 21:18:49 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
1084
 
 
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.
 
1092
 
 
1093
Sat Dec 12 18:40:32 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
1094
 
 
1095
        * dynload.c (SYMBOL_VERSION): New to cope with system which needs
 
1096
        underscores.
 
1097
 
 
1098
        * rndunix.c: Rewrote large parts
 
1099
 
 
1100
Thu Dec 10 20:15:36 CET 1998  Werner Koch  <wk@isil.d.shuttle.de>
 
1101
 
 
1102
        * dynload.c (load_extension): increased needed verbosity level.
 
1103
 
 
1104
        * random.c (fast_random_poll): Fallback to a default fast random
 
1105
        poll function.
 
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.
 
1110
 
 
1111
 
 
1112
Wed Nov 25 12:33:41 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1113
 
 
1114
        * rand-*.c: Removed.
 
1115
        * rndlinux.c : New.
 
1116
        * rndunix.c : New.
 
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.
 
1124
 
 
1125
Sun Nov  8 17:44:36 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1126
 
 
1127
        * rand-unix.c (read_random_source): Removed the assert.
 
1128
 
 
1129
Mon Oct 19 18:34:30 1998  me,,,  (wk@tobold)
 
1130
 
 
1131
        * pubkey.c: Hack to allow us to give some info about RSA keys back.
 
1132
 
 
1133
Thu Oct 15 11:47:57 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1134
 
 
1135
        * dynload.c: Support for DLD
 
1136
 
 
1137
Wed Oct 14 12:13:07 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1138
 
 
1139
        * rand-unix.c: Now uses names from configure for /dev/random.
 
1140
 
 
1141
1998-10-10  SL Baur  <steve@altair.xemacs.org>
 
1142
 
 
1143
        * Makefile.am: fix sed -O substitutions to catch -O6, etc.
 
1144
 
 
1145
Tue Oct  6 10:06:32 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1146
 
 
1147
        * rand-unix.c (HAVE_GETTIMEOFDAY): Fixed (was ..GETTIMEOFTIME :-)
 
1148
        * rand-dummy.c (HAVE_GETTIMEOFDAY): Ditto.
 
1149
 
 
1150
Mon Sep 28 13:23:09 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1151
 
 
1152
        * md.c (md_digest): New.
 
1153
        (md_reset): New.
 
1154
 
 
1155
Wed Sep 23 12:27:02 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1156
 
 
1157
        * tiger.c (TIGER_CONTEXT): moved "buf", so that it is 64 bit aligned.
 
1158
 
 
1159
Mon Sep 21 06:22:53 1998  Werner Koch  (wk@(none))
 
1160
 
 
1161
        * des.c: Some patches from Michael.
 
1162
 
 
1163
Thu Sep 17 19:00:06 1998  Werner Koch  (wk@(none))
 
1164
 
 
1165
        * des.c : New file from Michael Roth <mroth@nessie.de>
 
1166
 
 
1167
Mon Sep 14 11:10:55 1998  Werner Koch  (wk@(none))
 
1168
 
 
1169
        * blowfish.c (bf_setkey): Niklas Hernaeus patch to detect weak keys.
 
1170
 
 
1171
Mon Sep 14 09:19:25 1998  Werner Koch  (wk@(none))
 
1172
 
 
1173
        * dynload.c (RTLD_NOW): Now defined to 1 if it is undefined.
 
1174
 
 
1175
Mon Sep  7 17:04:33 1998  Werner Koch  (wk@(none))
 
1176
 
 
1177
        * Makefile.am: Fixes to allow a different build directory
 
1178
 
 
1179
Thu Aug  6 17:25:38 1998  Werner Koch,mobil,,,  (wk@tobold)
 
1180
 
 
1181
        * random.c (get_random_byte): Removed and changed all callers
 
1182
        to use get_random_bits()
 
1183
 
 
1184
Mon Jul 27 10:30:22 1998  Werner Koch  (wk@(none))
 
1185
 
 
1186
        * cipher.c : Support for other blocksizes
 
1187
        (cipher_get_blocksize): New.
 
1188
        * twofish.c: New.
 
1189
        * Makefile.am: Add twofish module.
 
1190
 
 
1191
Mon Jul 13 21:30:52 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1192
 
 
1193
        * random.c (read_pool): Simple alloc if secure_alloc is not set.
 
1194
        (get_random_bits): Ditto.
 
1195
 
 
1196
Thu Jul  9 13:01:14 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1197
 
 
1198
        * dynload.c (load_extension): Function now nbails out if
 
1199
        the program is run setuid.
 
1200
 
 
1201
Wed Jul  8 18:58:23 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1202
 
 
1203
        * rmd160.c (rmd160_hash_buffer): New.
 
1204
 
 
1205
Thu Jul  2 10:50:30 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1206
 
 
1207
        * cipher.c (cipher_open): algos >=100 use standard CFB
 
1208
 
 
1209
Thu Jun 25 11:18:25 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1210
 
 
1211
        * Makefile.am: Support for extensions
 
1212
 
 
1213
Thu Jun 18 12:09:38 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1214
 
 
1215
        * random.c (mix_pool): simpler handling for level 0
 
1216
 
 
1217
Mon Jun 15 14:40:48 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1218
 
 
1219
        * tiger.c: Removed from dist, will reappear as dynload module
 
1220
 
 
1221
Sat Jun 13 14:16:57 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1222
 
 
1223
        * pubkey.c: Major changes to allow extensions. Changed the inteface
 
1224
        of all public key ciphers and added the ability to load extensions
 
1225
        on demand.
 
1226
 
 
1227
        * misc.c: Removed.
 
1228
 
 
1229
Wed Jun 10 07:52:08 1998  Werner Koch,mobil,,,  (wk@tobold)
 
1230
 
 
1231
        * dynload.c: New.
 
1232
        * cipher.c: Major changes to allow extensions.
 
1233
 
 
1234
Mon Jun  8 22:43:00 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1235
 
 
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.
 
1240
 
 
1241
Mon Jun  8 12:27:52 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1242
 
 
1243
        * tiger.c (transform): Fix for big endian
 
1244
 
 
1245
        * cipher.c (do_cfb_decrypt): Big endian fix.
 
1246
 
 
1247
Fri May 22 07:30:39 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1248
 
 
1249
        * md.c (md_get_oid): Add a new one for TIGER.
 
1250
 
 
1251
Thu May 21 13:24:52 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1252
 
 
1253
        * cipher.c: Add support for a dummy cipher
 
1254
 
 
1255
Thu May 14 15:40:36 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1256
 
 
1257
        * rmd160.c (transform): fixed sigbus - I should better
 
1258
        add Christian von Roques's new implemenation of rmd160_write.
 
1259
 
 
1260
Fri May  8 18:07:44 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1261
 
 
1262
        * rand-internal.h, rand-unix.c, rand-w32.c, rand_dummy.c: New
 
1263
        * random.c: Moved system specific functions to rand-****.c
 
1264
 
 
1265
Fri May  8 14:01:17 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1266
 
 
1267
        * random.c (fast_random_poll): add call to gethrtime.
 
1268
 
 
1269
Tue May  5 21:28:55 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1270
 
 
1271
        * elgamal.c (elg_generate): choosing x was not correct, could
 
1272
        yield 6 bytes which are not from the random pool, tsss, tsss..
 
1273
 
 
1274
Tue May  5 14:09:06 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1275
 
 
1276
        * primegen.c (generate_elg_prime): Add arg mode, changed all
 
1277
        callers and implemented mode 1.
 
1278
 
 
1279
Mon Apr 27 14:41:58 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1280
 
 
1281
        * cipher.c (cipher_get_keylen): New.
 
1282
 
 
1283
Sun Apr 26 14:44:52 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1284
 
 
1285
        * tiger.c, tiger.h: New.
 
1286
 
 
1287
Wed Apr  8 14:57:11 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1288
 
 
1289
        * misc.c (check_pubkey_algo2): New.
 
1290
 
 
1291
Tue Apr  7 18:46:49 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1292
 
 
1293
        * cipher.c: New
 
1294
        * misc.c (check_cipher_algo): Moved to cipher.c
 
1295
        * cast5.c: Moved many functions to cipher.c
 
1296
        * blowfish.c: Likewise.
 
1297
 
 
1298
Sat Apr  4 19:52:08 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1299
 
 
1300
        * cast5.c: Implemented and tested.
 
1301
 
 
1302
Wed Apr  1 16:38:27 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1303
 
 
1304
        * elgamal.c (elg_generate): Faster generation of x in some cases.
 
1305
 
 
1306
Thu Mar 19 13:54:48 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1307
 
 
1308
        * blowfish.c (blowfish_decode_cfb): changed XOR operation
 
1309
        (blowfish_encode_cfb): Ditto.
 
1310
 
 
1311
Thu Mar 12 14:04:05 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1312
 
 
1313
        * sha1.c (transform): Rewrote
 
1314
 
 
1315
        * blowfish.c (encrypt): Unrolled for rounds == 16
 
1316
        (decrypt): Ditto.
 
1317
 
 
1318
Tue Mar 10 16:32:08 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1319
 
 
1320
        * rmd160.c (transform): Unrolled the loop.
 
1321
 
 
1322
Tue Mar 10 13:05:14 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1323
 
 
1324
        * random.c (read_pool): Add pool_balance stuff.
 
1325
        (get_random_bits): New.
 
1326
 
 
1327
        * elgamal.c (elg_generate): Now uses get_random_bits to generate x.
 
1328
 
 
1329
 
 
1330
Tue Mar 10 11:33:51 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1331
 
 
1332
        * md.c (md_digest_length): New.
 
1333
 
 
1334
Tue Mar 10 11:27:41 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1335
 
 
1336
        * dsa.c (dsa_verify): Works.
 
1337
 
 
1338
Mon Mar  9 12:59:08 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1339
 
 
1340
        * dsa.c, dsa.h: Removed some unused code.
 
1341
 
 
1342
Wed Mar  4 10:39:22 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1343
 
 
1344
        * md.c (md_open): Add call to fast_random_poll.
 
1345
        blowfish.c (blowfish_setkey): Ditto.
 
1346
 
 
1347
Tue Mar  3 13:32:54 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1348
 
 
1349
        * rmd160.c (rmd160_mixblock): New.
 
1350
        * random.c: Restructured to start with a new RNG implementation.
 
1351
        * random.h: New.
 
1352
 
 
1353
Mon Mar  2 19:21:46 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1354
 
 
1355
        * gost.c, gost.h: Removed because they did only conatin trash.
 
1356
 
 
1357
Sun Mar  1 16:42:29 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1358
 
 
1359
        * random.c (fill_buffer): removed error message if n == -1.
 
1360
 
 
1361
Fri Feb 27 16:39:34 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1362
 
 
1363
        * md.c (md_enable): No init if called twice.
 
1364
 
 
1365
Thu Feb 26 07:57:02 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1366
 
 
1367
        * primegen.c (generate_elg_prime): Changed the progress printing.
 
1368
        (gen_prime): Ditto.
 
1369
 
 
1370
Tue Feb 24 12:28:42 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1371
 
 
1372
        * md5.c, md.5 : Replaced by a modified version of md5.c from
 
1373
        GNU textutils 1.22.
 
1374
 
 
1375
Wed Feb 18 14:08:30 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1376
 
 
1377
        * md.c, md.h : New debugging support
 
1378
 
 
1379
Mon Feb 16 10:08:47 1998  Werner Koch  (wk@isil.d.shuttle.de)
 
1380
 
 
1381
        * misc.c (cipher_algo_to_string): New
 
1382
        (pubkey_algo_to_string): New.
 
1383
        (digest_algo_to_string): New.
 
1384
 
 
1385
 
 
1386
 
 
1387
 Copyright 1998, 1999, 2000, 2001, 2002, 2003,
 
1388
           2004, 2005 Free Software Foundation, Inc.
 
1389
 
 
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.
 
1393
 
 
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.