Commit graph

35 commits

Author SHA1 Message Date
cheusov
f1bd53c1e7 Fix compilation failure:
./src/.libs/libgcrypt.so: undefined reference to `assert'
2011-11-29 01:33:37 +00:00
taca
743ad89c72 Re-add entries for gcrypt.tar.bz2 which neede by idea PKG_OPTIONS. 2011-07-14 01:03:35 +00:00
adam
833ca25fa0 Changes 1.5.0:
* New function gcry_kdf_derive implementing OpenPGP S2K algorithms
  and PBKDF2.
* Support for WindowsCE.
* Support for ECDH.
* Support for OAEP and PSS methods as described by RFC-3447.
* Fixed PKCS v1.5 code to always return the leading zero.
* New format specifiers "%M" and "%u" for gcry_sexp_build.
* Support opaque MPIs with "%m" and "%M" in gcry_sexp_build.
* New functions gcry_pk_get_curve and gcry_pk_get_param to map ECC
  parameters to a curve name and to retrieve parameter values.
* gcry_mpi_cmp applied to opaque values has a defined semantic now.
* Uses the Intel AES-NI instructions if available.
* The use of the deprecated Alternative Public Key Interface
  (gcry_ac_*) will now print compile time warnings.
* The module register subsystem has been deprecated.  This subsystem
  is not flexible enough and would always require ABI changes to
  extend the internal interfaces.  It will eventually be removed.
  Please contact us on the gcrypt-devel mailing list to discuss
  whether you really need this feature or how it can be replaced by
  an internal plugin mechanism.
* CTR mode may now be used with data chunks of arbitrary length.
2011-07-13 21:21:52 +00:00
taca
290874ff8f Add information for libgcrypt-1.4.6/gcrypt.tar.bz2 which is needed with
idea PKG_OPTION.
Fix PR pkg/43675 reported by Ryo HAYASAKA.
2010-07-27 04:45:41 +00:00
adam
a1676cb63f Changes in version 1.4.6:
* New variants of the TIGER algorithm.
* New cipher algorithm mode for AES-WRAP.
* Interface changes relative to the 1.4.2 release:
  GCRY_MD_TIGER1             NEW.
  GCRY_MD_TIGER2             NEW.
  GCRY_CIPHER_MODE_AESWRAP   NEW.
2010-07-23 06:39:03 +00:00
drochner
ba10990554 put back the (non-default) "idea" option which got lost a while ago 2009-12-18 18:54:24 +00:00
wiz
bf16cd60c6 Update to 1.4.5:
Noteworthy changes in version 1.4.5 (2009-12-11)
------------------------------------------------

 * Fixed minor memory leak in DSA key generation.

 * No more switching to FIPS mode if /proc/version is not readable.

 * Fixed a sigill during Padlock detection on old CPUs.

 * Fixed a hang on some W2000 machines.

 * Boosted SHA-512 performance by 30% on ia32 boxes and gcc 4.3;
   SHA-256 went up by 25%.
2009-12-15 10:40:11 +00:00
adam
6c385f5ff3 Changes 1.4.4:
* Publish GCRY_MODULE_ID_USER and GCRY_MODULE_ID_USER_LAST constants.
  This functionality has been in Libgcrypt since 1.3.0.
* MD5 may now be used in non-enforced fips mode.
* Fixed HMAC for SHA-384 and SHA-512 with keys longer than 64 bytes.
* In fips mode, RSA keys are now generated using the X9.31 algorithm
  and DSA keys using the FIPS 186-2 algorithm.
* The transient-key flag is now also supported for DSA key
  generation.  DSA domain parameters may be given as well.
2009-01-31 08:53:14 +00:00
wiz
bfc9fdcd47 Add patch-ag. 2008-10-29 10:30:44 +00:00
adam
d779ce5514 Changes 1.4.3:
* Try to auto-initialize Libgcrypt to minimize the effect of
  applications not doing that correctly.  This is not a perfect
  solution but given that many applicationion would totally fail
  without such a hack, we try to help at least with the most common
  cases.  Folks, please read the manual to learn how to properly
  initialize Libgcrypt!
* Auto-initialize the secure memory to 32k instead of aborting the
  process.
* Log fatal errors via syslog.
* Changed the name and the semantics of the fips mode config file.
* Add convenience macro gcry_fips_mode_active.
* More self-tests.
* Documentation cleanups.
2008-10-14 11:33:13 +00:00
wiz
1cb31b9db7 Update to 1.4.1:
Noteworthy changes in version 1.4.1 (2008-04-25)
------------------------------------------------

 * Fixed a bug introduced by 1.3.1 which led to the comsumption of far
   too much entropy for the intial seeding.

 * Improved AES performance for CFB and CBC modes.

 * Removed build problems for the Padlock support.
2008-04-29 11:03:50 +00:00
tron
6af1f268fd Readd checksum for "libgcrypt-1.2.4-idea.diff.bz2" which was accidentally
removed in revision 1.22.
2008-03-25 21:39:45 +00:00
tnn
fd23ed0d29 Fix build with MIPSPro. PR pkg/38210. 2008-03-11 22:19:54 +00:00
wiz
ab973e6cbc Update to 1.4.0:
Noteworthy changes in version 1.4.0 (2007-12-10)
------------------------------------------------

 * New configure option --disable-padlock-support which is mostly
   useful in case of build problems.


Noteworthy changes in version 1.3.2 (2007-12-03)
------------------------------------------------

 * The visibility attribute is now used if supported by the toolchain.

 * The ACE engine of VIA processors is now used for AES-128.

 * The ASN.1 DER template for SHA-224 has been fixed.


Noteworthy changes in version 1.3.1 (2007-10-26)
------------------------------------------------

 * The entire library is now under the LGPL. The helper programs and
   the manual are under the GPL.  Kudos to Peter Gutmann for giving
   permissions to relicense the rndw32 and rndunix modules.

 * The Camellia cipher is now under the LGPL and included by default.

 * Fixed a bug in the detection of symbol prefixes which inhibited the
   build of optimzied assembler code on certain systems.

 * Updated the entropy gatherer for W32.


Noteworthy changes in version 1.3.0 (2007-05-04)
------------------------------------------------

 * Changed the way the RNG gets initialized. This allows to keep it
   uninitialized as long as no random numbers are used.  To override
   this, the new macro gcry_fast_random_poll may be used.  It is in
   general a good idea to spread this macro into the application code
   to make sure that these polls happen often enough.

 * Made the RNG immune against fork without exec.

 * Reading and writing the random seed file is now protected by a
   fcntl style file lock on systems that provide this function.

 * Support for SHA-224 and HMAC using SHA-384 and SHA-512.

 * Support for the SEED cipher.

 * Support for the Camellia cipher.  Note that Camellia is disabled by
   default, and that enabling it changes the license of libgcrypt from
   LGPL to GPL.

 * Support for OFB encryption mode.

 * gcry_mpi_rshift does not anymore truncate the shift count.

 * Reserved algorithm ranges for use by applications.

 * Support for DSA2.

 * The new function gcry_md_debug should be used instead of the
   gcry_md_start_debug and gcry_md_stop_debug macros.

 * New configure option --enable-random-daemon to support a system
   wide random daemon.  The daemon code is experimental and not yet
   very well working.  It will eventually allow to keep a global
   random pool for the sake of short living processes.

 * Non executable stack support is now used by default on systems
   supporting it.

 * Support for Microsoft Windows.

 * Assembler support for the AMD64 architecture.

 * New configure option --enable-mpi-path for optimized builds.

 * Experimental support for ECDSA; should only be used for testing.

 * New control code GCRYCTL_PRINT_CONFIG to print the build
   configuration.

 * Minor changes to some function declarations.  Buffer arguments are
   now typed as void pointer.  This should not affect any compilation.
   Fixed two bugs in return values and clarified documentation.

 * Interface changes relative to the 1.2.0 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gcry_fast_random_poll	 NEW
 gcry_md_debug           NEW
 gcry_sexp_nth_string    NEW
 GCRY_MD_SHA224          NEW
 GCRY_PK_USAGE_CERT      NEW
 GCRY_PK_USAGE_AUTH      NEW
 GCRY_PK_USAGE_UNKN      NEW
 GCRY_PK_ECDSA           NEW
 GCRY_CIPHER_SEED        NEW
 GCRY_CIPHER_CAMELLIA128 NEW
 GCRY_CIPHER_CAMELLIA192 NEW
 GCRY_CIPHER_CAMELLIA256 NEW
 GCRYCTL_FAKED_RANDOM_P  NEW
 GCRYCTL_PRINT_CONFIG    NEW
 GCRYCTL_SET_RNDEGD_SOCKET  NEW.
 gcry_mpi_scan           CHANGED: Argument BUFFER is now void*.
 gcry_pk_algo_name       CHANGED: Returns "?" instead of NULL.
 gcry_cipher_algo_name   CHANGED: Returns "?" instead of "".
 gcry_pk_spec_t          CHANGED: Element ALIASES is now const ptr.
 gcry_md_write_t         CHANGED: Argument BUF is now a const void*.
 gcry_md_ctl             CHANGED: Argument BUFFER is now void*.
 gcry_cipher_encrypt     CHANGED: Arguments IN and OUT are now void*.
 gcry_cipher_decrypt     CHANGED: Arguments IN and OUT are now void*.
 gcry_sexp_sprint        CHANGED: Argument BUFFER is now void*.
 gcry_create_nonce       CHANGED: Argument BUFFER is now void*.
 gcry_randomize          CHANGED: Argument BUFFER is now void*.
 gcry_cipher_register    CHANGED: Argument ALGORITHM_ID is now int*.
2008-03-07 16:16:22 +00:00
wiz
3dec26722c Add support for idea option. From Blair Sadewitz in private mail, with
some cleanup.
2007-08-29 23:11:37 +00:00
wiz
b1e5bdfecd Update to 1.2.4:
Noteworthy changes in version 1.2.4 (2007-02-01)
------------------------------------------------

 * Fixed a bug in the memory allocator which could have been the
   reason for some of non-duplicable bugs.

 * Other minor bug fixes.
2007-02-03 00:08:51 +00:00
wiz
bbb5b9ea17 Put macro argument in parentheses. From Naoto Morishima in PR 35519.
Bump PKGREVISION.
2007-01-30 06:53:32 +00:00
markd
9ce631bb90 libgcrypt 1.2.3 may have fixed the name of the random device on NetBSD but
it broke the name of the urandom device.  Bump PKGREVISION
2006-09-06 11:41:41 +00:00
wiz
bd8341159d Update to 1.2.3:
Noteworthy changes in version 1.2.3 (2006-08-28)
------------------------------------------------

 * Rewrote gcry_mpi_rshift to allow arbitrary shift counts.

 * Minor bug fixes.
2006-09-03 09:03:01 +00:00
wiz
bb91289e31 Update to 1.2.2:
Noteworthy changes in version 1.2.2 (2005-10-05}
------------------------------------------------

 * Made the RNG immune against fork without exec.

 * Minor changes to some function declarations.  Buffer arguments are
   now typed as void pointer.  This should not affect any compilation.

 * A bug in the definition of gcry_cipher_register has been fixed.

 * Interface changes relative to the 1.2.1 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 gcry_cipher_encrypt    CHANGED: Arguments IN and OUT are now void*.
 gcry_cipher_decrypt    CHANGED: Arguments IN and OUT are now void*.
 gcry_create_nonce      CHANGED: Argument BUFFER is now void*.
 gcry_md_ctl            CHANGED: Argument BUFFER is now void*.
 gcry_sexp_sprint       CHANGED: Argument BUFFER is now void*.
 gcry_mpi_scan          CHANGED: Argument BUFFER is now void*.
 gcry_cipher_register   CHANGED: Argument ALGORITHM_ID is now int*.
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2005-10-06 12:20:41 +00:00
tv
642acf8e6a Make build on Interix, sharing some of the OS-specific oddities with _WIN32. 2005-03-10 15:38:33 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
tv
90181e27b6 It's not very useful to include <sys/select.h> in only one source file
when other source files depend on fd_set being defined in a local header.

(Required on Interix, which does not expose <sys/select.h>/<sys/time.h>
automagically via other system headers as some OS's do by default.)
2005-01-18 13:11:38 +00:00
adam
c44530b79a Changes 1.2.1:
* Portability fixes, memory allocation fixes and other minor things.
 * Support to build as a W32 static library.
 * Changed the way the RNG gets initialized. This allows to keep it
   uninitialized as long as no random numbers are used.  To override
   this, the new macro gcry_fast_random_poll may be used.  It is in
   general a good idea to spread this macro into the application code
   to make sure that these polls happen often enough.
2005-01-14 11:26:34 +00:00
grant
fa6a9ffd92 add hack for missing socklen_t typedef handling. fixes build on
Darwin.
2004-12-18 23:54:58 +00:00
gavan
3eabc09b66 Fix for compiling on Solaris SPARC with gcc.
If __sparcv8 is defined, use the SPARC v8 version of udiv_qrnnd.  Without
this change, udiv_qrnnd will not be defined using the SPARC v8 udiv
instruction, and the default SPARC v7 case of defining it to be the native
__gmpn_udiv_qrnnd will be used, but this does not exist on SPARC v8, so
at link time, the user will get an error about _gmpn_udiv_qrnnd being
undefined.  gcc defines __sparcv8.

From PR pkg/26815.
2004-10-25 13:03:53 +00:00
shannonjr
4015fdc44e Re: pkg/27317 The header gcrypt.h references struct timeval without
including sys/time.h. Added the patch summitted with PR that adds
an include for sys/time.h. Bumped PKGREVISION.
2004-10-23 08:57:33 +00:00
jmmv
fcc4f184f1 When exec'ing child processes (netstat and vmstat), make sure the standard
file descriptors (0, 1, 2) are open.  This avoids multiple warnings issued
under NetBSD about running set[ug]id programs with those descriptors closed.

Fixes PR pkg/26079; although it talks about gaim, the problem is here, in
libgcrypt.  Bump PKGREVISION to 1.
2004-07-02 13:14:27 +00:00
adam
5fcb1873eb Changes 1.2.0
* First stable release.

Changes 1.1.94
 * The support for multi-threaded users goes into its third
   incarnation.  We removed compile time support for thread libraries.
   To support the thread library of your choice, you have to set up
   callback handlers at initialization time.  New data structures, a
   new control command, and default initializers are provided for this
   purpose.

 * Interface changes relative to the 1.1.93 release:
libgcrypt-config --thread       OBSOLETE
libgcrypt-pth.la                REMOVED
libgcrypt-pthread.la            REMOVED
GCRYCTL_SET_THREAD_CBS          NEW
struct gcrypt_thread_cbs        NEW
enum gcry_thread_option         NEW
GCRY_THREAD_OPTION_PTH_IMPL     NEW
GCRY_THREAD_OPTION_PTHREAD_IMPL NEW

Changes 1.1.93
 * The automatic thread library detection has finally been removed.
   From now on, only linking explicitely to libgcrypt, libgcrypt-pth
   or libgcrypt-pthread is supported.
2004-05-22 10:07:48 +00:00
minskim
fe66015eda Regen. Noted by jmmv@. 2004-02-25 21:53:17 +00:00
minskim
51c6cdfa83 Update libgcrypt to 1.1.92.
Changes since 1.1.90:
  - Included a limited implementation of RFC2268.
  - Changed API of the gcry_ac_ functions.
  - Code cleanups and minor bug fixes.
  - Interface changes:
	GCRY_CIPHER_RFC2268_40          NEW.
	gcry_ac_data_set                CHANGED: New argument FLAGS.
	gcry_ac_data_get_name           CHANGED: New argument FLAGS.
	gcry_ac_data_get_index          CHANGED: New argument FLAGS.
	cry_ac_key_pair_generate        CHANGED: New and reordered arguments.
	gcry_ac_key_test                CHANGED: New argument HANDLE.
	gcry_ac_key_get_nbits           CHANGED: New argument HANDLE.
	gcry_ac_key_get_grip            CHANGED: New argument HANDLE.
	gcry_ac_data_search             REMOVED.
	gcry_ac_data_add                REMOVED.
	GCRY_AC_DATA_FLAG_NO_BLINDING   REMOVED.
	GCRY_AC_FLAG_NO_BLINDING        NEW: Replaces above.
2004-02-25 15:51:51 +00:00
xtraeme
a44d93e6d7 Updated to 1.1.90, provided by Min Sik Kim PR pkg/23322.
Changes:

 * The use of the GCRY_WEAK_RANDOM level is now deprecated in favor of
   the new gcry_create_nonce function.
 * gcry_sexp_build now supports a "%b" format to include a memory buffer.
 * Minor configuration fixes.
 * Interface changes relative to the 1.1.44 release:
 * Bug fixes and more code cleanups.
 * Enhanced the prime API.
 * Support for the Serpent cipher algorithm.

And more...
2003-12-06 00:26:59 +00:00
hubertf
979d04736e Fix "libgcrypt-config --libs" to add -Wl,-R. Bump to 1.1.12nb1. 2003-11-02 19:57:51 +00:00
salo
4197dd0335 Updated to version 1.1.12.
Based on a patch sent by Juan RP via PR pkg/21559.

Changes:

- DESCR has 80 columns
- style nits

1.1.12:
=======
- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an optional
  pkcs1 flags parameter in the S-expression.  A similar flag may be passed to
  gcry_pk_decrypt but it is only syntactically implemented.
- New convenience macro gcry_md_get_asnoid.
- There is now some real stuff in the manual.
2003-05-13 03:07:10 +00:00
tron
f28db5fa67 Import new "libgcrypt" package: GNU's cryptographic library
This fixes PR pkg/19732 by Juan RP.
2003-02-02 17:27:47 +00:00