libgcrypt.git
8 years agoCTR mode may now be used with arbitrary long data chunks.
Werner Koch [Mon, 11 Apr 2011 19:36:48 +0000 (21:36 +0200)]
CTR mode may now be used with arbitrary long data chunks.

8 years agoAllow for truncation in CTR mode.
Werner Koch [Mon, 11 Apr 2011 17:21:47 +0000 (19:21 +0200)]
Allow for truncation in CTR mode.

This re-enables the behaviour of Libgcrypt 1.4.  Such truncation is
used by libotr and the current error-ed out here.  The bug was
introduced due to a rewrite of the function and the undocumented
feature of truncating OTR data.

8 years agoAdd a few comments to explain the generation of k.
Werner Koch [Fri, 8 Apr 2011 12:59:25 +0000 (14:59 +0200)]
Add a few comments to explain the generation of k.

8 years agoMove an AC_SUBST to avoid an Emacs warning
Werner Koch [Wed, 6 Apr 2011 08:17:48 +0000 (10:17 +0200)]
Move an AC_SUBST to avoid an Emacs warning

Recent versions of Emacs seem to have a not so strict check for local
buffer variables and thus detect our emacs_local_vars subs as improper
local variables.  Moving them more to the top of the file helps.
Another solution would have been to use m4 tricks.

8 years agoFix a small memory leak in gcry_pk_get_keygrip.
Werner Koch [Mon, 4 Apr 2011 14:27:36 +0000 (16:27 +0200)]
Fix a small memory leak in gcry_pk_get_keygrip.

These are two memory leaks, one in the generic code and one ECC
specific.  For an RSA key the first one accounted for 10 bytes, which
is not that small if applied on a large key database.

8 years agoAdd a test option to help finding memory leaks.
Werner Koch [Mon, 4 Apr 2011 14:26:41 +0000 (16:26 +0200)]
Add a test option to help finding memory leaks.

8 years agoMake sure that gcry_realloc (NULL, n) works on all platforms.
Werner Koch [Fri, 1 Apr 2011 08:16:31 +0000 (10:16 +0200)]
Make sure that gcry_realloc (NULL, n) works on all platforms.

realloc (NULL, n) shall behave exactly like malloc (n)
and realloc (p, 0) like free.

Not all platforms implement this correctly thus we now handle this
directly in gcry_realloc.

8 years agoAdd a version string to the binary
Werner Koch [Wed, 30 Mar 2011 09:22:56 +0000 (11:22 +0200)]
Add a version string to the binary

8 years agoFixed a few warnings emitted by gcc 4.6.
Werner Koch [Mon, 28 Mar 2011 12:46:36 +0000 (14:46 +0200)]
Fixed a few warnings emitted by gcc 4.6.

8 years agoNew function gcry_kdf_derive
Werner Koch [Wed, 9 Mar 2011 16:47:44 +0000 (17:47 +0100)]
New function gcry_kdf_derive

This allows us to factor the S2k code from gpg and gpg-agent out to
libgcrypt.  Created a bunch of test vectors using a hacked gpg 1.4.

The function also implements PBKDF2; tested against the RFC-6070 test
vectors.

8 years agoShorten BUILD_REVISION macro
Werner Koch [Tue, 8 Mar 2011 12:56:49 +0000 (13:56 +0100)]
Shorten BUILD_REVISION macro

8 years agoAdd option host to libgcrypt-config.
Werner Koch [Wed, 23 Feb 2011 15:30:38 +0000 (16:30 +0100)]
Add option host to libgcrypt-config.

Also update libgcrypt.m4 for better user experience when
cross-building.

8 years agoUpdated gpg-error.m4 (bug#1261)
Werner Koch [Wed, 23 Feb 2011 11:48:07 +0000 (12:48 +0100)]
Updated gpg-error.m4 (bug#1261)

8 years agoUse AES-NI insns for CTR mode.
Werner Koch [Tue, 22 Feb 2011 15:08:13 +0000 (16:08 +0100)]
Use AES-NI insns for CTR mode.

That really boosts the performance of CTR.

8 years agoFinal changes for 1.5.0-beta1 libgcrypt-1.5.0-beta1
Werner Koch [Mon, 21 Feb 2011 16:04:46 +0000 (17:04 +0100)]
Final changes for 1.5.0-beta1

8 years agoAllow --alignment option for md_bench
Werner Koch [Mon, 21 Feb 2011 09:00:22 +0000 (10:00 +0100)]
Allow --alignment option for md_bench

8 years agoFix strict-aliasing problems in rijndael.c
Werner Koch [Fri, 18 Feb 2011 13:30:13 +0000 (14:30 +0100)]
Fix strict-aliasing problems in rijndael.c

We used to use -fno-strict-aliasing but only if configured in
maintainer-mode.  Thus with gcc-4.4 we could run into problems.  The
fix is to define a new type with the may_alias attribute and use this
for the casting stuff in do_encrypt_aligned and do_decrypt_aligned.

8 years agoFlag the _ac_ functions as deprecated.
Werner Koch [Thu, 17 Feb 2011 18:44:23 +0000 (19:44 +0100)]
Flag the _ac_ functions as deprecated.

The AC functions are deprecated for a long time.  How we will even
print a warning if they are used.

The module register interface is now also deprecated and the use of
those functions will yield a warning as well.

8 years agoFix AES-NI detection.
Werner Koch [Thu, 17 Feb 2011 10:00:25 +0000 (11:00 +0100)]
Fix AES-NI detection.

Really a kind of bown paper bag bug: Use AND and not SUB for bit
testing.  I should have known that, given that 30 years ago I wrote
almost everything in asm.

8 years agoAdd GCRYCTL_DISABLE_HWF
Werner Koch [Wed, 16 Feb 2011 17:31:31 +0000 (18:31 +0100)]
Add GCRYCTL_DISABLE_HWF

This option is useful to disable detected hardware features. It has
been implemented in benchmark, so that it is now possible to run

  tests/benchmark --disable-hwf intel-aesni  cipher aes aes192 aes256

to compare the use of AES-NI insns to the pure C code.

8 years agoImproved AES-CFB performance using AES-NI insn.
Werner Koch [Wed, 16 Feb 2011 16:17:49 +0000 (17:17 +0100)]
Improved AES-CFB performance using AES-NI insn.

There is also a new regression test which tests the bulk
encryption methods we have for a few ciphers (namely AES).  A bug in
them could have slipped through because we only did encrypt-decrypt
tests but didn't compared them to fixed vectors.

Benchmarks using gcc 4.4 show a 7 fold speed improvement for CFB
encryption and 14 for decryption.  This is a bit strange; someone
should check the code to see why we have this difference.

Without AESNI (undef USE_AESNI in rijndael.c):

$ ./benchmark --cipher-repetitions 100 --alignment 16 cipher aes aes256
Running each test 100 times.
                ECB/Stream         CBC             CFB             OFB             CTR
             --------------- --------------- --------------- --------------- ---------------
AES           1370ms  1430ms  1140ms  1190ms  1120ms  1130ms  1520ms  1540ms  1780ms  1770ms
AES256        1780ms  1850ms  1530ms  1610ms  1540ms  1530ms  1930ms  1960ms  2180ms  2180ms

With AESNI:

$ ./benchmark --cipher-repetitions 100 --alignment 16 cipher aes aes256
Running each test 100 times.
                ECB/Stream         CBC             CFB             OFB             CTR
             --------------- --------------- --------------- --------------- ---------------
AES             80ms   100ms   240ms   220ms   140ms    70ms   300ms   290ms   490ms   510ms
AES256         130ms   130ms   290ms   270ms   200ms   100ms   340ms   340ms   470ms   470ms

$ ./benchmark --cipher-repetitions 100 --alignment 0 cipher aes aes256
Running each test 100 times.
                ECB/Stream         CBC             CFB             OFB             CTR
             --------------- --------------- --------------- --------------- ---------------
AES             80ms    90ms   240ms   230ms   150ms    80ms   290ms   300ms   500ms   530ms
AES256         130ms   130ms   290ms   260ms   190ms   110ms   340ms   340ms   470ms   490ms

8 years agoAdd asm code to use aeskeygenassist.
Werner Koch [Tue, 15 Feb 2011 17:37:43 +0000 (18:37 +0100)]
Add asm code to use aeskeygenassist.

However, this code is disabled right now.

8 years agoChange more AES-NI code into plain asm
Werner Koch [Tue, 15 Feb 2011 13:38:02 +0000 (14:38 +0100)]
Change more AES-NI code into plain asm

8 years agoUse a better alignment.
Werner Koch [Mon, 14 Feb 2011 19:31:47 +0000 (20:31 +0100)]
Use a better alignment.

benchmark does now support the option
  --alignment 16
to test the non-aligned overhead.

8 years agoSimplify context alignment and align the IV.
Werner Koch [Mon, 14 Feb 2011 18:18:20 +0000 (19:18 +0100)]
Simplify context alignment and align the IV.

8 years agoFirst take on using AES-NI instructions
Werner Koch [Sun, 13 Feb 2011 16:48:37 +0000 (17:48 +0100)]
First take on using AES-NI instructions

This first naive use of the new Intel AES-NI instructions boosts the
performance of AES on CPUs supporting this by 3 to 5 times.

Results from running
  ./benchmark --cipher-repetitions 10 --large-buffers  cipher aes
on a
  cpu family      : 6
  model           : 37
  model name      : Intel(R) Core(TM) i5 CPU         660  @ 3.33GHz
  stepping        : 2
  cpu MHz         : 3325.494
  cache size      : 4096 KB
  cpu cores       : 2

yields this:

    ECB/Stream         CBC             CFB             OFB             CTR
--------------- --------------- --------------- --------------- ---------------
  130ms   110ms   110ms   100ms   110ms   110ms   160ms   150ms   170ms   170ms
   40ms    40ms    20ms    30ms    30ms    20ms    70ms    70ms    80ms    80ms

The first line is with runtime switched off AES-NI instructions (don't
set use_aesni in do_setkey), the second with enabled AES-NI.  By
fixing the alignment, I hope to squeeze out a little more even with
this naive implementation.

8 years agoRenamed existing flag for AES-NI and fixed detection.
Werner Koch [Fri, 11 Feb 2011 15:06:20 +0000 (16:06 +0100)]
Renamed existing flag for AES-NI and fixed detection.

8 years agoSmall tweak to the ECC debug output.
Werner Koch [Fri, 11 Feb 2011 14:52:36 +0000 (15:52 +0100)]
Small tweak to the ECC debug output.

8 years agoNuked almost all trailing whitespace. post-nuke-of-trailing-ws
Werner Koch [Fri, 4 Feb 2011 19:21:45 +0000 (20:21 +0100)]
Nuked almost all trailing whitespace.

Check and install the standard git pre-commit hook.

8 years agoAdd ChangeLog Entry for Andrey's changes. ECC-INTEGRATION-1-5 ecc-integration-done
Werner Koch [Wed, 2 Feb 2011 15:10:42 +0000 (16:10 +0100)]
Add ChangeLog Entry for Andrey's changes.

Nuke trailing white spaces in the ChangeLog.
Revert one debug message string.

Ready to me merged back to master.

8 years agoAdd function gcry_pk_get_param.
Werner Koch [Tue, 1 Feb 2011 17:31:57 +0000 (18:31 +0100)]
Add function gcry_pk_get_param.

Also changed quite some trailing white spaces.  I never configured
that in Emacs but git diff annoys me with red lines and thus it seems
better to use nuke-trailing-whitespace autmatically.  Sorry for the
extra diff lines.  A diff filter should help to not show those
changes.

8 years agoHandle opaque MPIs in gcry_mpi_cmp
Werner Koch [Tue, 1 Feb 2011 15:13:37 +0000 (16:13 +0100)]
Handle opaque MPIs in gcry_mpi_cmp

8 years agoAdd gcry_pk_get_curve.
Werner Koch [Tue, 1 Feb 2011 09:40:50 +0000 (10:40 +0100)]
Add gcry_pk_get_curve.

8 years agoChanged ecdh parameter names and fixed MPI allocation.
Werner Koch [Mon, 31 Jan 2011 14:35:08 +0000 (15:35 +0100)]
Changed ecdh parameter names and fixed MPI allocation.

8 years agoReturn used curve name with ECC key generation
Werner Koch [Mon, 31 Jan 2011 08:29:20 +0000 (09:29 +0100)]
Return used curve name with ECC key generation

8 years agoReverted the API to the old one.
Werner Koch [Thu, 27 Jan 2011 10:32:58 +0000 (11:32 +0100)]
Reverted the API to the old one.

Storing thy curve name into an MPI and dropping all the other
parameters breaks the ABI.  Further it as not anymore possible to
specify arbitrary curves.  Thus I had to revert it to the old ABI.

Another advantage is that the required ECDH changes are now minimal.
The disadvantage is that we need to adjust the GnuPG code and do the
curve selection and translation to DER encoded OIDs itself.

8 years agoMerge commit 'f4786ac' into ECC-INTEGRATION-1-5
Werner Koch [Thu, 27 Jan 2011 05:51:04 +0000 (06:51 +0100)]
Merge commit 'f4786ac' into ECC-INTEGRATION-1-5

8 years agoExtend ignore file for non-vpath builds
Werner Koch [Thu, 27 Jan 2011 05:47:06 +0000 (06:47 +0100)]
Extend ignore file for non-vpath builds

8 years agoBegin of changing the ECDH API.
Werner Koch [Wed, 26 Jan 2011 18:26:38 +0000 (19:26 +0100)]
Begin of changing the ECDH API.

8 years agoEditorial changes.
Werner Koch [Thu, 20 Jan 2011 17:50:29 +0000 (18:50 +0100)]
Editorial changes.
Adjusted indentation to GNU style.
Replaced C++ style comments.
Reformatted some comments.

8 years agoRevert version number to 1.5.0.
Werner Koch [Thu, 20 Jan 2011 16:42:37 +0000 (17:42 +0100)]
Revert version number to 1.5.0.
Update AUTHORS and NEWS.

8 years agoFixed a typo, added logging.
Andrey Jivsov [Thu, 13 Jan 2011 05:20:57 +0000 (21:20 -0800)]
Fixed a typo, added logging.

8 years ago'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 --debug 15...
Andrey Jivsov [Tue, 11 Jan 2011 04:11:54 +0000 (20:11 -0800)]
'g10/gpg2 --encrypt --debug 15 -r ecdsa -a  -o _e.asc _'  and 'g10/gpg2 --debug 15 _e.asc', as well as decoding of an old message posted on https://sites.google.com/site/brainhub/pgpecckeys work.

This is the milestone 2 that brings in ECDH support from http://code.google.com/p/gnupg-ecc/source/detail?r=15 .

Updated the ECDH code to work with latest gnupg that doesn't expose private components of a public key.

8 years agoAdd a list of files to ignore.
Werner Koch [Fri, 7 Jan 2011 13:06:27 +0000 (14:06 +0100)]
Add a list of files to ignore.

8 years agoIntegrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .
Andrey Jivsov [Thu, 6 Jan 2011 07:37:26 +0000 (23:37 -0800)]
Integrating code.google.com/p/gnupg-ecc/source/detail?r=15 .

This merge went smoothly and didn't need any code written (as opposed to parallel gnupg integration). The checked in code was tested through gnupg with 'gnupg --gen-key (select ECC)'.

This change corresponds to earlier check in gnupg project. This branch, ECC-INTEGRATION-1-5, corresponds to ECC-INTEGRATION-2-1 in gnupg project.

8 years agoMakefile.am (LDADD): Fix typo in last change.
Werner Koch [Tue, 4 Jan 2011 10:05:13 +0000 (11:05 +0100)]
Makefile.am (LDADD): Fix typo in last change.
Reported by Andrey Jivsov.

8 years ago* configure.ac (BUILD_REVISION): Use git_revision.
Werner Koch [Thu, 23 Dec 2010 14:19:51 +0000 (15:19 +0100)]
* configure.ac (BUILD_REVISION): Use git_revision.

8 years agoDoc fixes.
Werner Koch [Thu, 4 Nov 2010 14:56:17 +0000 (14:56 +0000)]
Doc fixes.
Started some work on dumpsexp.

8 years agoLook at GNUPG_RNDW32_NOPERF
Werner Koch [Mon, 18 Oct 2010 10:12:23 +0000 (10:12 +0000)]
Look at GNUPG_RNDW32_NOPERF

9 years agotypo fix
Werner Koch [Tue, 31 Aug 2010 16:43:44 +0000 (16:43 +0000)]
typo fix

9 years agoPrepare support of ia32 AES instructions
Werner Koch [Fri, 27 Aug 2010 08:52:24 +0000 (08:52 +0000)]
Prepare support of ia32 AES instructions

9 years agoFix bug 1263
Werner Koch [Thu, 19 Aug 2010 13:57:20 +0000 (13:57 +0000)]
Fix bug 1263

9 years agoPrepare for a gpg-error change
Werner Koch [Thu, 19 Aug 2010 13:24:49 +0000 (13:24 +0000)]
Prepare for a gpg-error change

9 years agoInsert sys/select.h to be POSIXly correct.
Werner Koch [Mon, 16 Aug 2010 08:45:49 +0000 (08:45 +0000)]
Insert sys/select.h to be POSIXly correct.
Typo fixes.

9 years agoMinor changes for MSVC.
Werner Koch [Fri, 9 Jul 2010 08:21:44 +0000 (08:21 +0000)]
Minor changes for MSVC.
Bumped LT version because we need to add an inetrface in the 1.4 branch.

9 years agofixes for msvc compiler
Werner Koch [Tue, 29 Jun 2010 17:14:35 +0000 (17:14 +0000)]
fixes for msvc compiler

9 years agoAllow transient-key for ecdsa.
Werner Koch [Thu, 10 Jun 2010 09:05:42 +0000 (09:05 +0000)]
Allow transient-key for ecdsa.
Fix a bug in a test.

9 years ago2010-04-27 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 27 Apr 2010 03:04:56 +0000 (03:04 +0000)]
2010-04-27  Marcus Brinkmann  <marcus@g10code.de>

* rndw32ce.c (fillup_buffer): Rewrite without using nested
functions, which are broken on arm/cegcc.

9 years ago2010-04-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 19 Apr 2010 17:15:03 +0000 (17:15 +0000)]
2010-04-19  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Check for -fno-strict-aliasing.

9 years ago2010-04-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 19 Apr 2010 17:08:12 +0000 (17:08 +0000)]
2010-04-19  Marcus Brinkmann  <marcus@g10code.de>

* misc.c (write2stderr): Dummy variable to silence gcc warning.

9 years ago2010-04-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 16 Apr 2010 02:03:49 +0000 (02:03 +0000)]
2010-04-16  Marcus Brinkmann  <marcus@g10code.de>

* sexp.c: (sexp_sscan): Make it variable length, and rename the old version to ...
(vsexp_sscan): ... this new function.  Also swap last two arguments.
(gcry_sexp_create): Remove dummy va_list.
(gcry_sexp_build): Use vsexp_sscan instead of sexp_sscan.
(_gcry_sexp_vbuild): Likewise.
(gcry_sexp_build_array): Remove dummy va_list.
(gcry_sexp_sscan): Likewise.

9 years agoUpdated
Werner Koch [Wed, 14 Apr 2010 14:32:53 +0000 (14:32 +0000)]
Updated

9 years agoApplied spelling fixes and more verbose test diagnositcs by Brad Hards.
Werner Koch [Mon, 12 Apr 2010 21:00:13 +0000 (21:00 +0000)]
Applied spelling fixes and more verbose test diagnositcs by Brad Hards.

9 years agoTypo fixes
Werner Koch [Tue, 6 Apr 2010 10:37:13 +0000 (10:37 +0000)]
Typo fixes

9 years agoAdd new TIGER variants
Werner Koch [Fri, 26 Mar 2010 14:06:43 +0000 (14:06 +0000)]
Add new TIGER variants

9 years agoAdded an entropy gatherer for W32CE.
Werner Koch [Wed, 24 Mar 2010 15:51:37 +0000 (15:51 +0000)]
Added an entropy gatherer for W32CE.

9 years agoHelp not to edit a generated buffer.
Werner Koch [Mon, 15 Mar 2010 12:27:29 +0000 (12:27 +0000)]
Help not to edit a generated buffer.

9 years agoFix for gcc 4.4 on mips
Werner Koch [Mon, 22 Feb 2010 11:35:38 +0000 (11:35 +0000)]
Fix for gcc 4.4 on mips

9 years agoSupport WindowsCE.
Werner Koch [Thu, 21 Jan 2010 21:36:43 +0000 (21:36 +0000)]
Support WindowsCE.

9 years agoAdd an identifier for ECDH.
Werner Koch [Thu, 21 Jan 2010 13:33:34 +0000 (13:33 +0000)]
Add an identifier for ECDH.
Fixed some NEWS entries.
Updated copyright lines.

9 years agoBoost performance of SHA-512 and SHA-256.
Werner Koch [Fri, 11 Dec 2009 16:32:04 +0000 (16:32 +0000)]
Boost performance of SHA-512 and SHA-256.

9 years agoAdd option --disable-O-flag-munging.
Werner Koch [Thu, 10 Dec 2009 17:27:55 +0000 (17:27 +0000)]
Add option --disable-O-flag-munging.

9 years agoCleaned up the cipher encrypy/decrypt constraints checks.
Werner Koch [Thu, 10 Dec 2009 16:51:25 +0000 (16:51 +0000)]
Cleaned up the cipher encrypy/decrypt constraints checks.

9 years agoDisable all sparc64 asm stuff
Werner Koch [Wed, 9 Dec 2009 15:53:26 +0000 (15:53 +0000)]
Disable all sparc64 asm stuff

9 years agoImplemented the AES-Wrap algorithm
Werner Koch [Wed, 9 Dec 2009 11:21:17 +0000 (11:21 +0000)]
Implemented the AES-Wrap algorithm

9 years ago2009-12-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 8 Dec 2009 20:36:35 +0000 (20:36 +0000)]
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

Update to libtool 2.2.6a.
* configure.ac: Invoke AC_CONFIG_MACRO_DIR.
(AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ...
(LT_PREREQ, LT_INIT, LT_LANG): ... these.
* config.guess, config.sub, install-sh, ltmain.sh, m4/libtool.m4:
Updated to libtool 2.2.6a.
* m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
m4/lt~obsolete.m4: New files from libtool 2.2.6a.

src/
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (LTRCCOMPILE): Refactor with ...
(RCCOMPILE): ... this new macro.  Add $(libgcrypt_la_CPPFLAGS).
(SUFFIXES): Add .lo.
(.rc.o): Change to ...
(.rc.lo): ... this implicit rule.
(gcrypt_res_ldflag): Removed.
(gcrypt_res): Use libtool object file name here.
(libgcrypt_la_LDFLAGS): Remove gcrypt_res_ldflag usage.
(libgcrypt_la_LIBADD): Add gcrypt_res.

9 years agoFix detection of cpuid statement.
Werner Koch [Sun, 29 Nov 2009 12:30:21 +0000 (12:30 +0000)]
Fix detection of cpuid statement.

9 years agoAdd examples.
Werner Koch [Wed, 28 Oct 2009 15:11:40 +0000 (15:11 +0000)]
Add examples.

10 years agoFix memleak in dsa key generation
Werner Koch [Fri, 21 Aug 2009 09:34:16 +0000 (09:34 +0000)]
Fix memleak in dsa key generation

10 years agoInclude sys/msg.h if needed.
Werner Koch [Wed, 5 Aug 2009 15:02:24 +0000 (15:02 +0000)]
Include sys/msg.h if needed.

10 years agoExplicitly mention zeroisation.
Werner Koch [Thu, 9 Jul 2009 12:26:26 +0000 (12:26 +0000)]
Explicitly mention zeroisation.

10 years ago[random/ChangeLog]
Werner Koch [Thu, 9 Jul 2009 11:57:28 +0000 (11:57 +0000)]
[random/ChangeLog]

* rndlinux.c (_gcry_rndlinux_gather_random): Print real values for
the progess function and call it before blocking.  Suggested by
Christian Grothoff.
* rndunix.c (slow_poll): Add similar, but not yet functional, code.

SCALAR(0x81980e8)
 Copyright 2008, 2009 Free Software Foundation, Inc.
[tests/ChangeLog]
* benchmark.c (progress_cb): New.
(main): Add option --progress.

10 years agoGet more in sync to the Fedora version.
Werner Koch [Thu, 2 Jul 2009 14:12:44 +0000 (14:12 +0000)]
Get more in sync to the Fedora version.

10 years agoMinor bug fixes.
Werner Koch [Thu, 2 Jul 2009 13:40:15 +0000 (13:40 +0000)]
Minor bug fixes.

10 years agoFix bug#1079.
Werner Koch [Thu, 2 Jul 2009 10:43:32 +0000 (10:43 +0000)]
Fix bug#1079.

10 years agoFix reading of a zero MPIs.
Werner Koch [Tue, 26 May 2009 09:41:53 +0000 (09:41 +0000)]
Fix reading of a zero MPIs.

10 years agoDoc fixes.
Werner Koch [Sun, 10 May 2009 16:27:32 +0000 (16:27 +0000)]
Doc fixes.

10 years agoDoc fixes
Werner Koch [Sun, 22 Feb 2009 21:19:31 +0000 (21:19 +0000)]
Doc fixes

10 years agoPortability fixes.
Werner Koch [Mon, 16 Feb 2009 21:05:37 +0000 (21:05 +0000)]
Portability fixes.

10 years agoAdd OpenPGP opeion and fix non openpgp calculation.
Werner Koch [Fri, 13 Feb 2009 18:47:56 +0000 (18:47 +0000)]
Add OpenPGP opeion and fix non openpgp calculation.

10 years agoAdd a new helper tool
Werner Koch [Wed, 11 Feb 2009 11:53:54 +0000 (11:53 +0000)]
Add a new helper tool

10 years agofix for bug#993.
Werner Koch [Mon, 2 Feb 2009 10:57:44 +0000 (10:57 +0000)]
fix for bug#993.

10 years agoAdd some comments on hash algorithm security.
Werner Koch [Mon, 26 Jan 2009 09:58:18 +0000 (09:58 +0000)]
Add some comments on hash algorithm security.

10 years agoPrepare for new developments.
Werner Koch [Thu, 22 Jan 2009 19:36:02 +0000 (19:36 +0000)]
Prepare for new developments.

10 years agoPreparing libgcrypt-1.4.4
Werner Koch [Thu, 22 Jan 2009 19:06:01 +0000 (19:06 +0000)]
Preparing

10 years agoLast tweak for the driver.
Werner Koch [Thu, 22 Jan 2009 15:12:28 +0000 (15:12 +0000)]
Last tweak for the driver.

10 years agoDSA Tweak for the CAVS test script
Werner Koch [Thu, 22 Jan 2009 11:51:22 +0000 (11:51 +0000)]
DSA Tweak for the CAVS test script

10 years agoSix DSA sign test.
Werner Koch [Thu, 22 Jan 2009 10:38:22 +0000 (10:38 +0000)]
Six DSA sign test.
Add stuff to help debugging.

10 years agoprint N value for rsa-derive.
Werner Koch [Wed, 21 Jan 2009 18:44:57 +0000 (18:44 +0000)]
print N value for rsa-derive.

10 years agoFix last change.
Werner Koch [Wed, 21 Jan 2009 18:05:24 +0000 (18:05 +0000)]
Fix last change.