Page MenuHome GnuPG
Feed Advanced Search

Apr 23 2023

jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

Here's fix for mode specific setkey clearing error code:

Apr 23 2023, 2:38 PM · Debian, libgcrypt, Bug Report

Apr 21 2023

jukivili added a reverting change for rC30840c2c45d7: cipher: Fix edge case for SET_ALLOW_WEAK_KEY.: rC7146b69b4905: Revert "cipher: Fix edge case for SET_ALLOW_WEAK_KEY.".
Apr 21 2023, 8:26 AM
jukivili committed rC7146b69b4905: Revert "cipher: Fix edge case for SET_ALLOW_WEAK_KEY." (authored by jukivili).
Revert "cipher: Fix edge case for SET_ALLOW_WEAK_KEY."
Apr 21 2023, 8:26 AM
jukivili committed rCf3ca9fa4f7e0: doc: add documentation for GCRYCTL_SET_ALLOW_WEAK_KEY (authored by jukivili).
doc: add documentation for GCRYCTL_SET_ALLOW_WEAK_KEY
Apr 21 2023, 8:26 AM

Apr 20 2023

jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

About error code. You need to use gcry_err_code(error_code) to get the GPG_ERR_WEAK_KEY value.

Apr 20 2023, 6:22 PM · Debian, libgcrypt, Bug Report

Apr 17 2023

jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

I'll add documentation about GCRYCTL_SET_ALLOW_WEAK_KEY which was missing from be original commit.

Apr 17 2023, 8:36 AM · Debian, libgcrypt, Bug Report
jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

tests/basic now actually fail because setkey not returning GPG_ERR_WEAK_KEY for weak keys with GCRYCTL_SET_ALLOW_WEAK_KEY.

Apr 17 2023, 8:34 AM · Debian, libgcrypt, Bug Report
jukivili added a comment to T6451: libgcrypt | gcry_cipher_setkey: 3DES-CBC key returns GPG_ERR_WEAK even with GCRYCTL_SET_ALLOW_WEAK_KEY.

That's right. With GCRYCTL_SET_ALLOW_WEAK_KEY, setkey still returns GPG_ERR_WEAK_KEY when weak key is detected. However, cipher handle can still be used as if setkey succeeded.

Apr 17 2023, 8:31 AM · Debian, libgcrypt, Bug Report

Apr 3 2023

jukivili committed rC278ba98497e1: cipher-gcm-ppc: tweak loop structure a bit (authored by jukivili).
cipher-gcm-ppc: tweak loop structure a bit
Apr 3 2023, 8:38 PM

Mar 30 2023

jukivili added a comment to T5686: GitHub mirror out of date.

Here's mirroring script that is in place currently:

#!/bin/bash -e
Mar 30 2023, 8:33 AM · Feature Request, dev.gnupg.org

Mar 19 2023

jukivili committed rC79a79d3dc626: camellia-simd128: use 8-bit right shift for rotate function (authored by jukivili).
camellia-simd128: use 8-bit right shift for rotate function
Mar 19 2023, 9:04 PM
jukivili committed rC3c98ae9cb60a: camellia-gfni: use GFNI for uint8 right shift in FLS (authored by jukivili).
camellia-gfni: use GFNI for uint8 right shift in FLS
Mar 19 2023, 9:04 PM

Mar 6 2023

jukivili committed rC855f8c513d6d: rijndael-ppc: use vector registers for key schedule calculations (authored by jukivili).
rijndael-ppc: use vector registers for key schedule calculations
Mar 6 2023, 9:11 PM
jukivili committed rC0b2da804ee81: Add PowerPC vector implementation of SM4 (authored by jukivili).
Add PowerPC vector implementation of SM4
Mar 6 2023, 9:11 PM
jukivili committed rC6c05c808e4e8: camellia-simd128: faster sbox filtering with uint8 right shift (authored by jukivili).
camellia-simd128: faster sbox filtering with uint8 right shift
Mar 6 2023, 9:11 PM
jukivili committed rC652598096325: chacha20-ppc: do not generate p9 code when target attr unavailable (authored by jukivili).
chacha20-ppc: do not generate p9 code when target attr unavailable
Mar 6 2023, 9:11 PM

Mar 1 2023

jukivili committed rC0a5f7e9543a8: Fix "'inline' is not at beginning of declaration" warnings (authored by jukivili).
Fix "'inline' is not at beginning of declaration" warnings
Mar 1 2023, 1:06 PM
jukivili committed rC66bae697a853: Improve PPC target function attribute checks (authored by jukivili).
Improve PPC target function attribute checks
Mar 1 2023, 1:06 PM
jukivili committed rC898c857206ad: camellia: add AArch64 crypto-extension implementation (authored by jukivili).
camellia: add AArch64 crypto-extension implementation
Mar 1 2023, 1:06 PM
jukivili committed rC6fa11d8b7070: camellia: add POWER8/POWER9 vcrypto implementation (authored by jukivili).
camellia: add POWER8/POWER9 vcrypto implementation
Mar 1 2023, 1:06 PM

Feb 28 2023

jukivili committed rC0d42d9674458: aes-amd64-vaes: fix fast exit path in XTS function (authored by jukivili).
aes-amd64-vaes: fix fast exit path in XTS function
Feb 28 2023, 2:39 PM
jukivili committed rCf3d1d4a8c9f0: chacha20-ppc: use target and optimize attributes for P8 and P9 (authored by jukivili).
chacha20-ppc: use target and optimize attributes for P8 and P9
Feb 28 2023, 2:39 PM
jukivili committed rC937a76a34540: ppc: add support for clang target attribute (authored by jukivili).
ppc: add support for clang target attribute
Feb 28 2023, 2:39 PM
jukivili committed rC100063cf4e1c: aes-ppc: use target and optimize attributes for P8 and P9 (authored by jukivili).
aes-ppc: use target and optimize attributes for P8 and P9
Feb 28 2023, 2:39 PM
jukivili committed rC84f2e2d0b51b: aes-ppc: add CTR32LE bulk acceleration (authored by jukivili).
aes-ppc: add CTR32LE bulk acceleration
Feb 28 2023, 2:39 PM
jukivili committed rCa7ebf9d52e67: aes-ppc: add ECB bulk acceleration for benchmarking purposes (authored by jukivili).
aes-ppc: add ECB bulk acceleration for benchmarking purposes
Feb 28 2023, 2:39 PM
jukivili committed rC161614ecc1c2: sha2-ppc: better optimization for POWER9 (authored by jukivili).
sha2-ppc: better optimization for POWER9
Feb 28 2023, 2:39 PM

Feb 26 2023

jukivili committed rCdd4cb5d75c8e: camellia-aesni-avx: speed up for round key broadcasting (authored by jukivili).
camellia-aesni-avx: speed up for round key broadcasting
Feb 26 2023, 2:21 PM
jukivili committed rCa4c22331f57d: camellia-gfni-avx512: speed up for round key broadcasting (authored by jukivili).
camellia-gfni-avx512: speed up for round key broadcasting
Feb 26 2023, 2:21 PM
jukivili committed rCb9a9755742c7: camellia-avx2: speed up for round key broadcasting (authored by jukivili).
camellia-avx2: speed up for round key broadcasting
Feb 26 2023, 2:21 PM
jukivili committed rC5f25ad09fdb5: camellia-avx2: add fast path for full 32 block ECB input (authored by jukivili).
camellia-avx2: add fast path for full 32 block ECB input
Feb 26 2023, 2:21 PM
jukivili committed rC87ae2a660d59: camellia: add CTR-mode byte addition for AVX/AVX2/AVX512 impl. (authored by jukivili).
camellia: add CTR-mode byte addition for AVX/AVX2/AVX512 impl.
Feb 26 2023, 2:21 PM
jukivili committed rC926cc22058a3: camellia-aesni-avx: add acceleration for ECB/XTS/CTR32LE modes (authored by jukivili).
camellia-aesni-avx: add acceleration for ECB/XTS/CTR32LE modes
Feb 26 2023, 2:21 PM
jukivili committed rC978b02fca682: sm4: add CTR-mode byte addition for AVX/AVX2/AVX512 implementations (authored by jukivili).
sm4: add CTR-mode byte addition for AVX/AVX2/AVX512 implementations
Feb 26 2023, 2:21 PM
jukivili committed rC8f7f5a9fc639: aes-vaes-avx2: improve case when only CTR needs carry handling (authored by jukivili).
aes-vaes-avx2: improve case when only CTR needs carry handling
Feb 26 2023, 2:21 PM

Feb 22 2023

jukivili committed rCcaf402e9b41f: aria-avx2: add VAES accelerated implementation (authored by jukivili).
aria-avx2: add VAES accelerated implementation
Feb 22 2023, 8:44 PM
jukivili committed rCf359a3ec7e84: aria-avx512: small optimization for aria_diff_m (authored by jukivili).
aria-avx512: small optimization for aria_diff_m
Feb 22 2023, 8:44 PM
jukivili committed rC855f1551fd92: aria-avx: small optimization for aria_ark_8way (authored by jukivili).
aria-avx: small optimization for aria_ark_8way
Feb 22 2023, 8:44 PM
jukivili committed rC45351e6474cb: aria: add x86_64 GFNI/AVX512 accelerated implementation (authored by jukivili).
aria: add x86_64 GFNI/AVX512 accelerated implementation
Feb 22 2023, 8:44 PM
jukivili committed rCf4268a8f51a8: aria: add x86_64 AESNI/GFNI/AVX/AVX2 accelerated implementations (authored by jukivili).
aria: add x86_64 AESNI/GFNI/AVX/AVX2 accelerated implementations
Feb 22 2023, 8:44 PM

Jan 21 2023

jukivili committed rC833a904faf2b: asm-common-aarch64: fix read-only section for Windows target (authored by jukivili).
asm-common-aarch64: fix read-only section for Windows target
Jan 21 2023, 2:02 PM

Jan 20 2023

jukivili committed rC6f8e750c42ff: aarch64-asm: align functions to 16 bytes (authored by jukivili).
aarch64-asm: align functions to 16 bytes
Jan 20 2023, 8:33 PM
jukivili committed rC65f52773d4bb: s390x-asm: move constant data to read-only section (authored by jukivili).
s390x-asm: move constant data to read-only section
Jan 20 2023, 8:33 PM
jukivili committed rCb3d7d520a0aa: aarch64-asm: move constant data to read-only section (authored by jukivili).
aarch64-asm: move constant data to read-only section
Jan 20 2023, 8:33 PM
jukivili committed rCd0a109148b79: powerpc-asm: move constant data to read-only section (authored by jukivili).
powerpc-asm: move constant data to read-only section
Jan 20 2023, 8:33 PM
jukivili committed rC12ad3ea6b49b: mpi/amd64: align functions and inner loops to 16 bytes (authored by jukivili).
mpi/amd64: align functions and inner loops to 16 bytes
Jan 20 2023, 8:33 PM
jukivili committed rC9d62c54de2b0: amd64-asm: align functions to 16 bytes for cipher algos (authored by jukivili).
amd64-asm: align functions to 16 bytes for cipher algos
Jan 20 2023, 8:33 PM
jukivili committed rC14137d685cf8: amd64-asm: move constant data to read-only section for hash/mac algos (authored by jukivili).
amd64-asm: move constant data to read-only section for hash/mac algos
Jan 20 2023, 8:33 PM
jukivili committed rC208b1f3a7bd8: amd64-asm: move constant data to read-only section for cipher algos (authored by jukivili).
amd64-asm: move constant data to read-only section for cipher algos
Jan 20 2023, 8:33 PM
jukivili committed rCec57b50bc60a: tests/bench-slope: skip CPU warm-up in regression tests (authored by jukivili).
tests/bench-slope: skip CPU warm-up in regression tests
Jan 20 2023, 8:33 PM
jukivili committed rC308a70ac9907: tests/basic: perform x86 vector cluttering only when __SSE2__ is set (authored by jukivili).
tests/basic: perform x86 vector cluttering only when __SSE2__ is set
Jan 20 2023, 8:33 PM
jukivili committed rC1a758b08bba0: tests/basic: fix clutter vector register asm for amd64 and i386 (authored by jukivili).
tests/basic: fix clutter vector register asm for amd64 and i386
Jan 20 2023, 8:33 PM
jukivili committed rC7de2fb66e065: avx512: tweak zmm16-zmm31 register clearing (authored by jukivili).
avx512: tweak zmm16-zmm31 register clearing
Jan 20 2023, 8:33 PM

Jan 10 2023

jukivili committed rC5e1a04f77933: aria: add generic 2-way bulk processing (authored by jukivili).
aria: add generic 2-way bulk processing
Jan 10 2023, 8:09 PM
jukivili committed rC316c6d7715d9: Add ARIA block cipher (authored by jukivili).
Add ARIA block cipher
Jan 10 2023, 8:09 PM

Jan 6 2023

jukivili committed rC86db4b02c6e5: bulkhelp: change bulk function definition to allow modifying context (authored by jukivili).
bulkhelp: change bulk function definition to allow modifying context
Jan 6 2023, 9:54 AM
jukivili committed rC30c9a1d101b4: sm4: add missing OCB 16-way GFNI-AVX512 path (authored by jukivili).
sm4: add missing OCB 16-way GFNI-AVX512 path
Jan 6 2023, 9:54 AM
jukivili committed rCf2153d797f43: Fix compiler warnings seen with clang-powerpc64le target (authored by jukivili).
Fix compiler warnings seen with clang-powerpc64le target
Jan 6 2023, 9:54 AM
jukivili committed rCd1ccc409d4c6: Add GMAC-SM4 and Poly1305-SM4 (authored by jukivili).
Add GMAC-SM4 and Poly1305-SM4
Jan 6 2023, 9:54 AM

Dec 20 2022

jukivili added inline comments to rDa5a5d49bebf2: web: Add news about 2.4.
Dec 20 2022, 5:33 PM

Dec 15 2022

jukivili committed rC02d5d1d97b3f: Add clang support for ARM 32-bit assembly (authored by jukivili).
Add clang support for ARM 32-bit assembly
Dec 15 2022, 5:24 PM

Dec 14 2022

jukivili committed rC3d20308cc529: rijndael-ppc: fix wrong inline assembly constraint (authored by jukivili).
rijndael-ppc: fix wrong inline assembly constraint
Dec 14 2022, 6:52 PM
jukivili committed rC31837163fbc3: Fix building AVX512 Intel-syntax assembly with x86-64 clang (authored by jukivili).
Fix building AVX512 Intel-syntax assembly with x86-64 clang
Dec 14 2022, 6:52 PM

Dec 12 2022

jukivili committed rC8b4e0e9e9a36: avx512: tweak AVX512 spec stop, use common macro in assembly (authored by jukivili).
avx512: tweak AVX512 spec stop, use common macro in assembly
Dec 12 2022, 5:48 PM
jukivili committed rC996f81dd86ab: chacha20-avx512: add handling for any input block count and tweak 16 block code… (authored by jukivili).
chacha20-avx512: add handling for any input block count and tweak 16 block code…
Dec 12 2022, 5:48 PM

Nov 26 2022

jukivili added a comment to T5826: Improve detached signing and verification speed.

Any comments on applying these to gnupg-2.2?

Nov 26 2022, 10:07 AM · gnupg

Oct 28 2022

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Oct 28 2022, 6:29 PM · libgcrypt
jukivili added a comment to T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452).

Yep. Closed now.

Oct 28 2022, 5:10 PM · Feature Request, libgcrypt
jukivili closed T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452), a subtask of T4486: Add AEAD mode AES-SIV to libgcrypt (RFC 5297), as Resolved.
Oct 28 2022, 5:10 PM · Feature Request, libgcrypt
jukivili closed T4485: Add AEAD mode AES-GCM-SIV to libgcrypt (RFC 8452) as Resolved.
Oct 28 2022, 5:10 PM · Feature Request, libgcrypt

Oct 27 2022

gniibe awarded T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance) a Yellow Medal token.
Oct 27 2022, 9:31 AM · libgcrypt, Feature Request
werner awarded T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance) a Cup of Joe token.
Oct 27 2022, 8:46 AM · libgcrypt, Feature Request
jukivili closed T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance) as Resolved.
Oct 27 2022, 5:07 AM · libgcrypt, Feature Request

Oct 26 2022

jukivili committed rCeab1caae7bd5: sha3-avx512: fix for "x32" target (authored by jukivili).
sha3-avx512: fix for "x32" target
Oct 26 2022, 9:05 PM
jukivili committed rCd078a928f5c6: twofish: accelerate XTS and ECB modes (authored by jukivili).
twofish: accelerate XTS and ECB modes
Oct 26 2022, 9:05 PM
jukivili committed rCb50b7ea5caba: serpent: fix compiler warning on 32-bit ARM (authored by jukivili).
serpent: fix compiler warning on 32-bit ARM
Oct 26 2022, 9:05 PM
jukivili committed rC8a1fe5f78f9f: serpent: accelerate XTS and ECB modes (authored by jukivili).
serpent: accelerate XTS and ECB modes
Oct 26 2022, 9:05 PM
jukivili committed rC14f39993d632: sm4: accelerate ECB (for benchmarking) (authored by jukivili).
sm4: accelerate ECB (for benchmarking)
Oct 26 2022, 9:05 PM
jukivili committed rC6475d0915ffe: camellia: accelerate ECB (for benchmarking) (authored by jukivili).
camellia: accelerate ECB (for benchmarking)
Oct 26 2022, 9:05 PM
jukivili committed rCa43e03ef842b: sm4: fix lookup-table prefetching (authored by jukivili).
sm4: fix lookup-table prefetching
Oct 26 2022, 9:05 PM
jukivili committed rC7c1aa4c9452a: rijndael-vaes: align asm functions (authored by jukivili).
rijndael-vaes: align asm functions
Oct 26 2022, 9:05 PM
jukivili committed rC84f3d41acb23: rijndael: add ECB acceleration (for benchmarking purposes) (authored by jukivili).
rijndael: add ECB acceleration (for benchmarking purposes)
Oct 26 2022, 9:05 PM
jukivili committed rCbf5ec001dfcb: mpi/longlong: update powerpc macros from GCC (authored by jukivili).
mpi/longlong: update powerpc macros from GCC
Oct 26 2022, 9:05 PM
jukivili committed rC4b1cb76e3587: hwf-x86: enable VPGATHER usage for AMD CPUs with AVX512 (authored by jukivili).
hwf-x86: enable VPGATHER usage for AMD CPUs with AVX512
Oct 26 2022, 9:05 PM
jukivili committed rCc0f85e0c8657: sha512-avx512: enable only on Intel CPUs for now (authored by jukivili).
sha512-avx512: enable only on Intel CPUs for now
Oct 26 2022, 9:05 PM

Oct 16 2022

jukivili created T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance).
Oct 16 2022, 4:57 PM · libgcrypt, Feature Request

Oct 8 2022

jukivili closed T6232: Documentation refers to wrong the RFC for GCM-SIV cipher mode (GCRY_CIPHER_MODE_GCM_SIV) as Resolved.

Thanks. Fix has been pushed to master.

Oct 8 2022, 2:51 PM · Documentation
jukivili committed rC94dcd2cf5cd1: doc: fix RFC reference for GCM-SIV (authored by jukivili).
doc: fix RFC reference for GCM-SIV
Oct 8 2022, 2:36 PM
jukivili committed rCf01d4b7a601f: mpi/longlong.h: i386: use tzcnt instruction for trailing zeros (authored by jukivili).
mpi/longlong.h: i386: use tzcnt instruction for trailing zeros
Oct 8 2022, 2:36 PM
jukivili committed rC38bd31bc46b9: mpi/longlong.h: x86-64: use tzcnt instruction for trailing zeros (authored by jukivili).
mpi/longlong.h: x86-64: use tzcnt instruction for trailing zeros
Oct 8 2022, 2:36 PM
jukivili committed rCd67f453d1b9d: mpi/longlong: fix generic smul_ppmm ifdef (authored by jukivili).
mpi/longlong: fix generic smul_ppmm ifdef
Oct 8 2022, 2:36 PM
jukivili committed rCaef0ddf4d37a: mpi/longlong: provide generic implementation using double word type (authored by jukivili).
mpi/longlong: provide generic implementation using double word type
Oct 8 2022, 2:36 PM
jukivili claimed T6232: Documentation refers to wrong the RFC for GCM-SIV cipher mode (GCRY_CIPHER_MODE_GCM_SIV).
Oct 8 2022, 2:11 PM · Documentation

Oct 2 2022

jukivili committed rC567bc62e1c30: tests: Avoid memory leak (authored by Jakuje).
tests: Avoid memory leak
Oct 2 2022, 4:02 PM
jukivili committed rC0909186b9e66: t-rsa-testparm: fix 'function declaration isn’t a prototype' warning (authored by jukivili).
t-rsa-testparm: fix 'function declaration isn’t a prototype' warning
Oct 2 2022, 4:02 PM
jukivili committed rC6419fbb1d3dd: tests/benchmark: remove VLA usage (authored by jukivili).
tests/benchmark: remove VLA usage
Oct 2 2022, 4:02 PM
jukivili committed rC335b8eb1211b: tests/bench-slope: remove VLA usage (authored by jukivili).
tests/bench-slope: remove VLA usage
Oct 2 2022, 4:02 PM
jukivili committed rCce60a68a1172: cipher-ccm: remove VLA usage (authored by jukivili).
cipher-ccm: remove VLA usage
Oct 2 2022, 4:02 PM
jukivili committed rC9978fc22045c: mpi/ec: remove VLA usage (authored by jukivili).
mpi/ec: remove VLA usage
Oct 2 2022, 4:02 PM
jukivili added a comment to T6217: sha3: wrong results for large inputs.

Patch applied to master, thanks.

Oct 2 2022, 3:55 PM · libgcrypt, FIPS, Bug Report