Debian Codegraph @

NEWS

raw
1 Noteworthy changes in version 1.12.2 (2026-04-15) [C27/A7/R2]
2 -------------------------------------------------
3
4 * Bug fixes:
5
6 - Fix possible ECDH buffer overwrite with zeroes. [T8211]
7
8 - Add a missing bounds check to the Dilithium context handling.
9 [T8208]
10
11 - Add point validation when using the new KEM interface. [T8212]
12
13 * Other:
14
15 - Fix the dead-code of stronger_key_check for RSA. [T8171]
16
17 Release-info: https://dev.gnupg.org/T8114
18
19
20 Noteworthy changes in version 1.12.1 (2026-02-20) [C27/A7/R1]
21 -------------------------------------------------
22
23 * Bug fixes:
24
25 - Fix for aSmartOS (Solaris) build problem due to AVX2 changes.
26 [T8071]
27
28 - Fix a regression in gcry_mpi_ec_curve_point. [T8080]
29
30 - Make sure to have MPI limbs pre-allocated in ECC and fix
31 Weierstrass curve use with PUBKEY_FLAG_PARAM. [T8094]
32
33 * Other:
34
35 - Add MPI configuration for NetBSD m68k. [T8069]
36
37
38 Release-info: https://dev.gnupg.org/T8067
39
40
41 Noteworthy changes in version 1.12.0 (2026-01-29) [C27/A7/R0]
42 -------------------------------------------------
43
44 * New and extended interfaces:
45
46 - Allow access to the FIPS service indicator via the new
47 GCRYCTL_FIPS_SERVICE_INDICATOR control code.
48 [T7338,rCd0db6a5abf,rCf51f4e9893]
49
50 - Add GCRYCTL_FIPS_REJECT_NON_FIPS control code. [T7338,rCe52adf0948]
51
52 - Add GCRY_FIPS_FLAG_REJECT_PK_FLAGS constant. [T7338,rC0414e126b9]
53
54 - Make SHA-1 non-FIPS internally for the 1.12 API. This introduces
55 the GCRY_FIPS_FLAG_REJECT_MD_SHA1 constant. [rC4ee91a94bc]
56
57 - Add GCRY_FIPS_FLAG_REJECT_PK_FLAGS. [rC0414e126b9]
58
59 - Provide macros for each KEM enum constant. [rCe9b1c3ec91]
60
61 - Add Dilithium (ML-DSA) support. [T7640]
62
63 - Support optional random-override and support byte string data.
64 [rCcbefff5fca,rC3bb4a54f43]
65
66 * Performance:
67
68 - Add VAES/AVX512 accelerated implementation for AES which boosts
69 OCB performance by about 2 times on AMD Zen5. [rC9e3af928ee]
70
71 - Avoid AVX512/AVX2/SSSE3 for single block processing with Zen5 for
72 ChaCha20. [rCc1d9fff3b2]
73
74 - Avoid AVX/AVX2/AVX512 when CPU has high vector inst latency like
75 Zen5 for Blake2. [rCe5bc3b2826]
76
77 - Various optimizations for Camellia.
78 [rCf5848080d4,rCb9bafd6c6c,rC8b538a8c76]
79
80 - Add POLYVAL acceleration for RISC-V and GCM-SIV. [rC00815c4207]
81
82 - Add RISC-V Zbb+Zbc implementation of CRC. [rCab4fa2a19c]
83
84 - Add RISC-V vector cryptography implementation of GHASH.
85 [rCcc2a4b6388]
86
87 - Add RISC-V vector cryptography implementation of AES.
88 [rCb000ab6025]
89
90 - Add RISC-V vector cryptography implementations of SHA256 and
91 SHA512. [rCcc1d5b0b5e]
92
93 - Add AVX2 and AVX512 code paths to improve CRC. [rCc30788969d]
94
95 * Bug fixes:
96
97 - Use secure MPI in _gcry_mpi_assign_limb_space. [rC6e77b09cff]
98
99 - Use CSIDL_COMMON_APPDATA instead of /etc on Windows. [rCd5e3cbfd88]
100
101 - Apply a Kyber patch from upstream. [rCbdc3724d72]
102
103 - Fix an edge case in Jent initialization. [rC0ceca9993f]
104
105 - mceliece6688128f: Fix stack overflow crash on win64/wine
106 [rC5bd9320171]
107
108 * Other:
109
110 - Add support for IBM z/OS, fixing -lpthread check with glibc.
111 [rC5af59d8454]
112
113 - Introduce mpi_tfr and use it for point_tfr to decrease EM signal
114 and increase EM noise. [rC4e65996bb8]
115
116 - Handle HAVE_BROKEN_MLOCK for the case of building with ASAN.
117 [T7889]
118
119 - Harden mask generation against branch optimization for several
120 algorithms. [e.g. rC4012e9a037,rCbf7546c502,rC052b03fb0c]
121
122 - Improve constant-time operation for ECDSA. [T7519,rC0bd4c77be6]
123
124
125 Changes also found in 1.11.2:
126
127 * Bug fixes:
128
129 - Fix link errors in regression test t-thread-local on some
130 platforms (e.g. NetBSD). [T7634]
131
132 - Add missing file to allow building for RISC-V. [T7647]
133
134 - Support secp256k1 by KEM API. GnuPG has recently switched to use
135 the KEM interface and a few folks are using this curve. [T7698]
136
137 - Fix a missing initialization in RSA's generate_fips.
138 [rG292cb75a72]
139
140 * Other:
141
142 - Silence GCC 15 warnings [rCd5fb7cd9b3,T7617]
143
144 - Provide a prototype for __udiv_qrnnd for PowerPC and Alpha which
145 is required due to GCC-15 changes. [T7721]
146
147 - Add missing abi versions and machine tags for PowerPC assembly
148 with GCC-15. [T7721]
149
150 - Use '.rodata' section for read-only data of poly1305-p10le.
151 [T7721]
152
153
154 Changes also found in 1.11.1:
155
156 * Bug fixes:
157
158 - Fix build regression on 32 bit Windows using Clang. [T7175]
159
160 - Fix build regression on macOS due to symbol naming. [T7170]
161
162 - Fix Kyber secret-dependent branch introduced by recent versions
163 of Clang. [rCf765778e82]
164
165 - Fix build regression due to the use of AVX512 in Blake. [T7184]
166
167 - Do not build i386 asm on amd64 and vice versa. [T7220]
168
169 - Fix build regression on armhf with gcc-14. [T7226]
170
171 - Return the proper error code on malloc failure in hex2buffer.
172 [rCc51151f5b0]
173
174 - Fix long standing bug for PRIME % 2 == 0. [rC639b0fca15]
175
176 * Performance:
177
178 - Add AES Vector Permute intrinsics implementation for AArch64.
179 [rC94a63aedbb]
180
181 - Add GHASH AArch64/SIMD intrinsics implementation. [rCfec871fd18]
182
183 - Add RISC-V vector permute AES. [rCb24ebd6163]
184
185 - Add GHASH RISC-V Zbb+Zbc implementation. [rC0f1fec12b0]
186
187 - Add ChaCha20 RISC-V vector intrinsics implementation.
188 [rC8dbee93ac2]
189
190 - Add SHA3 acceleration for RISC-V Zbb extension. [rC1a660068ba]
191
192 * Other:
193
194 - Add CET support for i386 and amd64 assembly. [T7220]
195
196 - Add PAC/BTI support for AArch64 asm. [T7220]
197
198 - Apply changes to Kyber from upstream for final FIPS 203.
199 [rCcc95c36e7f]
200
201 - Introduce an internal API for a revampled FIPS service indicator.
202 [T7340]
203
204 - Several improvements for constant time operation by the
205 introduction of Least Leak Intended (LLI) variants of internal
206 functions. [T7519,T7490]
207
208 - Remove WindowsCE support. [T7486]
209
210
211 * Interface changes relative to the 1.11.0 release:
212 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
213 GCRY_KEM_RAW_P256R1 NEW enum and const.
214 GCRYCTL_FIPS_SERVICE_INDICATOR NEW enum.
215 GCRYCTL_FIPS_REJECT_NON_FIPS NEW enum.
216 GCRY_FIPS_FLAG_REJECT_PK_FLAGS NEW const.
217 GCRY_FIPS_FLAG_REJECT_MD_SHA1 NEW const.
218
219
220 Release-info: https://dev.gnupg.org/T7643
221
222
223 Release dates of 1.11 versions
224 ------------------------------
225
226 Version 1.11.2 (2025-08-04) https://dev.gnupg.org/T7642
227 Version 1.11.1 (2025-05-07) https://dev.gnupg.org/T7166
228
229
230 Noteworthy changes in version 1.11.0 (2024-06-19) [C25/A5/R0]
231 -------------------------------------------------
232
233 * New and extended interfaces:
234
235 - Add an API for Key Encapsulation Mechanism (KEM). [T6755]
236
237 - Add Streamlined NTRU Prime sntrup761 algorithm. [rCcf9923e1a5]
238
239 - Add Kyber algorithm according to FIPS 203 ipd 2023-08-24.
240 [rC18e5c0d268]
241
242 - Add Classic McEliece algorithm. [rC003367b912]
243
244 - Add One-Step KDF with hash and MAC. [T5964]
245
246 - Add KDF algorithm HKDF of RFC-5869. [T5964]
247
248 - Add KDF algorithm X963KDF for use in CMS. [rC3abac420b3]
249
250 - Add GMAC-SM4 and Poly1305-SM4. [rCd1ccc409d4]
251
252 - Add ARIA block cipher algorithm. [rC316c6d7715]
253
254 - Add explicit FIPS indicators for MD and MAC algorithms. [T6376]
255
256 - Add support for SHAKE as MGF in RSA. [T6557]
257
258 - Add gcry_md_read support for SHAKE algorithms. [T6539]
259
260 - Add gcry_md_hash_buffers_ext function. [T7035]
261
262 - Add cSHAKE hash algorithm. [rC065b3f4e02]
263
264 - Support internal generation of IV for AEAD cipher mode. [T4873]
265
266 * Performance:
267
268 - Add SM3 ARMv8/AArch64/CE assembly implementation. [rCfe891ff4a3]
269
270 - Add SM4 ARMv8/AArch64 assembly implementation. [rCd8825601f1]
271
272 - Add SM4 GFNI/AVX2 and GFI/AVX512 implementation.
273 [rC5095d60af4,rCeaed633c16]
274
275 - Add SM4 ARMv9 SVE CE assembly implementation. [rC2dc2654006]
276
277 - Add PowerPC vector implementation of SM4. [rC0b2da804ee]
278
279 - Optimize ChaCha20 and Poly1305 for PPC P10 LE. [T6006]
280
281 - Add CTR32LE bulk acceleration for AES on PPC. [rC84f2e2d0b5]
282
283 - Add generic bulk acceleration for CTR32LE mode (GCM-SIV) for SM4
284 and Camellia. [rCcf956793af]
285
286 - Add GFNI/AVX2 implementation of Camellia. [rC4e6896eb9f]
287
288 - Add AVX2 and AVX512 accelerated implementations for GHASH (GCM)
289 and POLYVAL (GCM-SIV). [rCd857e85cb4, rCe6f3600193]
290
291 - Add AVX512 implementation for SHA512. [rC089223aa3b]
292
293 - Add AVX512 implementation for Serpent. [rCce95b6ec35]
294
295 - Add AVX512 implementation for Poly1305 and ChaCha20
296 [rCcd3ed49770, rC9a63cfd617]
297
298 - Add AVX512 accelerated implementation for SHA3 and Blake2
299 [rCbeaad75f46,rC909daa700e]
300
301 - Add VAES/AVX2 accelerated i386 implementation for AES.
302 [rC4a42a042bc]
303
304 - Add bulk processing for XTS mode of Camellia and SM4.
305 [rC32b18cdb87, rCaad3381e93]
306
307 - Accelerate XTS and ECB modes for Twofish and Serpent.
308 [rCd078a928f5,rC8a1fe5f78f]
309
310 - Add AArch64 crypto/SHA512 extension implementation for
311 SHA512. [rCe51d3b8330]
312
313 - Add AArch64 crypto-extension implementation for Camellia.
314 [rC898c857206]
315
316 - Accelerate OCB authentication on AMD with AVX2. [rC6b47e85d65]
317
318 * Bug fixes:
319
320 - For PowerPC check for missing optimization level for vector
321 register usage. [T5785]
322
323 - Fix EdDSA secret key check. [T6511]
324
325 - Fix decoding of PKCS#1-v1.5 and OAEP padding. [rC34c2042792]
326
327 - Allow use of PKCS#1-v1.5 with SHA3 algorithms. [T6976]
328
329 - Fix AESWRAP padding length check. [T7130]
330
331 * Other:
332
333 - Allow empty password for Argon2 KDF. [rCa20700c55f]
334
335 - Various constant time operation imporvements.
336
337 - Add "bp256", "bp384", "bp512" aliases for Brainpool curves.
338
339 - Support for the random server has been removed. [T5811]
340
341 - The control code GCRYCTL_ENABLE_M_GUARD is deprecated and not
342 supported any more. Please use valgrind or other tools. [T5822]
343
344 - Logging is now done via the libgpg-error logging functions.
345 [rCab0bdc72c7]
346
347
348 Changes also found in 1.10.3:
349
350 * Bug fixes:
351
352 - Fix public key computation for other EdDSA curves.
353 [rC469919751d6e]
354
355 - Remove out of core handler diagnostic in FIPS mode. [T6515]
356
357 - Check that the digest size is not zero in gcry_pk_sign_md and
358 gcry_pk_verify_md. [T6539]
359
360 - Make store an s-exp with \0 is considered to be binary. [T6747]
361
362 - Various constant-time improvements.
363
364 * Portability:
365
366 - Use getrandom call only when supported by the platform. [T6442]
367
368 - Change the default for --with-libtool-modification to never.
369 [T6619]
370
371
372 Changes also found in 1.10.2
373
374 * Bug fixes:
375
376 - Fix Argon2 for the case output > 64. [rC13b5454d26]
377
378 - Fix missing HWF_PPC_ARCH_3_10 in HW feature. [rCe073f0ed44]
379
380 - Fix RSA key generation failure in forced FIPS mode. [T5919]
381
382 - Fix gcry_pk_hash_verify for explicit hash. [T6066]
383
384 - Fix a wrong result of gcry_mpi_invm. [T5970]
385
386 - Allow building with --disable-asm for HPPA. [T5976]
387
388 - Fix Jitter RNG for building native on Windows. [T5891]
389
390 - Allow building with -Oz. [T6432]
391
392 - Enable the fast path to ChaCha20 only when supported. [T6384]
393
394 - Use size_t to avoid counter overflow in Keccak when directly
395 feeding more than 4GiB. [T6217]
396
397 * Other:
398
399 - Do not use secure memory for a DRBG instance. [T5933]
400
401 - Do not allow PKCS#1.5 padding for encryption in FIPS mode.
402 [T5918]
403
404 - Fix the behaviour for child process re-seeding in the DRBG.
405 [rC019a40c990]
406
407 - Allow verification of small RSA signatures in FIPS mode. [T5975]
408
409 - Allow the use of a shorter salt for KDFs in FIPS mode. [T6039]
410
411 - Run digest+sign self tests for RSA and ECC in FIPS mode.
412 [rC06c9350165]
413
414 - Add function-name based FIPS indicator function.
415 GCRYCTL_FIPS_SERVICE_INDICATOR_FUNCTION. This is not considered
416 an ABI changes because the new FIPS features were not yet
417 approved. [rC822ee57f07]
418
419 - Improve PCT in FIPS mode. [rC285bf54b1a, rC4963c127ae, T6397]
420
421 - Use getrandom (GRND_RANDOM) in FIPS mode. [rCcf10c74bd9]
422
423 - Disable RSA-OAEP padding in FIPS mode. [rCe5bfda492a]
424
425 - Check minimum allowed key size in PBKDF in FIPS mode.
426 [T6039,T6219]
427
428 - Get maximum 32B of entropy at once in FIPS mode. [rCce0df08bba]
429
430 - Prefer gpgrt-config when available. [T5034]
431
432 - Mark AESWRAP as approved FIPS algorithm. [T5512]
433
434 - Prevent usage of long salt for PSS in FIPS mode. [rCfdd2a8b332]
435
436 - Prevent usage of X9.31 keygen in FIPS mode. [rC392e0ccd25]
437
438 - Remove GCM mode from the allowed FIPS indicators. [rC1540698389]
439
440 - Add explicit FIPS indicators for hash and MAC algorithms. [T6376]
441
442
443 Changes also found in 1.10.1:
444
445 * Bug fixes:
446
447 - Fix minor memory leaks in FIPS mode.
448
449 - Build fixes for MUSL libc. [rCffaef0be61]
450
451 * Other:
452
453 - More portable integrity check in FIPS mode. [rC9fa4c8946a,T5835]
454
455 - Add X9.62 OIDs to sha256 and sha512 modules. [rC52fd2305ba]
456
457
458 * Interface changes relative to the 1.10.0 release:
459 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
460 GCRY_CIPHER_ARIA128 NEW cipher algo.
461 GCRY_CIPHER_ARIA192 NEW cipher algo.
462 GCRY_CIPHER_ARIA256 NEW cipher algo.
463 gcry_cipher_geniv_methods NEW type.
464 gcry_cipher_setup_geniv NEW function.
465 gcry_cipher_geniv NEW function.
466 GCRY_PK_KEM NEW constant.
467 GCRY_MD_CSHAKE128 NEW hash algo.
468 GCRY_MD_CSHAKE256 NEW hash algo.
469 GCRYCTL_MD_CUSTOMIZE NEW control code.
470 gcry_cshake_customization NEW type.
471 GCRY_MAC_CMAC_ARIA NEW mac algo.
472 GCRY_MAC_GMAC_SM4 NEW mac algo.
473 GCRY_MAC_GMAC_ARIA NEW mac algo.
474 GCRY_MAC_POLY1305_SM4 NEW mac algo.
475 GCRY_MAC_POLY1305_ARIA NEW mac algo.
476 GCRY_KDF_ONESTEP_KDF NEW kdf algo.
477 GCRY_KDF_ONESTEP_KDF_MAC NEW kdf algo.
478 GCRY_KDF_X963_KDF NEW kdf algo.
479 gcry_kem_algos NEW type.
480 gcry_kem_keypair NEW function.
481 gcry_kem_encap NEW function.
482 gcry_kem_decap NEW function.
483 GCRY_KEM_SNTRUP761 NEW kem algo.
484 GCRY_KEM_CM6688128F NEW kem algo.
485 GCRY_KEM_MLKEM512 NEW kem algo.
486 GCRY_KEM_MLKEM768 NEW kem algo.
487 GCRY_KEM_MLKEM1024 NEW kem algo.
488 GCRY_KEM_RAW_X25519 NEW kem algo.
489 GCRY_KEM_RAW_X448 NEW kem algo.
490 GCRY_KEM_RAW_BP256 NEW kem algo.
491 GCRY_KEM_RAW_BP384 NEW kem algo.
492 GCRY_KEM_RAW_BP512 NEW kem algo.
493 GCRY_KEM_RAW_P256R1 NEW kem algo.
494 GCRY_KEM_RAW_P384R1 NEW kem algo.
495 GCRY_KEM_RAW_P521R1 NEW kem algo.
496 GCRY_KEM_DHKEM25519 NEW kem algo.
497 GCRY_KEM_DHKEM448 NEW kem algo.
498 GCRY_KEM_DHKEMP256R1 NEW kem algo.
499 GCRY_KEM_DHKEMP384R1 NEW kem algo.
500 GCRY_KEM_DHKEMP521R1 NEW kem algo.
501 GCRY_KEM_*_SECKEY_LEN NEW constants.
502 GCRY_KEM_*_PUBKEY_LEN NEW constants.
503 GCRY_KEM_*_ENCAPS_LEN NEW constants.
504 GCRY_KEM_*_CIPHER_LEN NEW constants.
505 GCRY_KEM_*_SHARED_LEN NEW constants.
506 gcry_md_hash_buffers_ext NEW function.
507 gcry_pk_input_data_push NEW macro.
508 GCRYCTL_ENABLE_M_GUARD DEPRECATED feature.
509 gcry_handler_log_t DEPRECATED type.
510 gcry_set_log_handler DEPRECATED function.
511
512 Release-info: https://dev.gnupg.org/T7165
513
514
515 Release dates of 1.10 versions
516 ------------------------------
517
518 Version 1.10.3 (2023-11-14) https://dev.gnupg.org/T6817
519 Version 1.10.2 (2023-04-06) https://dev.gnupg.org/T5905
520 Version 1.10.1 (2022-03-28) https://dev.gnupg.org/T5810
521
522
523 Noteworthy changes in version 1.10.0 (2022-02-01) [C24/A4/R0]
524 -------------------------------------------------
525
526 * New and extended interfaces:
527
528 - New control codes to check for FIPS 140-3 approved algorithms.
529
530 - New control code to switch into non-FIPS mode.
531
532 - New cipher modes SIV and GCM-SIV as specified by RFC-5297.
533
534 - Extended cipher mode AESWRAP with padding as specified by
535 RFC-5649. [T5752]
536
537 - New set of KDF functions.
538
539 - New KDF modes Argon2 and Balloon.
540
541 - New functions for combining hashing and signing/verification. [T4894]
542
543 * Performance:
544
545 - Improved support for PowerPC architectures.
546
547 - Improved ECC performance on zSeries/s390x by using accelerated
548 scalar multiplication.
549
550 - Many more assembler performance improvements for several
551 architectures.
552
553 * Bug fixes:
554
555 - Fix Elgamal encryption for other implementations.
556 [R5328,CVE-2021-40528]
557
558 - Fix alignment problem on macOS. [T5440]
559
560 - Check the input length of the point in ECDH. [T5423]
561
562 - Fix an abort in gcry_pk_get_param for "Curve25519". [T5490]
563
564 * Other features:
565
566 - The control code GCRYCTL_SET_ENFORCED_FIPS_FLAG is ignored
567 because it is useless with the FIPS 140-3 related changes.
568
569 - Update of the jitter entropy RNG code. [T5523]
570
571 - Simplification of the entropy gatherer when using the getentropy
572 system call.
573
574 * Interface changes relative to the 1.9.0 release:
575 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
576 GCRYCTL_SET_DECRYPTION_TAG NEW control code.
577 GCRYCTL_FIPS_SERVICE_INDICATOR_CIPHER NEW control code.
578 GCRYCTL_FIPS_SERVICE_INDICATOR_KDF NEW control code.
579 GCRYCTL_NO_FIPS_MODE = 83 NEW control code.
580 GCRY_CIPHER_MODE_SIV NEW mode.
581 GCRY_CIPHER_MODE_GCM_SIV NEW mode.
582 GCRY_CIPHER_EXTENDED NEW flag.
583 GCRY_SIV_BLOCK_LEN NEW macro.
584 gcry_cipher_set_decryption_tag NEW macro.
585 GCRY_KDF_ARGON2 NEW constant.
586 GCRY_KDF_BALLOON NEW constant.
587 GCRY_KDF_ARGON2D NEW constant.
588 GCRY_KDF_ARGON2I NEW constant.
589 GCRY_KDF_ARGON2ID NEW constant.
590 gcry_kdf_hd_t NEW type.
591 gcry_kdf_job_fn_t NEW type.
592 gcry_kdf_dispatch_job_fn_t NEW type.
593 gcry_kdf_wait_all_jobs_fn_t NEW type.
594 struct gcry_kdf_thread_ops NEW struct.
595 gcry_kdf_open NEW function.
596 gcry_kdf_compute NEW function.
597 gcry_kdf_final NEW function.
598 gcry_kdf_close NEW function.
599 gcry_pk_hash_sign NEW function.
600 gcry_pk_hash_verify NEW function.
601 gcry_pk_random_override_new NEW function.
602
603 Release-info: https://dev.gnupg.org/T5691
604
605
606 Release dates of 1.9 versions
607 -----------------------------
608
609 Version 1.9.4 (2021-08-22) https://dev.gnupg.org/T5402
610
611
612 Noteworthy changes in version 1.9.3 (2021-04-19) [C23/A3/R3]
613 ------------------------------------------------
614
615 * Bug fixes:
616
617 - Fix build problems on i386 using gcc-4.7.
618
619 - Fix checksum calculation in OCB decryption for AES on s390.
620 [#5356]
621
622 - Fix a regression in gcry_mpi_ec_add related to certain usages of
623 curve 25519. [#5372]
624
625 - Fix a symbol not found problem on Apple M1. [#5370]
626
627 - Fix for Apple iOS getentropy peculiarity. [#5375]
628
629 - Make keygrip computation work for compressed points. [#4961]
630
631 * Performance:
632
633 - Add x86_64 VAES/AVX2 accelerated implementation of Camellia.
634 [0e7e60241a]
635
636 - Add x86_64 VAES/AVX2 accelerated implementation of AES.
637 [e72498a54f]
638
639 - Add VPMSUMD acceleration for GCM mode on PPC. [#5040]
640
641 * Internal changes.
642
643 - Harden MPI conditional code against EM leakage. [#5330]
644
645 - Harden Elgamal by introducing exponent blinding. [#5328]
646
647 - Fix memory leaks in the error code paths of EdDSA. [#5385]
648
649 Release-info: https://dev.gnupg.org/T5305
650
651
652 Noteworthy changes in version 1.9.2 (2021-02-17) [C23/A3/R2]
653 ------------------------------------------------
654
655 * Bug fixes:
656
657 - Fix build problem for macOS in the random code. [#5268]
658
659 - Fix building with --disable-asm on x86. [#5277]
660
661 - Check public key for ECDSA verify operation. [#5282]
662
663 - Make sure gcry_get_config (NULL) returns a nul-terminated string.
664 [8716e4b2ad]
665
666 - Fix a memory leak in the ECDH code. [289543544e]
667
668 - Fix a reading beyond end of input buffer in SHA2-avx2.
669 [24af2a55d8]
670
671 * Other features:
672
673 - New test driver to allow for standalone regression
674 tests. [b142da4c88]
675
676 Release-info: https://dev.gnupg.org/T5276
677
678
679 Noteworthy changes in version 1.9.1 (2021-01-29) [C23/A3/R1]
680 ------------------------------------------------
681
682 * Bug fixes:
683
684 - Fix exploitable bug in hash functions introduced with 1.9.0.
685 [#5275]
686
687 - Return an error if a negative MPI is used with sexp scan
688 functions. [#4964]
689
690 - Check for operational FIPS in the random and KDF functions.
691 [#5243]
692
693 - Fix compile error on ARMv7 with NEON disabled. [#5251]
694
695 - Fix self-test in KDF module. [#5254]
696
697 - Improve assembler checks for better LTO support. [#5255]
698
699 - Fix assember problem on macOS running on M1. [#5157]
700
701 - Support older macOS without posix_spawn. [#5159]
702
703 - Fix 32-bit cross build on x86. [#5257]
704
705 - Fix non-NEON ARM assembly implementation for SHA512. [#5263]
706
707 - Fix build problems with the cipher_bulk_ops_t typedef. [#5264]
708
709 - Fix Ed25519 private key handling for preceding ZEROs. [#5267]
710
711 - Fix overflow in modular inverse implementation. [#5269]
712
713 - Fix register access for AVX/AVX2 implementations of Blake2.
714 [#5271].
715
716 * Performance:
717
718 - Add optimized cipher and hash functions for s390x/zSeries.
719
720 - Use hardware bit counting functions when available.
721
722 * Internal changes:
723
724 - The macOS getentropy syscall is used when available. [#5268]
725
726 - Update DSA functions to match FIPS 186-3. [30ed9593f6]
727
728 - New self-tests for CMACs and KDFs. [385a89e35b,7a0da24925]
729
730 - Add bulk cipher functions for OFB and GCM modes.
731 [f12b6788f2,f4e63e92dc]
732
733 Release-info: https://dev.gnupg.org/T5259
734
735
736 Noteworthy changes in version 1.9.0 (2021-01-19) [C23/A3/R0]
737 ------------------------------------------------
738
739 * New and extended interfaces:
740
741 - New curves Ed448, X448, and SM2.
742
743 - New cipher mode EAX.
744
745 - New cipher algo SM4.
746
747 - New hash algo SM3.
748
749 - New hash algo variants SHA512/224 and SHA512/256.
750
751 - New MAC algos for Blake-2 algorithms, the new SHA512 variants,
752 SM3, SM4 and for a GOST variant.
753
754 - New convenience function gcry_mpi_get_ui.
755
756 - gcry_sexp_extract_param understands new format specifiers to
757 directly store to integers and strings.
758
759 - New function gcry_ecc_mul_point and curve constants for Curve448
760 and Curve25519. [#4293]
761
762 - New function gcry_ecc_get_algo_keylen.
763
764 - New control code GCRYCTL_AUTO_EXPAND_SECMEM to allow growing the
765 secure memory area. Also in 1.8.2 as an undocumented feature.
766
767 * Performance:
768
769 - Optimized implementations for Aarch64.
770
771 - Faster implementations for Poly1305 and ChaCha. Also for
772 PowerPC. [b9a471ccf5,172ad09cbe,#4460]
773
774 - Optimized implementations of AES and SHA-256 on PowerPC.
775 [#4529,#4530]
776
777 - Improved use of AES-NI to speed up AES-XTS (6 times faster).
778 [a00c5b2988]
779
780 - Improved use of AES-NI for OCB. [eacbd59b13,e924ce456d]
781
782 - Speedup AES-XTS on ARMv8/CE (2.5 times faster). [93503c127a]
783
784 - New AVX and AVX2 implementations for Blake-2 (1.3/1.4 times
785 faster). [af7fc732f9, da58a62ac1]
786
787 - Use Intel SHA extension for SHA-1 and SHA-256 (4.0/3.7 times
788 faster). [d02958bd30, 0b3ec359e2]
789
790 - Use ARMv7/NEON accelerated GCM implementation (3 times faster).
791 [2445cf7431]
792
793 - Use of i386/SSSE3 for SHA-512 (4.5 times faster on Ryzen 7).
794 [b52dde8609]
795
796 - Use 64 bit ARMv8/CE PMULL for CRC (7 times faster). [14c8a593ed]
797
798 - Improve CAST5 (40% to 70% faster). [4ec566b368]
799
800 - Improve Blowfish (60% to 80% faster). [ced7508c85]
801
802 * Bug fixes:
803
804 - Fix infinite loop due to applications using fork the wrong
805 way. [#3491][also in 1.8.4]
806
807 - Fix possible leak of a few bits of secret primes to pageable
808 memory. [#3848][also in 1.8.4]
809
810 - Fix possible hang in the RNG (1.8.3 only). [#4034][also in 1.8.4]
811
812 - Several minor fixes. [#4102,#4208,#4209,#4210,#4211,#4212]
813 [also in 1.8.4]
814
815 - On Linux always make use of getrandom if possible and then use
816 its /dev/urandom behaviour. [#3894][also in 1.8.4]
817
818 - Use blinding for ECDSA signing to mitigate a novel side-channel
819 attack. [#4011,CVE-2018-0495] [also in 1.8.3, 1.7.10]
820
821 - Fix incorrect counter overflow handling for GCM when using an IV
822 size other than 96 bit. [#3764] [also in 1.8.3, 1.7.10]
823
824 - Fix incorrect output of AES-keywrap mode for in-place encryption
825 on some platforms. [also in 1.8.3, 1.7.10]
826
827 - Fix the gcry_mpi_ec_curve_point point validation function.
828 [also in 1.8.3, 1.7.10]
829
830 - Fix rare assertion failure in gcry_prime_check. [also in 1.8.3]
831
832 - Do not use /dev/srandom on OpenBSD. [also in 1.8.2]
833
834 - Fix test suite failure on systems with large pages. [#3351]
835 [also in 1.8.2]
836
837 - Fix test suite to not use mmap on Windows. [also in 1.8.2]
838
839 - Fix fatal out of secure memory status in the s-expression parser
840 on heavy loaded systems. [also in 1.8.2]
841
842 - Fix build problems on OpenIndiana et al. [#4818, also in 1.8.6]
843
844 - Fix GCM bug on arm64 which troubles for example OMEMO. [#4986,
845 also in 1.8.6]
846
847 - Detect a div-by-zero in a debug helper tool. [#4868, also in 1.8.6]
848
849 - Use a constant time mpi_inv and related changes. [#4869, partly
850 also in 1.8.6]
851
852 - Fix mpi_copy to correctly handle flags of opaque MPIs.
853 [also in 1.8.6]
854
855 - Fix mpi_cmp to consider +0 and -0 the same. [also in 1.8.6]
856
857 - Fix extra entropy collection via clock_gettime. Note that this
858 fallback code path is not used on any decent hardware. [#4966,
859 also in 1.8.7]
860
861 - Support opaque MPI with gcry_mpi_print. [#4872, also in 1.8.7]
862
863 - Allow for a Unicode random seed file on Windows. [#5098, also in
864 1.8.7]
865
866 * Other features:
867
868 - Add OIDs from RFC-8410 as aliases for Ed25519 and Curve25519.
869 [also in 1.8.6]
870
871 - Add mitigation against ECC timing attack CVE-2019-13627. [#4626]
872
873 - Internal cleanup of the ECC implementation.
874
875 - Support reading EC point in compressed format for some curves.
876 [#4951]
877
878 * Interface changes relative to the 1.8.0 release:
879 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
880 gcry_mpi_get_ui NEW function.
881 GCRYCTL_AUTO_EXPAND_SECMEM NEW control code.
882 gcry_sexp_extract_param EXTENDED.
883 GCRY_CIPHER_GOST28147_MESH NEW cipher algo.
884 GCRY_CIPHER_SM4 NEW cipher algo.
885 GCRY_CIPHER_MODE_EAX NEW mode.
886 GCRY_ECC_CURVE25519 NEW curve id.
887 GCRY_ECC_CURVE448 NEW curve id.
888 gcry_ecc_get_algo_keylen NEW function.
889 gcry_ecc_mul_point NEW function.
890 GCRY_MD_SM3 NEW hash algo.
891 GCRY_MD_SHA512_256 NEW hash algo.
892 GCRY_MD_SHA512_224 NEW hash algo.
893 GCRY_MAC_GOST28147_IMIT NEW mac algo.
894 GCRY_MAC_HMAC_GOSTR3411_CP NEW mac algo.
895 GCRY_MAC_HMAC_BLAKE2B_512 NEW mac algo.
896 GCRY_MAC_HMAC_BLAKE2B_384 NEW mac algo.
897 GCRY_MAC_HMAC_BLAKE2B_256 NEW mac algo.
898 GCRY_MAC_HMAC_BLAKE2B_160 NEW mac algo.
899 GCRY_MAC_HMAC_BLAKE2S_256 NEW mac algo.
900 GCRY_MAC_HMAC_BLAKE2S_224 NEW mac algo.
901 GCRY_MAC_HMAC_BLAKE2S_160 NEW mac algo.
902 GCRY_MAC_HMAC_BLAKE2S_128 NEW mac algo.
903 GCRY_MAC_HMAC_SM3 NEW mac algo.
904 GCRY_MAC_HMAC_SHA512_256 NEW mac algo.
905 GCRY_MAC_HMAC_SHA512_224 NEW mac algo.
906 GCRY_MAC_CMAC_SM4 NEW mac algo.
907
908 Release-info: https://dev.gnupg.org/T4294
909
910
911 Release dates of 1.8 versions
912 -----------------------------
913
914 Version 1.8.7 (2020-10-23)
915 Version 1.8.6 (2020-07-06)
916 Version 1.8.5 (2019-08-29)
917 Version 1.8.4 (2018-10-26)
918 Version 1.8.3 (2018-06-13)
919 Version 1.8.2 (2017-12-13)
920
921
922 Noteworthy changes in version 1.8.1 (2017-08-27) [C22/A2/R1]
923 ------------------------------------------------
924
925 * Bug fixes:
926
927 - Mitigate a local side-channel attack on Curve25519 dubbed "May
928 the Fourth be With You". [CVE-2017-0379] [also in 1.7.9]
929
930 - Add more extra bytes to the pool after reading a seed file.
931
932 - Add the OID SHA384WithECDSA from RFC-7427 to SHA-384.
933
934 - Fix build problems with the Jitter RNG
935
936 - Fix assembler code build problems on Rasbian (ARMv8/AArch32-CE).
937
938
939 Noteworthy changes in version 1.8.0 (2017-07-18) [C22/A2/R0]
940 ------------------------------------------------
941
942 * New interfaces:
943
944 - New cipher mode XTS
945
946 - New hash function Blake-2
947
948 - New function gcry_mpi_point_copy.
949
950 - New function gcry_get_config.
951
952 - GCRYCTL_REINIT_SYSCALL_CLAMP allows initializing nPth after Libgcrypt.
953
954 - New global configuration file /etc/gcrypt/random.conf.
955
956 * Extended interfaces:
957
958 - GCRYCTL_PRINT_CONFIG does now also print build information for
959 libgpg-error and the used compiler version.
960
961 - GCRY_CIPHER_MODE_CFB8 is now supported.
962
963 - Add Stribog OIDs. [also in 1.7.4]
964
965 * Performance:
966
967 - A jitter based entropy collector is now used in addition to the
968 other entropy collectors.
969
970 - Optimized gcry_md_hash_buffers for SHA-256 and SHA-512.
971
972 - More ARMv8/AArch32 improvements for AES, GCM, SHA-256, and SHA-1.
973 [also in 1.7.4]
974
975 - Add ARMv8/AArch32 assembly implementation for Twofish and
976 Camellia. [also in 1.7.4]
977
978 - Add bulk processing implementation for ARMv8/AArch32.
979 [also in 1.7.4]
980
981 - Improve the DRBG performance and sync the code with the Linux
982 version. [also in 1.7.4]
983
984 * Internal changes:
985
986 - Libgpg-error 1.25 is now required. This avoids stalling of nPth
987 threads due to contention on internal Libgcrypt locks (e.g. the
988 random pool lock).
989
990 - The system call clamp of libgpg-error is now used to wrap the
991 blocking read of /dev/random. This allows other nPth threads to
992 run while Libgcrypt is gathering entropy.
993
994 - When secure memory is requested by the MPI functions or by
995 gcry_xmalloc_secure, they do not anymore lead to a fatal error if
996 the secure memory pool is used up. Instead new pools are
997 allocated as needed. These new pools are not protected against
998 being swapped out (mlock can't be used). However, these days
999 this is considered a minor issue and can easily be mitigated by
1000 using encrypted swap space. [also in 1.7.4]
1001
1002 * Bug fixes:
1003
1004 - Fix AES CTR self-check detected failure in the SSSE3 based
1005 implementation. [also in 1.7.6]
1006
1007 - Remove gratuitous select before the getrandom syscall.
1008 [also in 1.7.6]
1009
1010 - Fix regression in mlock detection. [bug#2870] [also in 1.7.5]
1011
1012 - Fix GOST 28147 CryptoPro-B S-box. [also in 1.7.4]
1013
1014 - Fix error code handling of mlock calls. [also in 1.7.4]
1015
1016 - Fix possible timing attack on EdDSA session key. [also in 1.7.7]
1017
1018 - Fix long standing bug in secure memory implementation which could
1019 lead to a segv on free. [bug#3027] [also in 1.7.7]
1020
1021 - Mitigate a flush+reload side-channel attack on RSA secret keys
1022 dubbed "Sliding right into disaster". For details see
1023 <https://eprint.iacr.org/2017/627>. [CVE-2017-7526] [also in 1.7.8]
1024
1025 * Interface changes relative to the 1.7.0 release:
1026 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1027 gcry_get_config NEW function.
1028 gcry_mpi_point_copy NEW function.
1029 GCRYCTL_REINIT_SYSCALL_CLAMP NEW macro.
1030 GCRY_MD_BLAKE2B_512 NEW constant.
1031 GCRY_MD_BLAKE2B_384 NEW constant.
1032 GCRY_MD_BLAKE2B_256 NEW constant.
1033 GCRY_MD_BLAKE2B_160 NEW constant.
1034 GCRY_MD_BLAKE2S_256 NEW constant.
1035 GCRY_MD_BLAKE2S_224 NEW constant.
1036 GCRY_MD_BLAKE2S_160 NEW constant.
1037 GCRY_MD_BLAKE2S_128 NEW constant.
1038 GCRY_CIPHER_MODE_XTS NEW constant.
1039 gcry_md_info DEPRECATED.
1040
1041 Release dates of 1.7 versions
1042 -----------------------------
1043
1044 Version 1.7.10 (2018-06-13) [C21/A1/R10]
1045 Version 1.7.9 (2017-08-27) [C21/A1/R9]
1046 Version 1.7.8 (2017-06-29) [C21/A1/R8]
1047 Version 1.7.7 (2017-06-02) [C21/A1/R7]
1048 Version 1.7.6 (2017-01-18) [C21/A1/R6]
1049 Version 1.7.5 (2016-12-15) [C21/A1/R5]
1050 Version 1.7.4 (2016-12-09) [C21/A1/R4]
1051
1052
1053 Noteworthy changes in version 1.7.3 (2016-08-17) [C21/A1/R3]
1054 ------------------------------------------------
1055
1056 * Bug fixes:
1057
1058 - Fix critical security bug in the RNG [CVE-2016-6313]. An
1059 attacker who obtains 580 bytes from the standard RNG can
1060 trivially predict the next 20 bytes of output. Problem
1061 detected by Felix Dörre and Vladimir Klebanov, KIT.
1062
1063 - Fix building of some asm modules with older compilers and CPUs.
1064
1065 * Performance:
1066
1067 - ARMv8/AArch32 improvements for AES, GCM, SHA-256, and SHA-1.
1068
1069
1070 Noteworthy changes in version 1.7.2 (2016-07-14) [C21/A1/R2]
1071 ------------------------------------------------
1072
1073 * Bug fixes:
1074
1075 - Fix setting of the ECC cofactor if parameters are specified.
1076
1077 - Fix memory leak in the ECC code.
1078
1079 - Remove debug message about unsupported getrandom syscall.
1080
1081 - Fix build problems related to AVX use.
1082
1083 - Fix bus errors on ARM for Poly1305, ChaCha20, AES, and SHA-512.
1084
1085 * Internal changes:
1086
1087 - Improved fatal error message for wrong use of gcry_md_read.
1088
1089 - Disallow symmetric encryption/decryption if key is not set.
1090
1091
1092 Noteworthy changes in version 1.7.1 (2016-06-15) [C21/A1/R1]
1093 ------------------------------------------------
1094
1095 * Bug fixes:
1096
1097 - Fix ecc_verify for cofactor support.
1098
1099 - Fix portability bug when using gcc with Solaris 9 SPARC.
1100
1101 - Build fix for OpenBSD/amd64
1102
1103 - Add OIDs to the Serpent ciphers.
1104
1105 * Internal changes:
1106
1107 - Use getrandom system call on Linux if available.
1108
1109 - Blinding is now also used for RSA signature creation.
1110
1111 - Changed names of debug envvars
1112
1113
1114 Noteworthy changes in version 1.7.0 (2016-04-15) [C21/A1/R0]
1115 ------------------------------------------------
1116
1117 * New algorithms and modes:
1118
1119 - SHA3-224, SHA3-256, SHA3-384, SHA3-512, and MD2 hash algorithms.
1120
1121 - SHAKE128 and SHAKE256 extendable-output hash algorithms.
1122
1123 - ChaCha20 stream cipher.
1124
1125 - Poly1305 message authentication algorithm
1126
1127 - ChaCha20-Poly1305 Authenticated Encryption with Associated Data
1128 mode.
1129
1130 - OCB mode.
1131
1132 - HMAC-MD2 for use by legacy applications.
1133
1134 * New curves for ECC:
1135
1136 - Curve25519.
1137
1138 - sec256k1.
1139
1140 - GOST R 34.10-2001 and GOST R 34.10-2012.
1141
1142 * Performance:
1143
1144 - Improved performance of KDF functions.
1145
1146 - Assembler optimized implementations of Blowfish and Serpent on
1147 ARM.
1148
1149 - Assembler optimized implementation of 3DES on x86.
1150
1151 - Improved AES using the SSSE3 based vector permutation method by
1152 Mike Hamburg.
1153
1154 - AVX/BMI is used for SHA-1 and SHA-256 on x86. This is for SHA-1
1155 about 20% faster than SSSE3 and more than 100% faster than the
1156 generic C implementation.
1157
1158 - 40% speedup for SHA-512 and 72% for SHA-1 on ARM Cortex-A8.
1159
1160 - 60-90% speedup for Whirlpool on x86.
1161
1162 - 300% speedup for RIPE MD-160.
1163
1164 - Up to 11 times speedup for CRC functions on x86.
1165
1166 * Other features:
1167
1168 - Improved ECDSA and FIPS 186-4 compliance.
1169
1170 - Support for Montgomery curves.
1171
1172 - gcry_cipher_set_sbox to tweak S-boxes of the gost28147 cipher
1173 algorithm.
1174
1175 - gcry_mpi_ec_sub to subtract two points on a curve.
1176
1177 - gcry_mpi_ec_decode_point to decode an MPI into a point object.
1178
1179 - Emulation for broken Whirlpool code prior to 1.6.0. [from 1.6.1]
1180
1181 - Flag "pkcs1-raw" to enable PCKS#1 padding with a user supplied
1182 hash part.
1183
1184 - Parameter "saltlen" to set a non-default salt length for RSA PSS.
1185
1186 - A SP800-90A conforming DRNG replaces the former X9.31 alternative
1187 random number generator.
1188
1189 - Map deprecated RSA algo number to the RSA algo number for better
1190 backward compatibility. [from 1.6.2]
1191
1192 - Use ciphertext blinding for Elgamal decryption [CVE-2014-3591].
1193 See http://www.cs.tau.ac.il/~tromer/radioexp/ for details.
1194 [from 1.6.3]
1195
1196 - Fixed data-dependent timing variations in modular exponentiation
1197 [related to CVE-2015-0837, Last-Level Cache Side-Channel Attacks
1198 are Practical]. [from 1.6.3]
1199
1200 - Flag "no-keytest" for ECC key generation. Due to a bug in
1201 the parser that flag will also be accepted but ignored by older
1202 version of Libgcrypt. [from 1.6.4]
1203
1204 - Speed up the random number generator by requiring less extra
1205 seeding. [from 1.6.4]
1206
1207 - Always verify a created RSA signature to avoid private key leaks
1208 due to hardware failures. [from 1.6.4]
1209
1210 - Mitigate side-channel attack on ECDH with Weierstrass curves
1211 [CVE-2015-7511]. See http://www.cs.tau.ac.IL/~tromer/ecdh/ for
1212 details. [from 1.6.5]
1213
1214 * Internal changes:
1215
1216 - Moved locking out to libgpg-error.
1217
1218 - Support of the SYSROOT envvar in the build system.
1219
1220 - Refactor some code.
1221
1222 - The availability of a 64 bit integer type is now mandatory.
1223
1224 * Bug fixes:
1225
1226 - Fixed message digest lookup by OID (regression in 1.6.0).
1227
1228 - Fixed a build problem on NetBSD
1229
1230 - Fixed memory leaks in ECC code.
1231
1232 - Fixed some asm build problems and feature detection bugs.
1233
1234 * Interface changes relative to the 1.6.0 release:
1235 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1236 gcry_cipher_final NEW macro.
1237 GCRY_CIPHER_MODE_CFB8 NEW constant.
1238 GCRY_CIPHER_MODE_OCB NEW.
1239 GCRY_CIPHER_MODE_POLY1305 NEW.
1240 gcry_cipher_set_sbox NEW macro.
1241 gcry_mac_get_algo NEW.
1242 GCRY_MAC_HMAC_MD2 NEW.
1243 GCRY_MAC_HMAC_SHA3_224 NEW.
1244 GCRY_MAC_HMAC_SHA3_256 NEW.
1245 GCRY_MAC_HMAC_SHA3_384 NEW.
1246 GCRY_MAC_HMAC_SHA3_512 NEW.
1247 GCRY_MAC_POLY1305 NEW.
1248 GCRY_MAC_POLY1305_AES NEW.
1249 GCRY_MAC_POLY1305_CAMELLIA NEW.
1250 GCRY_MAC_POLY1305_SEED NEW.
1251 GCRY_MAC_POLY1305_SERPENT NEW.
1252 GCRY_MAC_POLY1305_TWOFISH NEW.
1253 gcry_md_extract NEW.
1254 GCRY_MD_FLAG_BUGEMU1 NEW [from 1.6.1].
1255 GCRY_MD_GOSTR3411_CP NEW.
1256 GCRY_MD_SHA3_224 NEW.
1257 GCRY_MD_SHA3_256 NEW.
1258 GCRY_MD_SHA3_384 NEW.
1259 GCRY_MD_SHA3_512 NEW.
1260 GCRY_MD_SHAKE128 NEW.
1261 GCRY_MD_SHAKE256 NEW.
1262 gcry_mpi_ec_decode_point NEW.
1263 gcry_mpi_ec_sub NEW.
1264 GCRY_PK_EDDSA NEW constant.
1265 GCRYCTL_GET_TAGLEN NEW.
1266 GCRYCTL_SET_SBOX NEW.
1267 GCRYCTL_SET_TAGLEN NEW.
1268 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1269
1270
1271 Version 1.6.5 (2016-02-09) [C20/A0/R5]
1272 Version 1.6.4 (2015-09-08) [C20/A0/R4]
1273 Version 1.6.3 (2015-02-27) [C20/A0/R3]
1274 Version 1.6.2 (2014-08-21) [C20/A0/R2]
1275 Version 1.6.1 (2014-01-29) [C20/A0/R1]
1276
1277
1278 Noteworthy changes in version 1.6.0 (2013-12-16) [C20/A0/R0]
1279 ------------------------------------------------
1280
1281 * Removed the long deprecated gcry_ac interface. Thus Libgcrypt is
1282 not anymore ABI compatible to previous versions if they used the ac
1283 interface.
1284
1285 * Removed the module register subsystem.
1286
1287 * The deprecated message digest debug macros have been removed. Use
1288 gcry_md_debug instead.
1289
1290 * Removed deprecated control codes.
1291
1292 * Improved performance of most cipher algorithms as well as for the
1293 SHA family of hash functions.
1294
1295 * Added support for the IDEA cipher algorithm.
1296
1297 * Added support for the Salsa20 and reduced Salsa20/12 stream ciphers.
1298
1299 * Added limited support for the GOST 28147-89 cipher algorithm.
1300
1301 * Added support for the GOST R 34.11-94 and R 34.11-2012 (Stribog)
1302 hash algorithms.
1303
1304 * Added a random number generator to directly use the system's RNG.
1305 Also added an interface to prefer the use of a specified RNG.
1306
1307 * Added support for the SCRYPT algorithm.
1308
1309 * Mitigated the Yarom/Falkner flush+reload side-channel attack on RSA
1310 secret keys. See <http://eprint.iacr.org/2013/448> [CVE-2013-4242].
1311
1312 * Added support for Deterministic DSA as per RFC-6979.
1313
1314 * Added support for curve Ed25519.
1315
1316 * Added a scatter gather hash convenience function.
1317
1318 * Added several MPI amd SEXP helper functions.
1319
1320 * Added support for negative numbers to gcry_mpi_print,
1321 gcry_mpi_aprint and gcry_mpi_scan.
1322
1323 * The algorithm ids GCRY_PK_ECDSA and GCRY_PK_ECDH are now
1324 deprecated. Use GCRY_PK_ECC if you need an algorithm id.
1325
1326 * Changed gcry_pk_genkey for "ecc" to only include the curve name and
1327 not the parameters. The flag "param" may be used to revert this.
1328
1329 * Added a feature to globally disable selected hardware features.
1330
1331 * Added debug helper functions.
1332
1333 * Interface changes relative to the 1.5.0 release:
1334 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1335 gcry_ac_* REMOVED.
1336 GCRY_AC_* REMOVED.
1337 gcry_module_t REMOVED.
1338 gcry_cipher_register REMOVED.
1339 gcry_cipher_unregister REMOVED.
1340 gcry_cipher_list REMOVED.
1341 gcry_pk_register REMOVED.
1342 gcry_pk_unregister REMOVED.
1343 gcry_pk_list REMOVED.
1344 gcry_md_register REMOVED.
1345 gcry_md_unregister REMOVED.
1346 gcry_md_list REMOVED.
1347 gcry_md_start_debug REMOVED (macro).
1348 gcry_md_stop_debug REMOVED (macro).
1349 GCRYCTL_SET_KEY REMOVED.
1350 GCRYCTL_SET_IV REMOVED.
1351 GCRYCTL_SET_CTR REMOVED.
1352 GCRYCTL_DISABLE_ALGO CHANGED: Not anymore thread-safe.
1353 gcry_pk_genkey CHANGED: ECC curve params not returned.
1354 gcry_md_hash_buffers NEW.
1355 gcry_buffer_t NEW.
1356 GCRYCTL_SET_ENFORCED_FIPS_FLAG NEW.
1357 GCRYCTL_SET_PREFERRED_RNG_TYPE NEW.
1358 GCRYCTL_GET_CURRENT_RNG_TYPE NEW.
1359 GCRYCTL_CLOSE_RANDOM_DEVICE NEW.
1360 GCRY_RNG_TYPE_STANDARD NEW.
1361 GCRY_RNG_TYPE_FIPS NEW.
1362 GCRY_RNG_TYPE_SYSTEM NEW.
1363 gcry_mpi_is_neg NEW.
1364 gcry_mpi_neg NEW.
1365 gcry_mpi_abs NEW.
1366 gcry_mpi_snatch NEW.
1367 gcry_mpi_set_opaque_copy NEW.
1368 gcry_mpi_point_t NEW.
1369 gcry_mpi_point_new NEW.
1370 gcry_mpi_point_release NEW.
1371 gcry_mpi_point_get NEW.
1372 gcry_mpi_point_snatch_get NEW.
1373 gcry_mpi_point_set NEW.
1374 gcry_mpi_point_snatch_set NEW.
1375 gcry_ctx_t NEW.
1376 gcry_ctx_release NEW.
1377 gcry_mpi_ec_new NEW.
1378 gcry_mpi_ec_get_mpi NEW.
1379 gcry_mpi_ec_get_point NEW.
1380 gcry_mpi_ec_set_mpi NEW.
1381 gcry_mpi_ec_set_point NEW.
1382 gcry_mpi_ec_get_affine NEW.
1383 gcry_mpi_ec_dup NEW.
1384 gcry_mpi_ec_add NEW.
1385 gcry_mpi_ec_mul NEW.
1386 gcry_mpi_ec_curve_point NEW.
1387 GCRYMPI_FLAG_IMMUTABLE NEW.
1388 GCRYMPI_FLAG_CONST NEW.
1389 GCRYMPI_FLAG_USER1 NEW.
1390 GCRYMPI_FLAG_USER2 NEW.
1391 GCRYMPI_FLAG_USER3 NEW.
1392 GCRYMPI_FLAG_USER4 NEW.
1393 GCRYMPI_CONST_ONE NEW.
1394 GCRYMPI_CONST_TWO NEW.
1395 GCRYMPI_CONST_THREE NEW.
1396 GCRYMPI_CONST_FOUR NEW.
1397 GCRYMPI_CONST_EIGHT NEW.
1398 GCRYMPI_FMT_OPAQUE NEW.
1399 GCRYPT_VERSION_NUMBER NEW.
1400 GCRY_KDF_SCRYPT NEW.
1401 gcry_pubkey_get_sexp NEW.
1402 GCRYCTL_DISABLE_LOCKED_SECMEM NEW.
1403 GCRYCTL_DISABLE_PRIV_DROP NEW.
1404 GCRY_CIPHER_SALSA20 NEW.
1405 gcry_sexp_nth_buffer NEW.
1406 gcry_sexp_extract_param NEW.
1407 GCRY_CIPHER_SALSA20R12 NEW.
1408 GCRY_CIPHER_GOST28147 NEW.
1409 GCRY_MD_GOSTR3411_94 NEW.
1410 GCRY_MD_STRIBOG256 NEW.
1411 GCRY_MD_STRIBOG512 NEW.
1412 GCRY_PK_ECC NEW.
1413 gcry_log_debug NEW.
1414 gcry_log_debughex NEW.
1415 gcry_log_debugmpi NEW.
1416 gcry_log_debugpnt NEW.
1417
1418
1419 Noteworthy changes in version 1.5.0 (2011-06-29)
1420 ------------------------------------------------
1421
1422 * New function gcry_kdf_derive implementing OpenPGP S2K algorithms
1423 and PBKDF2.
1424
1425 * Support for WindowsCE.
1426
1427 * Support for ECDH.
1428
1429 * Support for OAEP and PSS methods as described by RFC-3447.
1430
1431 * Fixed PKCS v1.5 code to always return the leading zero.
1432
1433 * New format specifiers "%M" and "%u" for gcry_sexp_build.
1434
1435 * Support opaque MPIs with "%m" and "%M" in gcry_sexp_build.
1436
1437 * New functions gcry_pk_get_curve and gcry_pk_get_param to map ECC
1438 parameters to a curve name and to retrieve parameter values.
1439
1440 * gcry_mpi_cmp applied to opaque values has a defined semantic now.
1441
1442 * Uses the Intel AES-NI instructions if available.
1443
1444 * The use of the deprecated Alternative Public Key Interface
1445 (gcry_ac_*) will now print compile time warnings.
1446
1447 * The module register subsystem has been deprecated. This subsystem
1448 is not flexible enough and would always require ABI changes to
1449 extend the internal interfaces. It will eventually be removed.
1450 Please contact us on the gcrypt-devel mailing list to discuss
1451 whether you really need this feature or how it can be replaced by
1452 an internal plugin mechanism.
1453
1454 * CTR mode may now be used with data chunks of arbitrary length.
1455
1456 * Changes also done in 1.4.6 (2010-07-13):
1457 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1458
1459 * New variants of the TIGER algorithm.
1460
1461 * New cipher algorithm mode for AES-WRAP.
1462
1463 * Changes also done in 1.4.5 (2009-12-11):
1464 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1465
1466 * Fixed minor memory leak in DSA key generation.
1467
1468 * No more switching to FIPS mode if /proc/version is not readable.
1469
1470 * Fixed sigill during Padlock detection on old CPUs.
1471
1472 * Fixed a hang on some W2000 machines.
1473
1474 * Boosted SHA-512 performance by 30% on ia32 boxes and gcc 4.3;
1475 SHA-256 went up by 25%.
1476
1477 * Interface changes relative to the 1.4.6 release:
1478 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1479 GCRY_PK_ECDH NEW.
1480 gcry_pk_get_curve NEW.
1481 gcry_pk_get_param NEW.
1482 GCRYCTL_DISABLE_HWF NEW.
1483 gcry_kdf_derive NEW.
1484 gcry_pk_encrypt EXTENDED: Support OAEP.
1485 gcry_pk_decrypt EXTENDED: Support OAEP.
1486 gcry_pk_sign EXTENDED: Support PSS.
1487 gcry_pk_verify EXTENDED: Support PSS.
1488 gcry_sexp_build EXTENDED: Add format specifiers M and u.
1489
1490 * Interface changes relative to the 1.4.2 release:
1491 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1492 GCRY_CIPHER_MODE_AESWRAP NEW.
1493 GCRY_MD_TIGER1 NEW.
1494 GCRY_MD_TIGER2 NEW.
1495
1496
1497 Noteworthy changes in version 1.4.4 (2009-01-22)
1498 ------------------------------------------------
1499
1500 * Publish GCRY_MODULE_ID_USER and GCRY_MODULE_ID_USER_LAST constants.
1501 This functionality has been in Libgcrypt since 1.3.0.
1502
1503 * MD5 may now be used in non-enforced fips mode.
1504
1505 * Fixed HMAC for SHA-384 and SHA-512 with keys longer than 64 bytes.
1506
1507 * In fips mode, RSA keys are now generated using the X9.31 algorithm
1508 and DSA keys using the FIPS 186-2 algorithm.
1509
1510 * The transient-key flag is now also supported for DSA key
1511 generation. DSA domain parameters may be given as well.
1512
1513
1514 Noteworthy changes in version 1.4.3 (2008-09-18)
1515 ------------------------------------------------
1516
1517 * Try to auto-initialize Libgcrypt to minimize the effect of
1518 applications not doing that correctly. This is not a perfect
1519 solution but given that many applicationion would totally fail
1520 without such a hack, we try to help at least with the most common
1521 cases. Folks, please read the manual to learn how to properly
1522 initialize Libgcrypt!
1523
1524 * Auto-initialize the secure memory to 32k instead of aborting the
1525 process.
1526
1527 * Log fatal errors via syslog.
1528
1529 * Changed the name and the semantics of the fips mode config file.
1530
1531 * Add convenience macro gcry_fips_mode_active.
1532
1533 * More self-tests.
1534
1535 * Documentation cleanups.
1536
1537
1538 Noteworthy changes in version 1.4.2 (2008-09-08)
1539 ------------------------------------------------
1540
1541 * The long missing gcry_mpi_lshift function has been added.
1542
1543 * RSA key generation now supports a "transient-key" flag.
1544
1545 * The keygrip computation for ECDSA has been implemented thus ECDSA
1546 is now fully supported.
1547
1548 * A few macros have been replaced by functions for better type
1549 checking.
1550
1551 * The thread initialization structure now carries version
1552 information.
1553
1554 * The manual describes more clearly how to initialize Libgcrypt.
1555
1556 * The library may now be switched into a FIPS mode.
1557
1558 * Interface changes relative to the 1.3.0 release:
1559 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1560 GCRYCTL_OPERATIONAL_P NEW.
1561 GCRYCTL_FIPS_MODE_P NEW.
1562 GCRYCTL_FORCE_FIPS_MODE NEW.
1563 gcry_cipher_setkey NEW: Replaces macro.
1564 gcry_cipher_setiv NEW: Replaces macro.
1565 gcry_cipher_setctr NEW: Replaces macro.
1566 gcry_mpi_lshift NEW.
1567 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1568
1569
1570 Noteworthy changes in version 1.4.1 (2008-04-25)
1571 ------------------------------------------------
1572
1573 * Fixed a bug introduced by 1.3.1 which led to the comsumption of far
1574 too much entropy for the intial seeding.
1575
1576 * Improved AES performance for CFB and CBC modes.
1577
1578 * Removed build problems for the Padlock support.
1579
1580
1581 Noteworthy changes in version 1.4.0 (2007-12-10)
1582 ------------------------------------------------
1583
1584 * New configure option --disable-padlock-support which is mostly
1585 useful in case of build problems.
1586
1587
1588 Noteworthy changes in version 1.3.2 (2007-12-03)
1589 ------------------------------------------------
1590
1591 * The visibility attribute is now used if supported by the toolchain.
1592
1593 * The ACE engine of VIA processors is now used for AES-128.
1594
1595 * The ASN.1 DER template for SHA-224 has been fixed.
1596
1597
1598 Noteworthy changes in version 1.3.1 (2007-10-26)
1599 ------------------------------------------------
1600
1601 * The entire library is now under the LGPL. The helper programs and
1602 the manual are under the GPL. Kudos to Peter Gutmann for giving
1603 permissions to relicense the rndw32 and rndunix modules.
1604
1605 * The Camellia cipher is now under the LGPL and included by default.
1606
1607 * Fixed a bug in the detection of symbol prefixes which inhibited the
1608 build of optimzied assembler code on certain systems.
1609
1610 * Updated the entropy gatherer for W32.
1611
1612
1613 Noteworthy changes in version 1.3.0 (2007-05-04)
1614 ------------------------------------------------
1615
1616 * Changed the way the RNG gets initialized. This allows keeping it
1617 uninitialized as long as no random numbers are used. To override
1618 this, the new macro gcry_fast_random_poll may be used. It is in
1619 general a good idea to spread this macro into the application code
1620 to make sure that these polls happen often enough.
1621
1622 * Made the RNG immune against fork without exec.
1623
1624 * Reading and writing the random seed file is now protected by a
1625 fcntl style file lock on systems that provide this function.
1626
1627 * Support for SHA-224 and HMAC using SHA-384 and SHA-512.
1628
1629 * Support for the SEED cipher.
1630
1631 * Support for the Camellia cipher. Note that Camellia is disabled by
1632 default, and that enabling it changes the license of libgcrypt from
1633 LGPL to GPL.
1634
1635 * Support for OFB encryption mode.
1636
1637 * gcry_mpi_rshift does not anymore truncate the shift count.
1638
1639 * Reserved algorithm ranges for use by applications.
1640
1641 * Support for DSA2.
1642
1643 * The new function gcry_md_debug should be used instead of the
1644 gcry_md_start_debug and gcry_md_stop_debug macros.
1645
1646 * New configure option --enable-random-daemon to support a system
1647 wide random daemon. The daemon code is experimental and not yet
1648 very well working. It will eventually allow keeping a global
1649 random pool for the sake of short living processes.
1650
1651 * Non executable stack support is now used by default on systems
1652 supporting it.
1653
1654 * Support for Microsoft Windows.
1655
1656 * Assembler support for the AMD64 architecture.
1657
1658 * New configure option --enable-mpi-path for optimized builds.
1659
1660 * Experimental support for ECDSA; should only be used for testing.
1661
1662 * New control code GCRYCTL_PRINT_CONFIG to print the build
1663 configuration.
1664
1665 * Minor changes to some function declarations. Buffer arguments are
1666 now typed as void pointer. This should not affect any compilation.
1667 Fixed two bugs in return values and clarified documentation.
1668
1669 * Interface changes relative to the 1.2.0 release:
1670 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1671 gcry_fast_random_poll NEW
1672 gcry_md_debug NEW
1673 gcry_sexp_nth_string NEW
1674 GCRY_MD_SHA224 NEW
1675 GCRY_PK_USAGE_CERT NEW
1676 GCRY_PK_USAGE_AUTH NEW
1677 GCRY_PK_USAGE_UNKN NEW
1678 GCRY_PK_ECDSA NEW
1679 GCRY_CIPHER_SEED NEW
1680 GCRY_CIPHER_CAMELLIA128 NEW
1681 GCRY_CIPHER_CAMELLIA192 NEW
1682 GCRY_CIPHER_CAMELLIA256 NEW
1683 GCRYCTL_FAKED_RANDOM_P NEW
1684 GCRYCTL_PRINT_CONFIG NEW
1685 GCRYCTL_SET_RNDEGD_SOCKET NEW.
1686 gcry_mpi_scan CHANGED: Argument BUFFER is now void*.
1687 gcry_pk_algo_name CHANGED: Returns "?" instead of NULL.
1688 gcry_cipher_algo_name CHANGED: Returns "?" instead of "".
1689 gcry_pk_spec_t CHANGED: Element ALIASES is now const ptr.
1690 gcry_md_write_t CHANGED: Argument BUF is now a const void*.
1691 gcry_md_ctl CHANGED: Argument BUFFER is now void*.
1692 gcry_cipher_encrypt CHANGED: Arguments IN and OUT are now void*.
1693 gcry_cipher_decrypt CHANGED: Arguments IN and OUT are now void*.
1694 gcry_sexp_sprint CHANGED: Argument BUFFER is now void*.
1695 gcry_create_nonce CHANGED: Argument BUFFER is now void*.
1696 gcry_randomize CHANGED: Argument BUFFER is now void*.
1697 gcry_cipher_register CHANGED: Argument ALGORITHM_ID is now int*.
1698 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1699
1700
1701 Noteworthy changes in version 1.2.0 (2004-04-15)
1702 ------------------------------------------------
1703
1704 * First stable release.
1705
1706
1707 Noteworthy changes in version 1.1.94 (2004-03-29)
1708 -------------------------------------------------
1709
1710 * The support for multi-threaded users goes into its third
1711 incarnation. We removed compile time support for thread libraries.
1712 To support the thread library of your choice, you have to set up
1713 callback handlers at initialization time. New data structures, a
1714 new control command, and default initializers are provided for this
1715 purpose.
1716
1717 * Interface changes relative to the 1.1.93 release:
1718 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1719 libgcrypt-config --thread OBSOLETE
1720 libgcrypt-pth.la REMOVED
1721 libgcrypt-pthread.la REMOVED
1722 GCRYCTL_SET_THREAD_CBS NEW
1723 struct gcrypt_thread_cbs NEW
1724 enum gcry_thread_option NEW
1725 GCRY_THREAD_OPTION_PTH_IMPL NEW
1726 GCRY_THREAD_OPTION_PTHREAD_IMPL NEW
1727 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1728
1729 Noteworthy changes in version 1.1.93 (2004-03-06)
1730 -------------------------------------------------
1731
1732 * The automatic thread library detection has finally been removed.
1733 From now on, only linking explicitely to libgcrypt, libgcrypt-pth
1734 or libgcrypt-pthread is supported.
1735
1736 Noteworthy changes in version 1.1.92 (2004-02-20)
1737 -------------------------------------------------
1738
1739 * Minor bug fixes.
1740
1741 * Included a limited implementation of RFC2268.
1742
1743 * Changed API of the gcry_ac_ functions. Only a very few programs
1744 should be affected by this.
1745
1746 * Interface changes relative to the 1.1.91 release:
1747 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1748 GCRY_CIPHER_RFC2268_40 NEW.
1749 gcry_ac_data_set CHANGED: New argument FLAGS.
1750 gcry_ac_data_get_name CHANGED: New argument FLAGS.
1751 gcry_ac_data_get_index CHANGED: New argument FLAGS.
1752 gcry_ac_key_pair_generate CHANGED: New and reordered arguments.
1753 gcry_ac_key_test CHANGED: New argument HANDLE.
1754 gcry_ac_key_get_nbits CHANGED: New argument HANDLE.
1755 gcry_ac_key_get_grip CHANGED: New argument HANDLE.
1756 gcry_ac_data_search REMOVED.
1757 gcry_ac_data_add REMOVED.
1758 GCRY_AC_DATA_FLAG_NO_BLINDING REMOVED.
1759 GCRY_AC_FLAG_NO_BLINDING NEW: Replaces above.
1760
1761
1762 Noteworthy changes in version 1.1.91 (2003-12-19)
1763 -------------------------------------------------
1764
1765 * Code cleanups and minor bug fixes.
1766
1767
1768 Noteworthy changes in version 1.1.90 (2003-11-14)
1769 -------------------------------------------------
1770
1771 * The use of the GCRY_WEAK_RANDOM level is now deprecated in favor of
1772 the new gcry_create_nonce function.
1773
1774 * gcry_sexp_build now supports a "%b" format to include a memory buffer.
1775
1776 * Minor configuration fixes.
1777
1778 * Interface changes relative to the 1.1.44 release:
1779 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1780 gcry_create_nonce NEW
1781 gcry_sexp_build ENHANCED
1782
1783
1784 Noteworthy changes in version 1.1.44 (2003-10-31)
1785 -------------------------------------------------
1786
1787 * Bug fixes and more code cleanups.
1788
1789 * Enhanced the prime API.
1790
1791 * Interface changes relative to the 1.1.43 release:
1792 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1793 gcry_prime_group_generator NEW
1794 gcry_prime_release_factors NEW
1795
1796
1797 Noteworthy changes in version 1.1.43 (2003-09-04)
1798 -------------------------------------------------
1799
1800 * Bug fixes and internal code cleanups.
1801
1802 * Support for the Serpent cipher algorithm.
1803
1804 * Interface changes relative to the 1.1.42 release:
1805 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1806 gcry_prime_generate NEW
1807 gcry_prime_check NEW
1808
1809
1810 Noteworthy changes in version 1.1.42 (2003-07-31)
1811 -------------------------------------------------
1812
1813 * Major API cleanup. Applications need to be converted to the new
1814 API. See README.apichanges for hints on how to do that. Backward
1815 compatibility is provided where it was possible without too much
1816 effort and did not collide with the overall sanitization effort.
1817 However, this is only for ease of transition. NO DEPRECATED
1818 FUNCTION OR DATA TYPE IS CONSIDERED A PART OF THE API OR ABI AND
1819 WILL BE DROPPED IN THE FUTURE WITHOUT CHANGING THE SONAME OF THE
1820 LIBRARY.
1821
1822 * If gcrypt.h is included in sources compiled by GCC 3.1 or later,
1823 deprecated attributes will warn about use of obsolete functions and
1824 type definitions. You can suppress these warnings by passing
1825 -Wno-deprecated-declarations to the gcc command.
1826
1827 * gcry_check_version must be called from now on to initialize the
1828 library, it is not longer optional.
1829
1830 * Removed `libgcrypt errno' concept.
1831
1832 * Libgcrypt depends on libgpg-error, a library that provides error
1833 codes and according functions for all GnuPG components. Functions
1834 that used to return error codes asa `int' have been changed to
1835 return a code of type `gcry_error_t'. All GCRYERR_* error symbols
1836 have been removed, since they are now contained in libgpg-error
1837 (GPG_ERR_*). All functions and types in libgpg-error have also been
1838 wrapped in Libgcrypt. The new types are gcry_err_code_t and
1839 gcry_err_source_t. The new functions are gcry_err_code,
1840 gcry_err_source, gcry_error, gcry_err_make, gcry_error_from_errno,
1841 gcry_err_make_from_errno, gcry_err_code_from_errno,
1842 gcry_err_code_to_errno, gcry_strsource.
1843
1844 * New function gcry_mpi_dump to help in debugging.
1845
1846 * Added alternative interface for asymmetric cryptography.
1847
1848 * CRC-32, CRC-32 a'la RFC 1510, CRC-24 a'la RFC 2440 are now
1849 supported.
1850
1851 * SHA-256, SHA-384 and SHA-512 are now supported.
1852
1853 * 128 bit Twofish is now supported.
1854
1855 * The random module won't print the "not enough random bytes
1856 available" anymore. A new progress status is issued instead.
1857
1858 * CBC-MAC for block ciphers is now supported, by using a
1859 GCRY_CIPHER_CBC_MAC cipher flag.
1860
1861 * CTR mode for block ciphers is now supported.
1862
1863 * The public RSA exponent can now be specified in key generation.
1864
1865 * RSA blinding is now supported and is used automatically for RSA
1866 decryption. It can be explicitely disabled by using the
1867 `no-blinding' symbol in the `flags' S-Expression or by using the
1868 GCRY_AC_FLAG_DATA_NO_BLINDING flag when using the ac interface.
1869
1870 * gcry_sexp_canon_len does not use a `historically encoded' error
1871 code anymore.
1872
1873
1874 * Interface changes relative to the 1.1.12 release:
1875 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1876 GCRY_MPI DEPRECATED; Use: gcry_mpi_t
1877 GcryMPI DEPRECATED; Use: gcry_mpi_t
1878 GCRY_SEXP DEPRECATED; Use: gcry_sexp_t
1879 GcrySexp DEPRECATED; Use: gcry_sexp_t
1880 GCRY_CIPHER_HD DEPRECATED; Use: gcry_cipher_hd_t
1881 GcryCipherHd DEPRECATED; Use: gcry_cipher_hd_t
1882 GCRY_MD_HD DEPRECATED; Use: gcry_md_hd_t
1883 GcryMDHd DEPRECATED; Use: gcry_md_hd_t
1884 gcry_error_t NEW
1885 gcry_err_code_t NEW
1886 gcry_err_source_t NEW
1887 gcry_err_make NEW
1888 gcry_error NEW
1889 gcry_err_code NEW
1890 gcry_err_source NEW
1891 gcry_err_code_from_errno NEW
1892 gcry_err_code_to_errno NEW
1893 gcry_err_make_from_errno NEW
1894 gcry_error_from_errno NEW
1895 gcry_strsource NEW
1896 GCRYERR_{some error code} REMOVED; Use GPG_ERR_*
1897 from libgpg-error instead.
1898 gcry_errno REMOVED
1899 gcry_sexp_canon_len CHANGED
1900 gcry_sexp_build_array NEW
1901 gcry_mpi_scan CHANGED: New argument to separate in/out args.
1902 gcry_mpi_print CHANGED: Ditto.
1903 gcry_mpi_dump NEW
1904 gcry_cipher_open CHANGED
1905 gcry_cipher_reset NEW
1906 gcry_cipher_register NEW
1907 gcry_cipher_unregister NEW
1908 gcry_cipher_list NEW
1909 gcry_cipher_algo_keylen REPLACED macro with function.
1910 gcry_cipher_algo_blklen REPLACED macro with function.
1911 gcry_pk_register NEW
1912 gcry_pk_unregister NEW
1913 gcry_pk_list NEW
1914 gcry_pk_decrypt ENHANCED: Allows flag to return
1915 complete S-expression.
1916 gcry_md_open CHANGED
1917 gcry_md_copy CHANGED
1918 gcry_md_is_enabled NEW
1919 gcry_md_is_secure NEW
1920 gcry_md_register NEW
1921 gcry_md_unregister NEW
1922 gcry_md_list NEW
1923 gcry_ac_data_t NEW
1924 gcry_ac_key_t NEW
1925 gcry_ac_key_pair_t NEW
1926 gcry_ac_handle_t NEW
1927 gcry_ac_key_spec_rsa_t NEW
1928 gcry_ac_data_new NEW
1929 gcry_ac_data_destroy NEW
1930 gcry_ac_data_set NEW
1931 gcry_ac_data_copy NEW
1932 gcry_ac_data_length NEW
1933 gcry_ac_data_get_name NEW
1934 gcry_ac_data_get_index NEW
1935 gcry_ac_data_clear NEW
1936 gcry_ac_open NEW
1937 gcry_ac_close NEW
1938 gcry_ac_key_init NEW
1939 gcry_ac_key_pair_generate NEW
1940 gcry_ac_key_pair_extract NEW
1941 gcry_ac_key_data_get NEW
1942 gcry_ac_key_test NEW
1943 gcry_ac_key_get_nbits NEW
1944 gcry_ac_key_get_grip NEW
1945 gcry_ac_key_destroy NEW
1946 gcry_ac_key_pair_destroy NEW
1947 gcry_ac_data_encrypt NEW
1948 gcry_ac_data_decrypt NEW
1949 gcry_ac_data_sign NEW
1950 gcry_ac_data_verify NEW
1951 gcry_ac_id_to_name NEW
1952 gcry_ac_name_to_id NEW
1953 gcry_handler_progress_t NEW
1954 gcry_handler_alloc_t NEW
1955 gcry_handler_secure_check_t NEW
1956 gcry_handle_realloc_t NEW
1957 gcry_handler_free_t NEW
1958 gcry_handler_no_mem_t NEW
1959 gcry_handler_error_t NEW
1960 gcry_handler_log_t NEW
1961 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1962
1963 Noteworthy changes in version 1.1.12 (2003-01-20)
1964 -------------------------------------------------
1965
1966 * gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an
1967 optional pkcs1 flags parameter in the S-expression. A similar flag
1968 may be passed to gcry_pk_decrypt but it is only syntactically
1969 implemented.
1970
1971 * New convenience macro gcry_md_get_asnoid.
1972
1973 * There is now some real stuff in the manual.
1974
1975
1976 Noteworthy changes in version 1.1.11 (2002-12-21)
1977 -------------------------------------------------
1978
1979 * Don't export internal symbols anymore (currently only for GNU systems)
1980
1981 * New algorithm: MD4
1982
1983 * Implemented ciphertext stealing.
1984
1985 * Smaller bugs fixes and a few new OIDs.
1986
1987 * Interface changes relative to the 1.1.8 release:
1988 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1989 gcry_cipher_cts NEW
1990 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1991
1992
1993 Noteworthy changes in version 1.1.10 (2002-09-20)
1994 -------------------------------------------------
1995
1996 * Fixed shared library builds for i386, PPC and Sparc.
1997
1998 * Added simple benchmark tool.
1999
2000 * Replaced the internal mutexes by code which automatically adapts to
2001 the used threading library. Currently Pth and Pthread are
2002 supported. For non-ELF systems the GNU toolchain is now required..
2003
2004 * Added untested support to build Windows DLLs.
2005
2006 Noteworthy changes in version 1.1.9 (2002-08-23)
2007 ------------------------------------------------
2008
2009 * Support for plain old DES.
2010
2011
2012 Noteworthy changes in version 1.1.8 (2002-06-25)
2013 ------------------------------------------------
2014
2015 * Minor cleanups and exported a few new functions.
2016
2017 * Interface changes relative to the 1.1.7 release:
2018 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019 gcry_mpi_div NEW
2020 gcry_mpi_mod NEW
2021 gcry_mpi_invm NEW
2022 gcry_mpi_swap NEW
2023 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024
2025 Noteworthy changes in version 1.1.7 (2002-05-21)
2026 ------------------------------------------------
2027
2028 * Libgcrypt is now distributed under the terms of the GNU Lesser
2029 General Public License; see the README file for details.
2030
2031 * It is possible to use libgcrypt w/o intialized secure memory.
2032
2033 * Libgcrypt should now be thread safe after the initialization.
2034 gcry_control (GCRYCRL_INITIALIZATION_FINISHED,NULL,0) should have
2035 been called before creating additional threads.
2036
2037 * Interface changes relative to the 1.1.6 release:
2038 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2039 GCRYCTL_DISABLE_INTERNAL_LOCKING NEW
2040 GCRYCTL_DISABLE_SECMEM NEW
2041 GCRYCTL_INITIALIZATION_FINISHED NEW
2042 GCRYCTL_INITIALIZATION_FINISHED_P NEW
2043 GCRYCTL_ANY_INITIALIZATION_P NEW
2044 gcry_strdup NEW
2045 gcry_sexp_create NEW
2046 gcry_sexp_new NEW
2047 gcry_set_progress_handler NEW
2048 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2049
2050 Noteworthy changes in version 1.1.6 (2002-02-07)
2051 ------------------------------------------------
2052
2053 * Enhanced the S-expression conversion functions.
2054
2055 Noteworthy changes in version 1.1.5 (2001-12-18)
2056 ------------------------------------------------
2057
2058 * gcry_{cipher,md}_map_name are now able to map stringified object IDs.
2059
2060 * New functions gcry_sexp_canon_len and gcry_cipher_mode_from_oid.
2061
2062 * Closed some memory leaks.
2063
2064
2065 Noteworthy changes in version 1.1.4 (2001-08-03)
2066 ------------------------------------------------
2067
2068 * Arcfour does now work.
2069
2070 * Some minor fixes.
2071
2072 * Added a first test program
2073
2074 * Migrated to autoconf 2.52.
2075
2076
2077 Noteworthy changes in version 1.1.3 (2001-05-31)
2078 ------------------------------------------------
2079
2080 * First release of Libgcrypt which is a result of splitting GnuPG
2081 into into libgcrypt and GnuPG.
2082
2083
2084 Copyright 2001, 2002, 2003, 2004, 2007, 2008,
2085 2009, 2011 Free Software Foundation, Inc.
2086 Copyright 2013 g10 Code GmbH
2087
2088 This file is free software; as a special exception the author gives
2089 unlimited permission to copy and/or distribute it, with or without
2090 modifications, as long as this notice is preserved.
2091
2092 This file is distributed in the hope that it will be useful, but
2093 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
2094 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.