1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

201 Commits

Author SHA1 Message Date
Werner Koch
66716c7349 * POTFILES.in (cipher/primegen.c): Added.
* primegen.c (gen_prime): Bail out if we try to generate a prime
with less than 16 bits.
2003-10-10 09:19:52 +00:00
Werner Koch
240923a492 * primegen.c (gen_prime): Bail out if NBITS is zero. This is
Debian bug #213989 reported by Max <rusmir@tula.net>.
2003-10-06 12:09:30 +00:00
David Shaw
9789ea5ab4 * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM twice.
Use NAME_OF_DEV_URANDOM.
2003-08-13 02:34:20 +00:00
Werner Koch
da4bf59349 Changed a lot of __MINGW32__ to _WIN32. This should help a bit in
building with native Windows compilers.  On request by Brian Gladman.
2003-07-30 16:04:46 +00:00
David Shaw
b4fc8ec5f5 * bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,
rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c,
sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor
instructions to remove whitespace before the '#'.  This is not required by
C89, but there are some compilers out there that don't like it.
2003-05-21 22:55:51 +00:00
David Shaw
7df1d684d9 * tiger.c: Use the U64_C macro instead of LL.
* md.c (string_to_digest_algo): Give a warning about TIGER192 not being
part of OpenPGP.

* idea-stub.c (load_module): Catch an error if the idea module file is
unloadable for some reason (unreadable, bad permissions, etc.)
2003-05-14 02:48:39 +00:00
David Shaw
c28abad3b6 * sha512.c: Use the U64_C() macro rather than blindly suffixing with LL.
U64_C is defined in include/types.h and uses the correct suffix depending
on the underlying type of u64.
2003-05-09 22:33:21 +00:00
David Shaw
74a0287acf * sha512.c: Suffix all 64-bit constants with LL. Note this makes this
file non-c89 compliant.  That is okay since we have an autoconf check for
this, and many c89 compilers support LL anyway.
2003-05-09 15:17:28 +00:00
David Shaw
f20f778c85 * cipher.c (fast_random_poll): Only use times() if we HAVE_TIMES. 2003-05-08 21:53:32 +00:00
Werner Koch
7ced4e41ba * md.c (md_start_debug): Need to open the file in binary mode. 2003-04-15 12:16:47 +00:00
David Shaw
eee851ad83 * Makefile.am: Make sure sha512.c is included in the tarball. 2003-02-12 04:49:16 +00:00
David Shaw
ff8406b3d8 * Makefile.am, md.c (load_digest_module): Only build in SHA384/512 if
specifically enabled.
2003-02-11 14:49:16 +00:00
David Shaw
39db2a7190 * sha256.c, sha512.c: New.
* Makefile.am, algorithms.h, md.c (load_digest_module,
string_to_digest_algo): Add read-only support for the new SHAs.
2003-02-04 18:50:44 +00:00
Stefan Bellon
eb6f7ce0ad added prototype that was missing in CVS since long ago 2002-11-06 16:17:14 +00:00
David Shaw
90279250e8 * blowfish.c (burn_stack), cast5.c (burn_stack), des.c (burn_stack), md5.c
(burn_stack), random.c (burn_stack, read_pool, fast_random_poll),
rijndael.c (burn_stack), rmd160.c (burn_stack), rndegd.c
(rndegd_gather_random), rndlinux.c (rndlinux_gather_random), rndriscos.c
(rndriscos_gather_random), sha1.c (burn_stack), tiger.c (burn_stack),
twofish.c (burn_stack): Replace various calls to memset() with the more
secure wipememory().
2002-11-06 15:28:12 +00:00
Werner Koch
265b60b089 * rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not
required anymore.

* random.c (read_seed_file,update_random_seed_file): Use binary
mode for __CYGWIN__.
2002-10-21 16:31:17 +00:00
Werner Koch
0aa7112f1c * rndunix.c (my_popen): Make sure that stdin and stderr are
connected to a file.  This is to avoid NetBSD to complain about
set{u,g}id programs invoked with fd 0, 2 closed.  Reported by
Cristian Biere.
(start_gatherer): Likewise. Reordered code.

* configure.ac (NAME_OF_DEV_URANDOM): Don't use /dev/srandom for
NetBSD.  Noted by Christian Biere.
2002-10-12 14:51:32 +00:00
David Shaw
1cce547ab7 * tiger.c (tiger_get_info): Select the OID to use for TIGER at compile
time.
2002-10-02 19:57:37 +00:00
David Shaw
4e197571be From devel branch
2002-09-26  Werner Koch  <wk@gnupg.org>

	* tiger.c (tiger_get_info): Use a regular OID.  Note that this
	breaks all TIGER generated signatures; if we want to do something
	about it we have to do it in ../g10/sig-check.c .
2002-10-01 17:34:08 +00:00
Werner Koch
32a3f9ec4b * rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256. 2002-09-17 08:50:42 +00:00
Werner Koch
20c73570b3 typo fixes and disabled dummy cipher 2002-09-10 08:41:44 +00:00
Werner Koch
0073d6865d * random.c: Automagically detect the entrop gatherer when
configure so.
* rndegd.c (rndegd_connect_socket): New.  Factored out from ..
(rndegd_gather_random): here and call it.
(do_read): Update the counter variables correctly.  This was not a
problem due to the way EGD works. Bug found by Christian Biere.
2002-08-30 16:33:55 +00:00
Werner Koch
277a9a3755 Include intl/ in the CVS again; otherwise we are not able to
re-recreate a distribution from CVS.
Some minor other fixes.
2002-08-23 08:02:08 +00:00
Werner Koch
29e3108bb9 * cipher.c: Include the DUMMY cipher only when the new ALLOW_DUMMY
is defined. It should only be defined for hard core debugging.
2002-08-12 17:46:46 +00:00
David Shaw
3d85ad800d * Makefile.am, md.c (load_digest_module): Allow switching TIGER on and off
via configure.
2002-08-08 19:41:30 +00:00
David Shaw
faed12a698 * md.c (md_algo_present): New function to check if a given algo is in use
for a given MD_HANDLE.
2002-08-07 19:47:57 +00:00
Werner Koch
705873c41b Removed some obsolete header files. 2002-08-04 22:00:32 +00:00
Stefan Bellon
5631db0402 RISC OS changes because of dynload removal 2002-08-03 21:53:33 +00:00
Stefan Bellon
582f0d5d98 RISC OS changes due to dynload removal 2002-08-03 18:35:16 +00:00
Werner Koch
85aa3e18c2 The big extension module removal. 2002-08-03 10:50:53 +00:00
David Shaw
36d5779e82 * random.c: "warning" -> "WARNING" 2002-07-25 18:05:48 +00:00
Werner Koch
6b50533fe1 * rndw32.c (slow_gatherer_windowsNT): Use a simple array for the
disk performance structure and increase it to the size required by
W2000.
2002-07-24 07:42:16 +00:00
Werner Koch
db1e07ba0a * rndlinux.c: Removed HAVE_LINUX_RANDOM_H conditional because it
was never used and the configure test did set the wrong macro
anyway.
2002-06-29 20:46:43 +00:00
David Shaw
151ee2f47b Update head to match stable 1.0 2002-06-29 13:31:13 +00:00
Werner Koch
07ca4eaa9d Removed files from the HEAD revision, because they are now in another
repository
2000-12-19 17:20:22 +00:00
Werner Koch
986649bea0 Some configuration changes 2000-11-14 16:04:16 +00:00
Werner Koch
709d3a7fa6 Ooops, forgot to add this one. 2000-10-11 08:01:12 +00:00
Werner Koch
5a9ea8ff5c Changed keyring handling - saving still does not work.
Added new cipher mode and updated cipher test program.
2000-10-10 12:58:43 +00:00
Werner Koch
b75f734a11 Added the arcfour cipher which is of use for GNUTLS.
According to the selftest, it does not yet work :-((.
2000-10-10 12:54:06 +00:00
Werner Koch
9c20f65cbe See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch 2000-10-04 11:16:19 +00:00
Werner Koch
986d928ce2 See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch 2000-09-18 14:35:34 +00:00
Werner Koch
7a8c8b4826 See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
Werner Koch
d81c3f733b See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner Koch 2000-07-28 16:19:07 +00:00
Werner Koch
b872ea2577 See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner Koch 2000-07-25 15:38:12 +00:00
Werner Koch
0bf44b072c See ChangeLog: Mon Jul 17 16:35:47 CEST 2000 Werner Koch 2000-07-17 14:32:21 +00:00
Werner Koch
92cd255508 See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch 2000-07-14 17:34:53 +00:00
Werner Koch
da129a5124 See ChangeLog: Fri Mar 24 11:25:45 CET 2000 Werner Koch 2000-03-24 10:19:50 +00:00
Werner Koch
14a2e006bc See ChangeLog: Mon Mar 13 19:22:46 CET 2000 Werner Koch 2000-03-13 18:19:12 +00:00
Werner Koch
100fc8da59 See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner Koch 2000-01-31 15:27:03 +00:00
Werner Koch
baa30ad117 See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch 2000-01-27 16:50:45 +00:00