summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-03-11 15:42:06 +0000
committerWerner Koch <wk@gnupg.org>1999-03-11 15:42:06 +0000
commit0b342a947b7b17994abd319df9070861151cf270 (patch)
tree34068c6776f157a9a82c7a9b02aa8ec071ea4366
parent56bd85c152c4b7c34f50a622ca4eade6b932eb27 (diff)
downloadlibgcrypt-0b342a947b7b17994abd319df9070861151cf270.tar.gz
See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner Koch
-rw-r--r--AUTHORS8
-rw-r--r--ChangeLog4
-rw-r--r--cipher/primegen.c5
-rw-r--r--cipher/rndunix.c45
-rw-r--r--configure.in2
-rw-r--r--scripts/distfiles2
6 files changed, 54 insertions, 12 deletions
diff --git a/AUTHORS b/AUTHORS
index 01a837c1..9e6cf117 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -74,12 +74,8 @@ Torbjorn Granlund <tege@noisy.tmg.se>.
The keybox implementation is based on GDBM 1.7.3 by Philip A. Nelson.
-The file cipher/rndunix.c is based on Peter Gutmann's rndunix.c from
-cryptlib. - He promised to add the GPL as an alternative license to
-this and some other files. We don't have a disclaimer yet, but due
-to the fact that this is only needed for non-free systems we can
-easily remove this from the distribution and put it as an extra module
-on the FTP server.
+The file cipher/rndunix.c is based on rndunix.c from cryptlib.
+Copyright Peter Gutmann, Paul Kendall, and Chris Wedgwood 1996-1999.
The files in debian/ are by James Troup who is the Debian maintainer
for GnuPG.
diff --git a/ChangeLog b/ChangeLog
index c71ee2ac..0f61ab11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 11 16:39:46 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
+
+ * configure.in: Remmoved the need for libtool
+
Mon Mar 8 20:47:17 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
* configure.in (DLSYM_NEEDS_UNDERSCORE): Replaced.
diff --git a/cipher/primegen.c b/cipher/primegen.c
index e9484218..c7b5b757 100644
--- a/cipher/primegen.c
+++ b/cipher/primegen.c
@@ -16,6 +16,11 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * ***********************************************************************
+ * The algorithm used to generate practically save primes is due to
+ * Lim and Lee as described in the CRYPTO '97 proceedings (ISBN3540633847)
+ * page 260.
*/
#include <config.h>
diff --git a/cipher/rndunix.c b/cipher/rndunix.c
index 145f17fb..46f80eab 100644
--- a/cipher/rndunix.c
+++ b/cipher/rndunix.c
@@ -1,11 +1,50 @@
/****************************************************************************
* *
- * BeOS Randomness-Gathering Code *
- * Copyright Peter Gutmann, Paul Kendall, and Chris Wedgwood 1996-1998 *
- * Copyright (C) 1998, 1999 Werner Koch
+ * *
+ * Unix Randomness-Gathering Code *
+ * *
+ * Copyright Peter Gutmann, Paul Kendall, and Chris Wedgwood 1996-1999. *
+ * Heavily modified for GnuPG by Werner Koch *
+ * *
* *
****************************************************************************/
+/* This module is part of the cryptlib continuously seeded pseudorandom
+ number generator. For usage conditions, see lib_rand.c
+
+ [Here is the notice from lib_rand.c:]
+
+ This module and the misc/rnd*.c modules represent the cryptlib
+ continuously seeded pseudorandom number generator (CSPRNG) as described in
+ my 1998 Usenix Security Symposium paper "The generation of random numbers
+ for cryptographic purposes".
+
+ The CSPRNG code is copyright Peter Gutmann (and various others) 1996,
+ 1997, 1998, 1999, all rights reserved. Redistribution of the CSPRNG
+ modules and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice
+ and this permission notice in its entirety.
+
+ 2. Redistributions in binary form must reproduce the copyright notice in
+ the documentation and/or other materials provided with the distribution.
+
+ 3. A copy of any bugfixes or enhancements made must be provided to the
+ author, <pgut001@cs.auckland.ac.nz> to allow them to be added to the
+ baseline version of the code.
+
+ ALTERNATIVELY, the code may be distributed under the terms of the GNU
+ General Public License, version 2 or any later version published by the
+ Free Software Foundation, in which case the provisions of the GNU GPL are
+ required INSTEAD OF the above restrictions.
+
+ Although not required under the terms of the GPL, it would still be nice if
+ you could make any changes available to the author to allow a consistent
+ code base to be maintained */
+
+
+
/* General includes */
#include <config.h>
diff --git a/configure.in b/configure.in
index f5e9dfc4..1e71eb7b 100644
--- a/configure.in
+++ b/configure.in
@@ -118,7 +118,7 @@ AC_PROG_CC
AC_PROG_CPP
AC_ISC_POSIX
AC_PROG_INSTALL
-AM_PROG_LIBTOOL
+AC_PROG_RANLIB
MPI_OPT_FLAGS=""
if test "$GCC" = yes; then
diff --git a/scripts/distfiles b/scripts/distfiles
index 804b73f8..13127323 100644
--- a/scripts/distfiles
+++ b/scripts/distfiles
@@ -7,6 +7,4 @@ missing
gnupg.spec.in
autogen.sh
ChangeLog
-ltconfig
-ltmain.sh