summaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Post release updatesWerner Koch2021-02-171-0/+9
| | | | --
* Release 1.9.2libgcrypt-1.9.2Werner Koch2021-02-171-2/+2
|
* Update NEWSWerner Koch2021-02-121-0/+19
| | | | --
* Post release updatesWerner Koch2021-01-291-0/+8
| | | | --
* Release 1.9.1libgcrypt-1.9.1Werner Koch2021-01-291-1/+54
| | | | * configure.ac: Bump LT version to C23/A3/R1.
* doc: Fix wrong CVE id in NEWSWerner Koch2021-01-201-1/+1
| | | | --
* Post release updatesWerner Koch2021-01-191-0/+4
| | | | --
* Release 1.9.0libgcrypt-1.9.0Werner Koch2021-01-191-5/+7
|
* doc: Add NEWS items for 1.9.0Werner Koch2021-01-181-11/+95
| | | | --
* doc: Add NEWS from the latest 1.8 releasesWerner Koch2021-01-121-0/+35
| | | | --
* sexp: Extend gcry_sexp_extract_param with new format specifiers.Werner Koch2020-04-091-0/+8
| | | | | | | * src/sexp.c (_gcry_sexp_vextract_param): Add new conversion methods. * tests/t-sexp.c (check_extract_param): Add corresponding tests. Signed-off-by: Werner Koch <wk@gnupg.org>
* Merge release info from 1.8.4Werner Koch2018-10-261-0/+15
| | | | --
* Add NEWS from the 1.8 and 1.7 branches.Werner Koch2018-06-131-5/+37
| | | | --
* api: Add GCRYCTL_AUTO_EXPAND_SECMEM.Werner Koch2017-11-241-0/+1
| | | | | | | | | | | | * src/gcrypt.h.in (GCRYCTL_AUTO_EXPAND_SECMEM): New enum. * src/global.c (_gcry_vcontrol): Implement that. * src/secmem.c (auto_expand): New var. (_gcry_secmem_set_auto_expand): New. (_gcry_secmem_malloc_internal): Act upon AUTO_EXPAND. -- GnuPG-bug-id: 3530 Signed-off-by: Werner Koch <wk@gnupg.org>
* api: New function gcry_mpi_get_ui.Werner Koch2017-10-171-0/+5
| | | | | | | | | | | | | | | | | | | * src/gcrypt.h.in (gcry_mpi_get_ui): New. (mpi_get_ui): New macro. * src/libgcrypt.def, src/libgcrypt.vers: Add new function. * src/visibility.c (gcry_mpi_get_ui): New. * src/visibility.h: Mark that function. (gcry_mpi_get_ui): New. * mpi/mpiutil.c (MY_UINT_MAX): New macro. (_gcry_mpi_get_ui): Re-implemented. This function existed but was never imported or used. * tests/mpitests.c (test_maxsize): Add some test for this function. -- Note that in libgcrypt.def the cardinal 91 is used which was never used in the past. Signed-off-by: Werner Koch <wk@gnupg.org>
* Prepare for the 1.9 branchlibgcrypt-1.9-baseWerner Koch2017-08-271-1/+1
| | | | | | | | | | -- We need to bump the LT Age even if there won't be compatible interface change. This is so that we can keep on updating the Revision in the 1.8 branch. Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2017-08-271-0/+4
| | | | --
* Release 1.8.1libgcrypt-1.8.1Werner Koch2017-08-271-1/+14
| | | | | | * configure.ac: Set LT version to C22/A2/R1. Signed-off-by: Werner Koch <wk@gnupg.org>
* doc: Typo fix.Werner Koch2017-07-201-1/+1
| | | | --
* Post release updatesWerner Koch2017-07-181-0/+4
| | | | --
* Release 1.8.0libgcrypt-1.8.0Werner Koch2017-07-181-6/+30
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* api: New function gcry_mpi_point_copy.Werner Koch2017-07-181-0/+1
| | | | | | | | | | | * src/gcrypt.h.in (gcry_mpi_point_copy): New. (mpi_point_copy): New macro. * src/visibility.c (gcry_mpi_point_copy): New. * src/libgcrypt.def, src/libgcrypt.vers: Add function. * mpi/ec.c (_gcry_mpi_point_copy): New. * tests/t-mpi-point.c (set_get_point): Add test. Signed-off-by: Werner Koch <wk@gnupg.org>
* Update NEWSWerner Koch2017-07-061-0/+5
| | | | | | -- Signed-off-by: Werner Koch <wk@gnupg.org>
* api: New function gcry_get_config.Werner Koch2017-06-211-0/+1
| | | | | | | | | | | | | | | | | | * src/misc.c (_gcry_log_info_with_dummy_fp): Remove. * src/global.c (print_config): New arg WHAT. Remove arg FNC and use gpgrt_fprintf directly. (_gcry_get_config): New. (_gcry_vcontrol) <GCRYCTL_PRINT_CONFIG>: Use _gcry_get_config instead of print_config. * src/gcrypt.h.in (gcry_get_config): New. * src/libgcrypt.def, src/libgcrypt.vers: Add new function. * src/visibility.c (gcry_get_config): New. * src/visibility.h: Mark new function. * tests/version.c (test_get_config): New. (main): Call new test. Signed-off-by: Werner Koch <wk@gnupg.org>
* Add release info from 1.7.7 to NEWSWerner Koch2017-06-021-0/+6
| | | | --
* api: Deprecate gcry_md_infoWerner Koch2017-05-311-0/+1
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Update NEWS with release info from 1.7.4 to 1.7.6.Werner Koch2017-01-271-37/+32
| | | | --
* Extend GCRYCTL_PRINT_CONFIG to print compiler version.Werner Koch2017-01-031-0/+5
| | | | | | | * src/global.c (print_config): Print version of libgpg-error and used compiler. Signed-off-by: Werner Koch <wk@gnupg.org>
* Add release info from 1.7.5Werner Koch2016-12-151-1/+9
| | | | --
* Add release info from 1.7.4Werner Koch2016-12-091-0/+35
| | | | --
* doc: Update NEWS.Werner Koch2016-12-071-0/+8
| | | | --
* Put blocking calls into Libgpg-error's system call clamp.Werner Koch2016-11-121-1/+19
| | | | | | | | | | | | | | | * src/gcrypt.h.in (GCRYCTL_REINIT_SYSCALL_CLAMP): New. * configure.ac: Require Libgpg-error 1.25. Set version number to 1.8.0. * src/gcrypt-int.h: Remove error code emulation. * src/global.c (pre_syscall_func, post_syscall_func): New. (global_init): Call gpgrt_get_syscall_clamp. (_gcry_vcontrol) <GCRYCTL_REINIT_SYSCALL_CLAMP>: Ditto. (_gcry_pre_syscall, _gcry_post_syscall): New. * random/rndlinux.c (_gcry_rndlinux_gather_random): Use the new functions. Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2016-08-171-0/+4
| | | | --
* Release 1.7.3libgcrypt-1.7.3Werner Koch2016-08-171-1/+14
| | | | | | * configure.ac: Set LT version to C21/A1/R3. Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2016-07-141-0/+4
| | | | --
* Release 1.7.2libgcrypt-1.7.2Werner Koch2016-07-141-3/+3
| | | | | | | * configure.ac: Set LT version to C21/A1/R2. * Makefile.am (distcheck-hook): New. Signed-off-by: Werner Koch <wk@gnupg.org>
* build: Update NEWS.Werner Koch2016-07-141-0/+18
| | | | --
* Post release updatesWerner Koch2016-06-151-0/+4
| | | | --
* Release 1.7.1libgcrypt-1.7.1Werner Koch2016-06-151-1/+19
|
* Post release updates.Werner Koch2016-04-151-0/+4
| | | | --
* Release 1.7.0libgcrypt-1.7.0Werner Koch2016-04-151-59/+146
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* cipher: Add constant for 8 bit CFB mode.Werner Koch2016-04-141-0/+1
| | | | | | | | | | | * src/gcrypt.h.in (GCRY_CIPHER_MODE_CFB8): New. * tests/basic.c (check_cfb_cipher): Prepare for CFB-8 tests. -- Note that there is no implementation for the 8 bit CFB mode yet. We will add that as a bug fix after the release of 1.7.0. Signed-off-by: Werner Koch <wk@gnupg.org>
* Add new control GCRYCTL_GET_TAGLEN for use with gcry_cipher_info.Werner Koch2016-03-231-0/+1
| | | | | | | | | | | | | | * src/gcrypt.h.in (GCRYCTL_GET_TAGLEN): New. * cipher/cipher.c (_gcry_cipher_info): Add GCRYCTL_GET_TAGLEN feature. * tests/basic.c (_check_gcm_cipher): Check that new feature. (_check_poly1305_cipher): Ditto. (check_ccm_cipher): Ditto. (do_check_ocb_cipher): Ditto. (check_ctr_cipher): Add negative test for new feature. -- Signed-off-by: Werner Koch <wk@gnupg.org>
* Update 'Interface changes' in NEWSJussi Kivilinna2016-01-291-0/+17
| | | | | | -- Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
* Update NEWSJussi Kivilinna2016-01-291-0/+13
| | | | | | -- Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
* ecc: New API function gcry_mpi_ec_decode_point.Werner Koch2016-01-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mpi/ec.c (_gcry_mpi_ec_decode_point): New. * cipher/ecc-common.h: Move two prototypes to ... * src/ec-context.h: here. * src/gcrypt.h.in (gcry_mpi_ec_decode_point): New. * src/libgcrypt.def (gcry_mpi_ec_decode_point): New. * src/libgcrypt.vers (gcry_mpi_ec_decode_point): New. * src/visibility.c (gcry_mpi_ec_decode_point): New. * src/visibility.h: Add new function. -- This new function make the use of the gcry_mpi_ec_curve_point function possible in many contexts. Here is a code snippet which could be used in gpg to check a point: static gpg_error_t check_point (PKT_public_key *pk, gcry_mpi_t m_point) { gpg_error_t err; char *curve; gcry_ctx_t gctx = NULL; gcry_mpi_point_t point = NULL; /* Get the curve name from the first OpenPGP key parameter. */ curve = openpgp_oid_to_str (pk->pkey[0]); if (!curve) { err = gpg_error_from_syserror (); goto leave; } point = gcry_mpi_point_new (0); if (!point) { err = gpg_error_from_syserror (); goto leave; } err = gcry_mpi_ec_new (&gctx, NULL, curve); if (err) goto leave; err = gcry_mpi_ec_decode_point (point, m_point, gctx); if (err) goto leave; if (!gcry_mpi_ec_curve_point (point, gctx)) err = gpg_error (GPG_ERR_BAD_DATA); leave: gcry_ctx_release (gctx); gcry_mpi_point_release (point); xfree (curve); return err; } Signed-off-by: Werner Koch <wk@gnupg.org>
* Add pubkey algo id for EdDSA.Werner Koch2015-08-311-0/+1
| | | | | | | | | | * src/gcrypt.h.in (GCRY_PK_EDDSA): New. -- These ids are not actually used by Libgcrypt but other software makes use of such algorithm ids. Thus we provide them here. Signed-off-by: Werner Koch <wk@gnupg.org>
* ecc: Add key generation flag "no-keytest".Werner Koch2015-05-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/cipher.h (PUBKEY_FLAG_NO_KEYTEST): New. * cipher/pubkey-util.c (_gcry_pk_util_parse_flaglist): Add flag "no-keytest". Return an error for invalid flags of length 10. * cipher/ecc.c (nist_generate_key): Replace arg random_level by flags set random level depending on flags. * cipher/ecc-eddsa.c (_gcry_ecc_eddsa_genkey): Ditto. * cipher/ecc.c (ecc_generate): Pass flags to generate fucntion and remove var random_level. (nist_generate_key): Implement "no-keytest" flag. * tests/keygen.c (check_ecc_keys): Add tests for transient-key and no-keytest. -- After key creation we usually run a test to check whether the keys really work. However for transient keys this might be too time consuming and given that a failed test would anyway abort the process the optional use of a flag to skip the test is appropriate. Using Ed25519 for EdDSA and the "no-keytest" flags halves the time to create such a key. This was measured by looping the last test from check_ecc_keys() 1000 times with and without the flag. Due to a bug in the flags parser unknown flags with a length of 10 characters were not detected. Thus the "no-keytest" flag can be employed by all software even for libraries before this. That bug is however solved with this version. Signed-off-by: Werner Koch <wk@gnupg.org>
* Add OCB cipher modeWerner Koch2015-01-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cipher/cipher-ocb.c: New. * cipher/Makefile.am (libcipher_la_SOURCES): Add cipher-ocb.c * cipher/cipher-internal.h (OCB_BLOCK_LEN, OCB_L_TABLE_SIZE): New. (gcry_cipher_handle): Add fields marks.finalize and u_mode.ocb. * cipher/cipher.c (_gcry_cipher_open_internal): Add OCB mode. (_gcry_cipher_open_internal): Setup default taglen of OCB. (cipher_reset): Clear OCB specific data. (cipher_encrypt, cipher_decrypt, _gcry_cipher_authenticate) (_gcry_cipher_gettag, _gcry_cipher_checktag): Call OCB functions. (_gcry_cipher_setiv): Add OCB specific nonce setting. (_gcry_cipher_ctl): Add GCRYCTL_FINALIZE and GCRYCTL_SET_TAGLEN * src/gcrypt.h.in (GCRYCTL_SET_TAGLEN): New. (gcry_cipher_final): New. * cipher/bufhelp.h (buf_xor_1): New. * tests/basic.c (hex2buffer): New. (check_ocb_cipher): New. (main): Call it here. Add option --cipher-modes. * tests/bench-slope.c (bench_aead_encrypt_do_bench): Call gcry_cipher_final. (bench_aead_decrypt_do_bench): Ditto. (bench_aead_authenticate_do_bench): Ditto. Check error code. (bench_ocb_encrypt_do_bench): New. (bench_ocb_decrypt_do_bench): New. (bench_ocb_authenticate_do_bench): New. (ocb_encrypt_ops): New. (ocb_decrypt_ops): New. (ocb_authenticate_ops): New. (cipher_modes): Add them. (cipher_bench_one): Skip wrong block length for OCB. * tests/benchmark.c (cipher_bench): Add field noncelen to MODES. Add OCB support. -- See the comments on top of cipher/cipher-ocb.c for the patent status of the OCB mode. The implementation has not yet been optimized and as such is not faster that the other AEAD modes. A first candidate for optimization is the double_block function. Large improvements can be expected by writing an AES ECB function to work on multiple blocks. Signed-off-by: Werner Koch <wk@gnupg.org>
* mpi: Add gcry_mpi_ec_sub.Markus Teich2014-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | * NEWS (gcry_mpi_ec_sub): New. * doc/gcrypt.texi (gcry_mpi_ec_sub): New. * mpi/ec.c (_gcry_mpi_ec_sub, sub_points_edwards): New. (sub_points_montgomery, sub_points_weierstrass): New stubs. * src/gcrypt-int.h (_gcry_mpi_ec_sub): New. * src/gcrypt.h.in (gcry_mpi_ec_sub): New. * src/libgcrypt.def (gcry_mpi_ec_sub): New. * src/libgcrypt.vers (gcry_mpi_ec_sub): New. * src/mpi.h (_gcry_mpi_ec_sub_points): New. * src/visibility.c (gcry_mpi_ec_sub): New. * src/visibility.h (gcry_mpi_ec_sub): New. -- This function subtracts two points on the curve. Only Twisted Edwards curves are supported with this change. Signed-off-by: Markus Teich <markus dot teich at stusta dot mhn dot de>