head 1.9; access; symbols pkgsrc-2013Q4:1.8.0.20 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.18 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.16 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.14 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.12 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.10 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.8 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.6 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.2 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.7.0.22 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.20 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.18 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.16 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.14 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.12 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.10 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.8 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.6 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.4 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.2 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.6.0.10 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.8 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.6 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.4 pkgsrc-2008Q1:1.6.0.2 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.5.0.8 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.6 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.4 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.2 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2; locks; strict; comment @# @; 1.9 date 2014.01.01.11.49.59; author wiz; state dead; branches; next 1.8; commitid A7mx1NrjLvjllpjx; 1.8 date 2011.07.13.21.21.52; author adam; state Exp; branches; next 1.7; 1.7 date 2008.10.14.11.33.13; author adam; state Exp; branches; next 1.6; 1.6 date 2008.03.07.16.16.22; author wiz; state Exp; branches; next 1.5; 1.5 date 2007.02.03.00.08.51; author wiz; state Exp; branches; next 1.4; 1.4 date 2005.03.10.15.38.33; author tv; state Exp; branches; next 1.3; 1.3 date 2005.01.14.11.26.34; author adam; state dead; branches; next 1.2; 1.2 date 2004.12.18.23.54.58; author grant; state Exp; branches; next 1.1; 1.1 date 2004.10.23.08.57.33; author shannonjr; state Exp; branches; next ; desc @@ 1.9 log @Update to 1.6.0: Noteworthy changes in version 1.6.0 (2013-12-16) ------------------------------------------------ * Removed the long deprecated gcry_ac interface. Thus Libgcrypt is not anymore ABI compatible to previous versions if they used the ac interface. * Removed the module register subsystem. * The deprecated message digest debug macros have been removed. Use gcry_md_debug instead. * Removed deprecated control codes. * Improved performance of most cipher algorithms as well as for the SHA family of hash functions. * Added support for the IDEA cipher algorithm. * Added support for the Salsa20 and reduced Salsa20/12 stream ciphers. * Added limited support for the GOST 28147-89 cipher algorithm. * Added support for the GOST R 34.11-94 and R 34.11-2012 (Stribog) hash algorithms. * Added a random number generator to directly use the system's RNG. Also added an interface to prefer the use of a specified RNG. * Added support for the SCRYPT algorithm. * Mitigated the Yarom/Falkner flush+reload side-channel attack on RSA secret keys. See [CVE-2013-4242]. * Added support for Deterministic DSA as per RFC-6969. * Added support for curve Ed25519. * Added a scatter gather hash convenience function. * Added several MPI amd SEXP helper functions. * Added support for negative numbers to gcry_mpi_print, gcry_mpi_aprint and gcry_mpi_scan. * The algorithm ids GCRY_PK_ECDSA and GCRY_PK_ECDH are now deprecated. Use GCRY_PK_ECC if you need an algorithm id. * Changed gcry_pk_genkey for "ecc" to only include the curve name and not the parameters. The flag "param" may be used to revert this. * Added a feature to globally disable selected hardware features. * Added debug helper functions. @ text @$NetBSD: patch-ac,v 1.8 2011/07/13 21:21:52 adam Exp $ --- src/gcrypt.h.orig 2008-09-18 17:11:53.000000000 +0200 +++ src/gcrypt.h @@@@ -177,6 +177,11 @@@@ gcry_err_code_t gcry_error_from_errno (i /* This enum is deprecated; it is only declared for the sake of complete API compatibility. */ enum gcry_thread_option +#elif defined(__INTERIX) +#define _GCRY_PTH_FD_SET fd_set +#define _GCRY_PTH_SOCKADDR struct sockaddr +#define _GCRY_PTH_SOCKLEN_T int +#define _GCRY_PTH_MSGHDR void { _GCRY_THREAD_OPTION_DUMMY } _GCRY_GCC_ATTR_DEPRECATED; @ 1.8 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2008/10/14 11:33:13 adam Exp $ @ 1.7 log @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. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -173,6 +173,11 @@@@ gcry_err_code_t gcry_error_from_errno (i @ 1.6 log @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*. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2007/02/03 00:08:51 wiz Exp $ d3 1 a3 1 --- src/gcrypt.h.orig 2007-12-10 09:05:46.000000000 +0000 d5 3 a7 3 @@@@ -171,6 +171,11 @@@@ gcry_err_code_t gcry_error_from_errno (i d15 2 a16 2 GCRY_THREAD_OPTION_DEFAULT = 0, GCRY_THREAD_OPTION_USER = 1, @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2005/03/10 15:38:33 tv Exp $ d3 1 a3 1 --- src/gcrypt.h.orig 2007-02-01 18:43:13.000000000 +0000 d5 4 a8 4 @@@@ -171,6 +171,11 @@@@ enum gcry_thread_option #define _GCRY_PTH_SOCKADDR void #define _GCRY_PTH_SOCKLEN_T int #define _GCRY_PTH_MSGHDR void d14 3 a16 3 #else #define _GCRY_PTH_FD_SET fd_set #define _GCRY_PTH_SOCKADDR struct sockaddr @ 1.4 log @Make build on Interix, sharing some of the OS-specific oddities with _WIN32. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/gcrypt.h.orig Wed Jan 5 08:52:55 2005 d5 1 a5 1 @@@@ -168,6 +168,11 @@@@ enum gcry_thread_option @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2004/12/18 23:54:58 grant Exp $ d3 1 a3 1 --- src/gcrypt.h.orig 2004-04-15 19:10:37.000000000 +1000 d5 12 a16 15 @@@@ -29,6 +29,14 @@@@ #include #include +/* + * The following line (socklen_t comment) is used in the pkgsrc + * post-configure target to patch this file. + */ + +/* socklen_t */ + +#include /* This is required for error code compatibility. */ #define _GCRY_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_GCRYPT @ 1.2 log @add hack for missing socklen_t typedef handling. fixes build on Darwin. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @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. @ text @d3 1 a3 1 --- src/gcrypt.h.orig 2004-04-15 03:10:37.000000000 -0600 d5 1 a5 1 @@@@ -29,6 +29,7 @@@@ d9 7 @