Page MenuHome GnuPG
Feed Advanced Search

Oct 15 2023

jukivili added a comment to T6637: PQC for Libgcrypt.

Few comments on the patches.

Oct 15 2023, 4:38 PM · PQC, libgcrypt

Sep 30 2023

jukivili committed rC325786acd445: blake2-avx512: merge some of the gather loads (authored by jukivili).
blake2-avx512: merge some of the gather loads
Sep 30 2023, 1:30 PM

Sep 15 2023

jukivili added a comment to T6561: OpenPGP benchmarks on Windows OCB vs. CFB + MDC vs. Unsigned vs. Signed on real data..

Just started wondering how much of this slow down is because of MingW libc not having very well optimized memcpy/memmove/memchr/strlen/etc. Is there profiling tools like 'perf' on Linux that could be used for Windows builds?

Sep 15 2023, 6:07 PM · gnupg

Aug 20 2023

jukivili committed rC59f14c1db37e: blake2b-avx512: replace VPGATHER with manual gather (authored by jukivili).
blake2b-avx512: replace VPGATHER with manual gather
Aug 20 2023, 8:59 PM
jukivili committed rCded3a1ec2ec6: twofish-avx2-amd64: replace VPGATHER with manual gather (authored by jukivili).
twofish-avx2-amd64: replace VPGATHER with manual gather
Aug 20 2023, 8:59 PM
jukivili committed rCf2bf9997d465: Avoid VPGATHER usage for most of Intel CPUs (authored by jukivili).
Avoid VPGATHER usage for most of Intel CPUs
Aug 20 2023, 8:59 PM

Jul 17 2023

jukivili committed rCa5f88f30ce61: hwf-x86: use CFI statements for 'is_cpuid_available' (authored by jukivili).
hwf-x86: use CFI statements for 'is_cpuid_available'
Jul 17 2023, 3:43 PM
jukivili committed rC35829d38d61f: configure: fix HAVE_GCC_ASM_CFI_DIRECTIVES check (authored by jukivili).
configure: fix HAVE_GCC_ASM_CFI_DIRECTIVES check
Jul 17 2023, 3:43 PM
jukivili committed rC4a42a042bcf6: Add VAES/AVX2 accelerated i386 implementation for AES (authored by jukivili).
Add VAES/AVX2 accelerated i386 implementation for AES
Jul 17 2023, 3:43 PM
jukivili committed rC13f288edd527: rijndael-vaes-avx2-amd64: avoid extra load in CFB & CBC IV handling (authored by jukivili).
rijndael-vaes-avx2-amd64: avoid extra load in CFB & CBC IV handling
Jul 17 2023, 3:43 PM
jukivili committed rC6b47e85d6515: rijndael-vaes-avx2-amd64: acceleration for OCB auth (authored by jukivili).
rijndael-vaes-avx2-amd64: acceleration for OCB auth
Jul 17 2023, 3:43 PM

Jul 13 2023

jukivili added a comment to T6561: OpenPGP benchmarks on Windows OCB vs. CFB + MDC vs. Unsigned vs. Signed on real data..

Problem with SHA-256 on x86-64 is that it took long time for Intel to introduce SHA acceleration (SHA1 & SHA256) to their main CPU products.

Jul 13 2023, 4:29 PM · gnupg

Jun 26 2023

jukivili committed rC794695ff45d6: keccak: add md_read support for SHAKE algorithms (authored by jukivili).
keccak: add md_read support for SHAKE algorithms
Jun 26 2023, 8:08 PM

Jun 4 2023

jukivili committed rCf490ffd739f7: addm/subm/mulm: fix case when destination is same MPI as divider (authored by jukivili).
addm/subm/mulm: fix case when destination is same MPI as divider
Jun 4 2023, 6:32 PM
jukivili committed rCbeeff8eda4a9: twofish-avx2: de-unroll round function (authored by jukivili).
twofish-avx2: de-unroll round function
Jun 4 2023, 6:32 PM
jukivili committed rCce95b6ec3554: serpent: add x86/AVX512 implementation (authored by jukivili).
serpent: add x86/AVX512 implementation
Jun 4 2023, 6:32 PM

Apr 25 2023

jukivili committed rCfdf2e8ba654a: mpi: optimize mpi_rshift and mpi_lshift to avoid extra MPI copying (authored by jukivili).
mpi: optimize mpi_rshift and mpi_lshift to avoid extra MPI copying
Apr 25 2023, 5:14 PM
jukivili committed rCad4ee8d52f71: mpi/amd64: optimize add_n and sub_n (authored by jukivili).
mpi/amd64: optimize add_n and sub_n
Apr 25 2023, 5:14 PM
jukivili committed rC8b09db4cce10: mpi: avoid MPI copy at gcry_mpi_sub (authored by jukivili).
mpi: avoid MPI copy at gcry_mpi_sub
Apr 25 2023, 5:14 PM
jukivili committed rC3e17e819a6a4: mpi/amd64: fix use of 'movd' for 64-bit register move in lshift&rshift (authored by jukivili).
mpi/amd64: fix use of 'movd' for 64-bit register move in lshift&rshift
Apr 25 2023, 5:14 PM
jukivili committed rCe90fbf6f8dac: bench-slope: add MPI benchmarking (authored by jukivili).
bench-slope: add MPI benchmarking
Apr 25 2023, 5:14 PM
jukivili committed rC5d18b401f8a7: cipher: restore weak-key error-code after mode specific setkey (authored by jukivili).
cipher: restore weak-key error-code after mode specific setkey
Apr 25 2023, 12:24 PM

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