libgcrypt.git
10 years agoImplement FIPS 186-2 key generation.
Werner Koch [Tue, 25 Nov 2008 21:09:55 +0000 (21:09 +0000)]
Implement FIPS 186-2 key generation.

10 years agoFinished RSA X9.31 key generation.
Werner Koch [Tue, 25 Nov 2008 11:05:14 +0000 (11:05 +0000)]
Finished RSA X9.31 key generation.

10 years agoCleaned up the public key module calling conventions.
Werner Koch [Mon, 24 Nov 2008 16:37:50 +0000 (16:37 +0000)]
Cleaned up the public key module calling conventions.
Add a way to derive RSA keys according to X9.31.

10 years agoMinor cleanups.
Werner Koch [Wed, 19 Nov 2008 13:52:48 +0000 (13:52 +0000)]
Minor cleanups.

10 years agoImplement mct server mode for fips driver and use it in the CAVS tests to
Werner Koch [Fri, 7 Nov 2008 16:07:02 +0000 (16:07 +0000)]
Implement mct server mode for fips driver and use it in the CAVS tests to
speed up things and to get hold of intermediate values we could not easily
retrieve with the old implementaion.

10 years agoFixed HMAC for SHA-384 and SHA-512 with keys longer than 64 bytes.
Werner Koch [Wed, 5 Nov 2008 19:13:22 +0000 (19:13 +0000)]
Fixed HMAC for SHA-384 and SHA-512 with keys longer than 64 bytes.

10 years agoAdd a method to disable the weak key detection.
Werner Koch [Wed, 5 Nov 2008 17:21:57 +0000 (17:21 +0000)]
Add a method to disable the weak key detection.
Add a method to return the current input block.
Use this in the FIPS driver.

10 years agoIncrease a buffer for use with SHA-512.
Werner Koch [Fri, 31 Oct 2008 13:57:39 +0000 (13:57 +0000)]
Increase a buffer for use with SHA-512.

10 years agoAutodetect useful gcc warnings in maintainer-mode.
Werner Koch [Thu, 30 Oct 2008 11:56:57 +0000 (11:56 +0000)]
Autodetect useful gcc warnings in maintainer-mode.
Flag _gcry_gettext with format_arg attribute.

10 years agoFix ECB mode test
Werner Koch [Thu, 30 Oct 2008 10:23:17 +0000 (10:23 +0000)]
Fix ECB mode test

10 years agoDo no restrtc usage of MD5 in fips mode.
Werner Koch [Fri, 24 Oct 2008 17:01:30 +0000 (17:01 +0000)]
Do no restrtc usage of MD5 in fips mode.

10 years agodoc fix.
Werner Koch [Mon, 20 Oct 2008 15:24:01 +0000 (15:24 +0000)]
doc fix.

10 years agoNew CAVS driver from upstream.
Werner Koch [Mon, 6 Oct 2008 16:31:37 +0000 (16:31 +0000)]
New CAVS driver from upstream.
Fixed RSA FIPS tests.

10 years agoAdd rsa verify function.
Werner Koch [Thu, 2 Oct 2008 19:30:08 +0000 (19:30 +0000)]
Add rsa verify function.

10 years agoAdd CAVS test.
Werner Koch [Thu, 2 Oct 2008 18:53:31 +0000 (18:53 +0000)]
Add CAVS test.
Various minor fixes.
Sigbus fixes for AES.

10 years agoFix bug #936.
Werner Koch [Tue, 30 Sep 2008 17:58:22 +0000 (17:58 +0000)]
Fix bug #936.
cleaned up internal symbol usage.
Add domain parameter.

10 years agofix sigbus
Werner Koch [Sat, 20 Sep 2008 10:00:36 +0000 (10:00 +0000)]
fix sigbus

10 years agoWindows fix. libgcrypt-1.4.3
Werner Koch [Thu, 18 Sep 2008 15:50:42 +0000 (15:50 +0000)]
Windows fix.

10 years agoPreparing a release
Werner Koch [Thu, 18 Sep 2008 15:25:49 +0000 (15:25 +0000)]
Preparing a release

10 years agoSyntax fix.
Werner Koch [Thu, 18 Sep 2008 12:35:06 +0000 (12:35 +0000)]
Syntax fix.

10 years agoImplemented an Enforced FIPS mode.
Werner Koch [Thu, 18 Sep 2008 12:14:09 +0000 (12:14 +0000)]
Implemented an Enforced FIPS mode.
Documentation updates.

10 years agoAnother tweak for the RNG test code.
Werner Koch [Tue, 16 Sep 2008 19:22:10 +0000 (19:22 +0000)]
Another tweak for the RNG test code.

10 years agoAllow transition to Error states from thye Init state.
Werner Koch [Tue, 16 Sep 2008 16:53:43 +0000 (16:53 +0000)]
Allow transition to Error states from thye Init state.

10 years agoMake fipsrngdriv more pretty.
Werner Koch [Tue, 16 Sep 2008 14:28:17 +0000 (14:28 +0000)]
Make fipsrngdriv more pretty.
Fix a problem in the RNG test code.
Minor doc update.

10 years agoFinish FIPS random test driver.
Werner Koch [Tue, 16 Sep 2008 07:48:25 +0000 (07:48 +0000)]
Finish FIPS random test driver.
Disable re-seeding if in test mode.

10 years agoChanged error text.
Werner Koch [Mon, 15 Sep 2008 19:43:22 +0000 (19:43 +0000)]
Changed error text.

10 years agoLog a failed intgetrity check with filename.
Werner Koch [Mon, 15 Sep 2008 19:36:07 +0000 (19:36 +0000)]
Log a failed intgetrity check with filename.

10 years agoUse syslog to log important messages.
Werner Koch [Mon, 15 Sep 2008 19:21:57 +0000 (19:21 +0000)]
Use syslog to log important messages.
Add an external RNG test hook.

10 years agoTypo fix.
Werner Koch [Mon, 15 Sep 2008 10:37:39 +0000 (10:37 +0000)]
Typo fix.
Document the CFB shift size.

10 years agodoc cleanups.
Werner Koch [Mon, 15 Sep 2008 10:19:15 +0000 (10:19 +0000)]
doc cleanups.

10 years agoAdd a new appendix with the description of the self-tests.
Werner Koch [Fri, 12 Sep 2008 19:11:10 +0000 (19:11 +0000)]
Add a new appendix with the description of the self-tests.

10 years agoAdd a bad-case test for the key generation.
Werner Koch [Fri, 12 Sep 2008 19:00:03 +0000 (19:00 +0000)]
Add a bad-case test for the key generation.

10 years agoOnly run required tests during power-up self-test.
Werner Koch [Fri, 12 Sep 2008 14:47:28 +0000 (14:47 +0000)]
Only run required tests during power-up self-test.
Enter error state after a failed key generation tests.

10 years agoAdd files.
Werner Koch [Fri, 12 Sep 2008 12:33:28 +0000 (12:33 +0000)]
Add files.

10 years agoImprove selftest done after key generation.
Werner Koch [Fri, 12 Sep 2008 11:40:22 +0000 (11:40 +0000)]
Improve selftest done after key generation.

10 years agoImproved the encryption test.
Werner Koch [Fri, 12 Sep 2008 09:48:04 +0000 (09:48 +0000)]
Improved the encryption test.

10 years agoChanged the HMAC binary check file format.
Werner Koch [Thu, 11 Sep 2008 15:11:00 +0000 (15:11 +0000)]
Changed the HMAC binary check file format.

10 years agoImplemented more self-tests.
Werner Koch [Thu, 11 Sep 2008 10:38:04 +0000 (10:38 +0000)]
Implemented more self-tests.

10 years agoAdd more selftests.
Werner Koch [Tue, 9 Sep 2008 18:06:38 +0000 (18:06 +0000)]
Add more selftests.

10 years agoFix line wrapping libgcrypt-1.4.2
Werner Koch [Mon, 8 Sep 2008 17:37:15 +0000 (17:37 +0000)]
Fix line wrapping

10 years ago2008-09-08 Marcus Brinkmann <marcus@g10code.com>
Marcus Brinkmann [Mon, 8 Sep 2008 17:22:24 +0000 (17:22 +0000)]
2008-09-08  Marcus Brinkmann  <marcus@g10code.com>

* gcrypt.texi: Some typos fixed.

10 years agodoc cleanups
Werner Koch [Mon, 8 Sep 2008 16:56:37 +0000 (16:56 +0000)]
doc cleanups

10 years agoUpdated the architecture chapter
Werner Koch [Fri, 5 Sep 2008 18:06:09 +0000 (18:06 +0000)]
Updated the architecture chapter

10 years agoLet the test suite run the selftests even in non-fips mode.
Werner Koch [Fri, 5 Sep 2008 16:00:51 +0000 (16:00 +0000)]
Let the test suite run the selftests even in non-fips mode.

10 years agoUpdated the NEWS file.
Werner Koch [Wed, 3 Sep 2008 10:42:11 +0000 (10:42 +0000)]
Updated the NEWS file.

10 years agoPrepare a release candidate libgcrypt-1.4.2rc2
Werner Koch [Mon, 1 Sep 2008 08:18:46 +0000 (08:18 +0000)]
Prepare a release candidate

10 years agoOverhauled the keygrip computation.
Werner Koch [Fri, 29 Aug 2008 15:40:24 +0000 (15:40 +0000)]
Overhauled the keygrip computation.

10 years agoChanged the way the FIPS RNG is seeded.
Werner Koch [Fri, 29 Aug 2008 11:09:26 +0000 (11:09 +0000)]
Changed the way the FIPS RNG is seeded.
FIPS cleanups.
Documentation upodates.

10 years agoAdd description of the FIPS FSM.
Werner Koch [Wed, 27 Aug 2008 13:19:27 +0000 (13:19 +0000)]
Add description of the FIPS FSM.

10 years agoAllow getting out of the FIPS error state by running a self-test.
Werner Koch [Wed, 27 Aug 2008 10:10:47 +0000 (10:10 +0000)]
Allow getting out of the FIPS error state by running a self-test.

10 years agoImplemented transient-key flag as requested by the GNUNet folks.
Werner Koch [Tue, 26 Aug 2008 11:13:57 +0000 (11:13 +0000)]
Implemented transient-key flag as requested by the GNUNet folks.
Documentation cleanups.
Removed FIPS logging unless in double verbose state.

10 years agoImplement a KAT for the fips random module.
Werner Koch [Mon, 25 Aug 2008 11:15:35 +0000 (11:15 +0000)]
Implement a KAT for the fips random module.

10 years agoCompleted the RNG implementaion switching.
Werner Koch [Fri, 22 Aug 2008 19:17:05 +0000 (19:17 +0000)]
Completed the RNG implementaion switching.
Added framework for running RNG tests.
Added an experimental option --enable-hmac-binary-check to configure.
 --This line, and those below, will be ignored--

M    src/fips.c
M    src/cipher-proto.h
M    src/global.c
M    src/hmac256.c
M    src/ChangeLog
M    src/hmac256.h
M    src/Makefile.am
M    tests/Makefile.am
M    configure.ac
M    doc/gcrypt.texi
M    random/random-fips.c
M    random/random.c
M    random/rand-internal.h
M    random/random.h
M    random/ChangeLog
M    ChangeLog
M    README

10 years agoFinished the X9.31 RNG implementations.
Werner Koch [Thu, 21 Aug 2008 18:34:24 +0000 (18:34 +0000)]
Finished the X9.31 RNG implementations.

10 years agoReplace assert calls by a new gcry_assert at most places.
Werner Koch [Wed, 20 Aug 2008 17:59:42 +0000 (17:59 +0000)]
Replace assert calls by a new gcry_assert at most places.

10 years agoImplemented gcry_mpi_lshift.
Werner Koch [Wed, 20 Aug 2008 14:10:11 +0000 (14:10 +0000)]
Implemented gcry_mpi_lshift.
Reordered some code in mpi-bit.c

11 years agoAdding gcry_mpi_lshift. libgcrypt-1.4.2rc1
Werner Koch [Tue, 19 Aug 2008 16:59:15 +0000 (16:59 +0000)]
Adding gcry_mpi_lshift.
Preparing a release candidate.

11 years agoAehmm, one more.
Werner Koch [Tue, 19 Aug 2008 16:25:30 +0000 (16:25 +0000)]
Aehmm, one more.

11 years agoAnother forgotten file.
Werner Koch [Tue, 19 Aug 2008 16:23:42 +0000 (16:23 +0000)]
Another forgotten file.

11 years agoAdd file
Werner Koch [Tue, 19 Aug 2008 16:22:32 +0000 (16:22 +0000)]
Add file

11 years agoA whole bunch of changes to eventually support
Werner Koch [Tue, 19 Aug 2008 15:55:46 +0000 (15:55 +0000)]
A whole bunch of changes to eventually support
FIPS restricted mode.  Also some documentation
improvements and other minor enhancements.
See the ChangeLogs. Stay tuned.

11 years agoClarify license entry.
Werner Koch [Mon, 4 Aug 2008 13:16:45 +0000 (13:16 +0000)]
Clarify license entry.
Small indentation change.

11 years agoMoved random stuff into its own directory.
Werner Koch [Sat, 5 Jul 2008 16:44:03 +0000 (16:44 +0000)]
Moved random stuff into its own directory.

11 years agoFixed memory leak inthe ac functions.
Werner Koch [Tue, 24 Jun 2008 08:11:04 +0000 (08:11 +0000)]
Fixed memory leak inthe ac functions.

11 years agoAdd announce files.
Werner Koch [Tue, 27 May 2008 11:46:15 +0000 (11:46 +0000)]
Add announce files.

11 years agopost release updates
Werner Koch [Fri, 25 Apr 2008 16:53:39 +0000 (16:53 +0000)]
post release updates

11 years agoPreparing the release libgcrypt-1.4.1
Werner Koch [Fri, 25 Apr 2008 16:19:16 +0000 (16:19 +0000)]
Preparing the release

11 years agoAccording to the changelog thsi file has been removed 3 years ago. Tell svn
Werner Koch [Wed, 23 Apr 2008 07:07:27 +0000 (07:07 +0000)]
According to the changelog thsi file has been removed 3 years ago.  Tell svn
about it.

11 years agoPreapring a release candidate libgcrypt-1.4.1rc1
Werner Koch [Tue, 22 Apr 2008 10:25:35 +0000 (10:25 +0000)]
Preapring a release candidate

11 years agoCollected changes. See ChnageLogs.
Werner Koch [Fri, 18 Apr 2008 11:44:07 +0000 (11:44 +0000)]
Collected changes.  See ChnageLogs.

11 years agoBetter AES performance.
Werner Koch [Mon, 17 Mar 2008 18:08:15 +0000 (18:08 +0000)]
Better AES performance.

11 years agoAdd a non-blinding test
Werner Koch [Wed, 12 Mar 2008 09:20:33 +0000 (09:20 +0000)]
Add a non-blinding test

11 years ago2008-01-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 21 Jan 2008 17:17:54 +0000 (17:17 +0000)]
2008-01-21  Marcus Brinkmann  <marcus@g10code.de>

* hwfeatures.c (detect_ia32_gnuc): Fix inline asm.

11 years agoManual and comment fixes.
Werner Koch [Tue, 8 Jan 2008 11:48:02 +0000 (11:48 +0000)]
Manual and comment fixes.
Fixed a entropy wasting bug.

11 years agoSmall build fixes from Tim Mooney.
Werner Koch [Tue, 11 Dec 2007 08:11:49 +0000 (08:11 +0000)]
Small build fixes from Tim Mooney.

11 years agoPreparing 1.4.0. libgcrypt-1.4.0
Werner Koch [Mon, 10 Dec 2007 09:17:25 +0000 (09:17 +0000)]
Preparing 1.4.0.

11 years agoFixed an internal bug in rsa.c
Werner Koch [Wed, 5 Dec 2007 09:50:50 +0000 (09:50 +0000)]
Fixed an internal bug in rsa.c
Allow to decryption/signing using a minimal RSA key.

11 years agoPreparing a release libgcrypt-1.3.2
Werner Koch [Mon, 3 Dec 2007 09:56:52 +0000 (09:56 +0000)]
Preparing a release

11 years agoAdd support for the HW RNG. However i was not able to test it because it
Werner Koch [Fri, 30 Nov 2007 16:33:09 +0000 (16:33 +0000)]
Add support for the HW RNG.  However i was not able to test it because it
seems to be disabled by the OS.

11 years agoThe ACE engine of VIA processors is now used for AES-128.
Werner Koch [Thu, 29 Nov 2007 10:55:46 +0000 (10:55 +0000)]
The ACE engine of VIA processors is now used for AES-128.

11 years agoFixed SHA-224 DER template.
Werner Koch [Wed, 28 Nov 2007 10:37:20 +0000 (10:37 +0000)]
Fixed SHA-224 DER template.

11 years agoFixed malloc attribute detetection.
Werner Koch [Tue, 13 Nov 2007 08:51:23 +0000 (08:51 +0000)]
Fixed malloc attribute detetection.

11 years agoReorganizatiosn to support the visibility attribute.
Werner Koch [Wed, 31 Oct 2007 10:48:01 +0000 (10:48 +0000)]
Reorganizatiosn to support the visibility attribute.
This can be improved by using fucntion aliases instead
of wrapper functions.

11 years agoFixed host/target usage.
Werner Koch [Mon, 29 Oct 2007 20:36:08 +0000 (20:36 +0000)]
Fixed host/target usage.

11 years agoPreparing a release libgcrypt-1.3.1
Werner Koch [Fri, 26 Oct 2007 13:20:53 +0000 (13:20 +0000)]
Preparing a release

11 years agoUpdated the Windows entropy gatherer.
Werner Koch [Thu, 25 Oct 2007 17:36:29 +0000 (17:36 +0000)]
Updated the Windows entropy gatherer.
Typo fixes.

11 years agoUse extra counter to check random pool filling.
Werner Koch [Thu, 23 Aug 2007 07:29:14 +0000 (07:29 +0000)]
Use extra counter to check random pool filling.
Updated the documentation.
Typo and comment fixes.

11 years agoAdd new debug tool for S-expressions.
Werner Koch [Wed, 22 Aug 2007 17:43:39 +0000 (17:43 +0000)]
Add new debug tool for S-expressions.

11 years agoMade all library code LGPL.
Werner Koch [Wed, 22 Aug 2007 09:52:59 +0000 (09:52 +0000)]
Made all library code LGPL.

11 years agoChanged rndw32 to LGPL.
Werner Koch [Wed, 22 Aug 2007 09:11:06 +0000 (09:11 +0000)]
Changed rndw32 to LGPL.
Typo fixes.

12 years agoFixed symbol prefix detection.
Werner Koch [Thu, 26 Jul 2007 09:15:12 +0000 (09:15 +0000)]
Fixed symbol prefix detection.
Typo fixes.

12 years agoAdd an RSA benchmark (fix)
Werner Koch [Wed, 20 Jun 2007 18:07:52 +0000 (18:07 +0000)]
Add an RSA benchmark (fix)

12 years agoAdd an RSA benchmark.
Werner Koch [Wed, 20 Jun 2007 17:02:25 +0000 (17:02 +0000)]
Add an RSA benchmark.

12 years ago2007-06-15 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 15 Jun 2007 13:24:23 +0000 (13:24 +0000)]
2007-06-15  Marcus Brinkmann  <marcus@g10code.de>

* autogen.sh: Use = instead of == in test.

12 years agoPth fix for W32.
Werner Koch [Wed, 6 Jun 2007 17:01:56 +0000 (17:01 +0000)]
Pth fix for W32.

12 years agoCamellia is now LGPLed
Werner Koch [Thu, 31 May 2007 09:48:05 +0000 (09:48 +0000)]
Camellia is now LGPLed

12 years ago2007-05-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 19 May 2007 21:31:51 +0000 (21:31 +0000)]
2007-05-19  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Fix test for optional UDIV and UDIV_QRNND MPI
modules.

12 years agosrc/
Marcus Brinkmann [Wed, 9 May 2007 22:20:26 +0000 (22:20 +0000)]
src/
2007-05-09  Marcus Brinkmann  <marcus@g10code.de>

* gcrypt.h.in (gcry_ac_io_t): Add name for anonymous union, and mark
all members as internal (actually: deprecated).

cipher/
2007-05-09  Marcus Brinkmann  <marcus@g10code.de>

* ac.c (_gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read):
Adjust users of gcry_ac_io_t because union is not anonymous
anymore.

12 years ago2007-05-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 9 May 2007 18:13:31 +0000 (18:13 +0000)]
2007-05-09  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (ac_cv_mpi_config_done): Unused variable removed.
(ac_cv_mpi_mod_list, MPI_MOD_LIST_LO, MPI_MOD_LIST_O): Removed.
(MPI_MOD_ASM_MPIH_ADD1, MPI_MOD_ASM_MPIH_SUB1,
MPI_MOD_ASM_MPIH_MUL1, MPI_MOD_ASM_MPIH_MUL2,
MPI_MOD_ASM_MPIH_MUL3, MPI_MOD_ASM_MPIH_LSHIFT,
MPI_MOD_ASM_MPIH_RSHIFT, MPI_MOD_ASM_MPIH_UDIV,
MPI_MOD_ASM_MPIH_UDIV_QRNND, MPI_MOD_C_MPIH_ADD1,
MPI_MOD_C_MPIH_SUB1, MPI_MOD_C_MPIH_MUL1, MPI_MOD_C_MPIH_MUL2,
MPI_MOD_C_MPIH_MUL3, MPI_MOD_C_MPIH_LSHIFT, MPI_MOD_C_MPIH_RSHIFT,
MPI_MOD_C_MPIH_UDIV, MPI_MOD_C_MPIH_UDIV_QRNND): New automake
variables.

mpi/
2007-05-09  Marcus Brinkmann  <marcus@g10code.de>

* config.links: Rename assembler file links by suffixing "-asm".
* Makefile.am (CCASCOMPILE, LTCCASCOMPILE, CLEANFILES,
libmpi_la_LIBADD, libmpi_la_DEPENDENCIES, SUFFIXES, .S.o, .S.obj,
.S.lo): Removed variables and targets.
(mpih_add1, mpih_sub1, mpih_mul1, mpih_mul2, mpih_mul3,
mpih_lshift, mpih_rshift, mpih_udiv, mpih_udiv_qrnnd,
nodist_libmpi_la_SOURCES): New variables.
(DISTCLEANFILES): Rename assembler file links by suffixing "-asm".
Add variants for C file links.

12 years agoPost release updates.
Werner Koch [Fri, 4 May 2007 11:01:17 +0000 (11:01 +0000)]
Post release updates.
Allow colons as delimiters for --enable-mpi-path.