Page MenuHome GnuPG
Feed Advanced Search

Feb 6 2021

jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax as Resolved.

Problem with clang and these files was resolved by replacement of assembler macros with C preprocessor macros.

Feb 6 2021, 12:47 PM · asm, clang, libgcrypt
jukivili closed T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax, a subtask of T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO, as Resolved.
Feb 6 2021, 12:47 PM · asm, libgcrypt, clang, Bug Report

Feb 4 2021

jukivili added a comment to rC8716e4b2ada2: global: make sure that bulk config string is null-terminated.

The 'what != NULL' case is handled by the "Strip trailing LF" part at the end of function. These data strings always end with '\n', so null-termination gets done there.

Feb 4 2021, 4:44 PM

Feb 3 2021

jukivili committed rC24af2a55d862: sha256-avx2: fix reading beyond end of input buffer (authored by jukivili).
sha256-avx2: fix reading beyond end of input buffer
Feb 3 2021, 5:47 PM
jukivili committed rC8716e4b2ada2: global: make sure that bulk config string is null-terminated (authored by jukivili).
global: make sure that bulk config string is null-terminated
Feb 3 2021, 5:47 PM
jukivili committed rCa71b7de32b0c: Add handling for -Og with O-flag munging (authored by jukivili).
Add handling for -Og with O-flag munging
Feb 3 2021, 5:47 PM
jukivili committed rC289543544e41: ecc-ecdh: fix memory leak (authored by jukivili).
ecc-ecdh: fix memory leak
Feb 3 2021, 5:47 PM
jukivili committed rCf46a6bd9b3d7: tests: allow running 'make check' with ASAN (authored by jukivili).
tests: allow running 'make check' with ASAN
Feb 3 2021, 5:47 PM
jukivili committed rC6fc11291282a: jent: silence ubsan warning about signed overflow (authored by jukivili).
jent: silence ubsan warning about signed overflow
Feb 3 2021, 5:47 PM
jukivili committed rC364e9e9d1050: Fix ubsan warnings for i386 build (authored by jukivili).
Fix ubsan warnings for i386 build
Feb 3 2021, 5:47 PM
jukivili committed rCcb95fc53003e: md: clear bctx.count at final function (authored by jukivili).
md: clear bctx.count at final function
Feb 3 2021, 5:47 PM
jukivili committed rCaf23ab5c5482: Fix building with --disable-asm on x86 (authored by jukivili).
Fix building with --disable-asm on x86
Feb 3 2021, 5:47 PM

Jan 31 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does it build if configure with parameter 'ac_cv_sys_symbol_underscore=yes'? <path-to-libgcrypt-source>/configure ac_cv_sys_symbol_underscore=yes --host=aarch64-apple-darwin ...

Jan 31 2021, 7:32 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 29 2021

jukivili added a comment to T5277: libgcrypt 1.9.1 fails to build with --disable-asm.

Thanks for your report.

Jan 29 2021, 5:22 PM · MacOS, libgcrypt, Bug Report
jukivili committed rC512c0c752769: hash-common: fix heap overflow when writing more data after final (authored by jukivili).
hash-common: fix heap overflow when writing more data after final
Jan 29 2021, 8:48 AM

Jan 28 2021

jukivili added a comment to T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial.

Patch for this bug is available here, "attachment-0001.bin": https://lists.gnupg.org/pipermail/gcrypt-devel/2021-January/005079.html

Jan 28 2021, 7:50 PM · Ubuntu, Bug Report, libgcrypt
jukivili added a comment to T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial.

I tested xenial with gcc-5.3 (xenial distro repo) and gcc-5.4 (xenial-updates distro repo) and libgcrypt 1.9.0 from git repo and from tarball. I did not get any errors.

Jan 28 2021, 7:56 AM · Ubuntu, Bug Report, libgcrypt

Jan 27 2021

jukivili committed rC014fed515364: asm-common-aarch64: add MacOS support for GET_DATA_POINTER (authored by jukivili).
asm-common-aarch64: add MacOS support for GET_DATA_POINTER
Jan 27 2021, 5:45 PM

Jan 26 2021

jukivili committed rC17aad639d29c: cipher-proto: remove forward typedef of cipher_bulk_ops_t (authored by jukivili).
cipher-proto: remove forward typedef of cipher_bulk_ops_t
Jan 26 2021, 6:54 PM
jukivili committed rC3d095206c30d: global: fix compile error at pragma GCC diagnostic (authored by jukivili).
global: fix compile error at pragma GCC diagnostic
Jan 26 2021, 6:54 PM
jukivili committed rC1e72c50f864a: cipher/sha512: Fix non-NEON ARM assembly implementation (authored by David Michael <fedora.dm0@gmail.com>).
cipher/sha512: Fix non-NEON ARM assembly implementation
Jan 26 2021, 6:54 PM
jukivili committed rCb2f78ae034b8: blake2: fix RIP register access for AVX/AVX2 implementations (authored by jukivili).
blake2: fix RIP register access for AVX/AVX2 implementations
Jan 26 2021, 6:54 PM
jukivili committed rC9f49e806f950: sha512/sha256: remove assembler macros from AMD64 implementations (authored by jukivili).
sha512/sha256: remove assembler macros from AMD64 implementations
Jan 26 2021, 6:54 PM
jukivili committed rC393bd6c3d1aa: configure.ac: run assembler checks through linker for better LTO support (authored by jukivili).
configure.ac: run assembler checks through linker for better LTO support
Jan 26 2021, 6:54 PM
jukivili committed rC8d404a629167: Define HW-feature flags per architecture (authored by jukivili).
Define HW-feature flags per architecture
Jan 26 2021, 6:54 PM
jukivili committed rCa14447f8169a: rijndael: remove unused use_xxx flags (authored by jukivili).
rijndael: remove unused use_xxx flags
Jan 26 2021, 6:54 PM
jukivili committed rC3b34bd6e1786: Add configure option to force enable 'soft' HW feature bits (authored by jukivili).
Add configure option to force enable 'soft' HW feature bits
Jan 26 2021, 6:54 PM
jukivili added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.

I tested building on Ubuntu 8.04 (gcc-4.2) and got same error about cipher_bulk_ops_t. Applying patch fixed that problem.

Jan 26 2021, 6:48 PM · libgcrypt, Bug Report
jukivili added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.

Thanks for testing. However, I do not believe patch has been correctly applied.

Jan 26 2021, 6:13 PM · libgcrypt, Bug Report

Jan 25 2021

jukivili added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.

Here's patch to try out:

Jan 25 2021, 8:27 PM · libgcrypt, Bug Report
jukivili added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.

In "src/cipher-proto.h", try removing typedef and leaving just forward declaration of structure.

Jan 25 2021, 11:47 AM · libgcrypt, Bug Report

Jan 24 2021

jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Does attached patch help?

Jan 24 2021, 3:49 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 23 2021

jukivili added a comment to T5263: cipher/sha512.c: build failure without arm neon asm.

Thanks for the report. As you noticed, issue had been reported already.

Jan 23 2021, 4:56 PM · libgcrypt, Bug Report
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

That might be helpful. But, on the other hand, if I had just googled the problem I was seeing I would have gotten answer quite fast.

Jan 23 2021, 4:51 PM · asm, libgcrypt, clang, Bug Report
jukivili added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Problem is in GET_DATA_POINTER macro. MacOS assembler expects data references in some different format than Linux. Could you try following edit and see if libgcrypt then compiles? In cipher/asm-common-aarch64.h, there is definition of GET_DATA_POINTER macro:

#ifdef _WIN32
#define GET_DATA_POINTER(reg, name) \
	adrp    reg, name ; \
	add     reg, reg, #:lo12:name ;
#else
#define GET_DATA_POINTER(reg, name) \
	adrp    reg, :got:name ; \
	ldr     reg, [reg, #:got_lo12:name] ;
#endif
Jan 23 2021, 4:49 PM · toolchain, MacOS, libgcrypt, Bug Report

Jan 22 2021

jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Problem was that my build system was selecting "ar" and "ranlib", where as your build system selects "llvm-ar" and "llvm-ranlib".

Jan 22 2021, 5:33 PM · asm, libgcrypt, clang, Bug Report

Jan 21 2021

jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Configure output has still has some differences LTO vs non-LTO:

--- non-lto.log 2021-01-21 22:25:14.966099577 +0200
+++ lto.log     2021-01-21 22:25:23.174086100 +0200
@@ -63,7 +63,7 @@
 checking for archiver @FILE support... @
 checking for strip... strip
 checking for ranlib... ranlib
-checking command to parse /usr/bin/nm -B output from clang object... ok
+checking command to parse /usr/bin/nm -B output from clang object... failed
 checking for sysroot... no
 checking for mt... mt
 checking if mt is a manifest tool... no
@@ -75,7 +75,7 @@
 checking if clang static flag -static works... yes
 checking if clang supports -c -o file.o... yes
 checking if clang supports -c -o file.o... (cached) yes
-checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
+checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking how to hardcode library paths into programs... immediate
@@ -168,8 +168,8 @@
 checking whether 'asm' assembler keyword is supported... yes
 checking whether '__asm__' assembler keyword is supported... yes
 checking whether inline assembly memory barrier is supported... yes
-checking whether GCC assembler is compatible for ARM assembly implementations... no
-checking whether GCC assembler is compatible for ARMv8/Aarch64 assembly implementations... no
+checking whether GCC assembler is compatible for ARM assembly implementations... yes
+checking whether GCC assembler is compatible for ARMv8/Aarch64 assembly implementations... yes
 checking whether GCC assembler supports for CFI directives... yes
 checking whether GCC assembler supports for ELF directives... yes
 checking for _ prefix in compiled symbols... no
@@ -240,7 +240,7 @@
 checking if gcc supports -Wno-missing-field-initializers... yes
 checking if gcc supports -Wpointer-arith... yes
 checking whether non excutable stack support is requested... yes
-checking whether assembler supports --noexecstack option... yes
+checking whether assembler supports --noexecstack option... no
 checking that generated files are newer than configure... done
 configure: creating ./config.status
 config.status: creating Makefile
Jan 21 2021, 9:27 PM · asm, libgcrypt, clang, Bug Report
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Clang support Intel syntax after all, but not assembler macros that were used. Here's two patches that fix the configure.ac issue and removes use of assembly macros in Intel syntax assembly files:

Jan 21 2021, 9:23 PM · asm, libgcrypt, clang, Bug Report

Jan 20 2021

jukivili committed rC00df9f27181d: Split inline assembly blocks with many memory operands (authored by jukivili).
Split inline assembly blocks with many memory operands
Jan 20 2021, 9:37 PM
jukivili committed rC81354e911bfa: tests/basic: fix build on ARM32 when NEON disabled (authored by jukivili).
tests/basic: fix build on ARM32 when NEON disabled
Jan 20 2021, 9:37 PM
jukivili committed rC097148bc89ec: kdf: make self-test test-vector array read-only (authored by jukivili).
kdf: make self-test test-vector array read-only
Jan 20 2021, 9:37 PM
jukivili committed rCc6425a553729: kdf: add missing null-terminator for self-test test-vector array (authored by jukivili).
kdf: add missing null-terminator for self-test test-vector array
Jan 20 2021, 9:37 PM
jukivili committed rC807827cda3ba: cipher/bithelp: use __builtin_ctzl when available (authored by jukivili).
cipher/bithelp: use __builtin_ctzl when available
Jan 20 2021, 9:37 PM
jukivili committed rC477355047e5c: mpi/longlong: make use of compiler provided __builtin_ctz/__builtin_clz (authored by jukivili).
mpi/longlong: make use of compiler provided __builtin_ctz/__builtin_clz
Jan 20 2021, 9:37 PM
jukivili closed T5196: libgcrypt: s390x/zSeries performance improvements, a subtask of T4460: libgcrypt performance TODOs, as Resolved.
Jan 20 2021, 9:31 PM · libgcrypt
jukivili closed T5196: libgcrypt: s390x/zSeries performance improvements as Resolved.
Jan 20 2021, 9:31 PM · libgcrypt
jukivili closed T5197: libgcrypt: s390x/zSeries AES acceleration as Resolved.

Merged to master.

Jan 20 2021, 9:31 PM · libgcrypt
jukivili closed T5197: libgcrypt: s390x/zSeries AES acceleration, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:31 PM · libgcrypt
jukivili closed T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration as Resolved.

Merged to master.

Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5199: libgcrypt: s390x/zSeries GHASH/AES-GCM acceleration as Resolved.

Merged to master.

Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5199: libgcrypt: s390x/zSeries GHASH/AES-GCM acceleration, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5200: libgcrypt: s390x/zSeries SHA3 acceleration, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5200: libgcrypt: s390x/zSeries SHA3 acceleration as Resolved.

Merged to master.

Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20 as Resolved.

Merged to master.

Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD as Resolved.

Merged to master.

Jan 20 2021, 9:30 PM · libgcrypt
jukivili closed T5203: libgcrypt: s390x/zSeries SHA1 acceleration, a subtask of T5196: libgcrypt: s390x/zSeries performance improvements, as Resolved.
Jan 20 2021, 9:29 PM · libgcrypt
jukivili closed T5203: libgcrypt: s390x/zSeries SHA1 acceleration as Resolved.

Merged to master.

Jan 20 2021, 9:29 PM · libgcrypt
jukivili committed rC92fe807aeb7e: Merge remote-tracking branch 'origin/cipher-s390x-optimizations' into master (authored by jukivili).
Merge remote-tracking branch 'origin/cipher-s390x-optimizations' into master
Jan 20 2021, 9:04 PM
jukivili added a comment to T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0.

Jan 20 2021, 4:16 PM · Bug Report, Cross-Compiler, libgcrypt
jukivili added a comment to T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0.

Thanks for report. I reproduced this by building i386 with optimizations disabled "-O0" (gcc 10). With normal optimization level such as "-O2", the issue does not appear.

Jan 20 2021, 3:47 PM · Bug Report, Cross-Compiler, libgcrypt
jukivili edited parent tasks for T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax, added: T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO; removed: T5251: Compile error on ARMv7 for libgcrypt .
Jan 20 2021, 1:24 PM · asm, clang, libgcrypt
jukivili removed a subtask for T5251: Compile error on ARMv7 for libgcrypt : T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax.
Jan 20 2021, 1:24 PM · asm, libgcrypt, Bug Report
jukivili added a subtask for T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO: T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax.
Jan 20 2021, 1:24 PM · asm, libgcrypt, clang, Bug Report
jukivili added a subtask for T5251: Compile error on ARMv7 for libgcrypt : T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax.
Jan 20 2021, 1:22 PM · asm, libgcrypt, Bug Report
jukivili added a parent task for T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax: T5251: Compile error on ARMv7 for libgcrypt .
Jan 20 2021, 1:22 PM · asm, clang, libgcrypt
jukivili created T5256: libgcrypt, convert Intel syntax x86_64 assembly files to AT&T syntax in the S1 Public space.
Jan 20 2021, 1:21 PM · asm, clang, libgcrypt
jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Breakage appears to happen in configure.ac. When building with clang without LTO following check gives "no":

Jan 20 2021, 1:14 PM · asm, libgcrypt, clang, Bug Report

Jan 19 2021

jukivili added a comment to T5255: libgcrypt: build "error: invalid operand for instruction" when compiling with Clang & LTO.

Yes, clang + LTO is broken. Maybe there is issue in clang bug tracker for this already?

Jan 19 2021, 11:08 PM · asm, libgcrypt, clang, Bug Report
jukivili added a comment to T5254: libgcrypt 1.9.0 fails make check (selftest).

Maybe this patch helps:

Jan 19 2021, 11:05 PM · patch, libgcrypt, Bug Report
jukivili added a comment to T5251: Compile error on ARMv7 for libgcrypt .

Thanks for you report.

Jan 19 2021, 7:53 PM · asm, libgcrypt, Bug Report

Jan 16 2021

jukivili committed rC1f75681cbba8: Add s390x/zSeries implementation of Poly1305 (authored by jukivili).
Add s390x/zSeries implementation of Poly1305
Jan 16 2021, 7:06 PM
jukivili committed rC6a0bb9ab7f88: Add s390x/zSeries implementation of ChaCha20 (authored by jukivili).
Add s390x/zSeries implementation of ChaCha20
Jan 16 2021, 7:06 PM
jukivili committed rC1d13794780e3: hwf-s390x: add VX vector instruction set detection (authored by jukivili).
hwf-s390x: add VX vector instruction set detection
Jan 16 2021, 7:06 PM
jukivili committed rC0252cc9b62df: mpi/longlong: add s390x/zSeries macros (authored by jukivili).
mpi/longlong: add s390x/zSeries macros
Jan 16 2021, 7:06 PM

Jan 7 2021

jukivili added a comment to T5195: Incorrect HWCAP2 check for AArch32.

Yes, bug is also in 1.8 branch.

Jan 7 2021, 11:00 PM · libgcrypt, backport, Bug Report

Dec 30 2020

jukivili added a comment to T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20.

Reimplemented 8 block parallel in "vertical" orientation.

Dec 30 2020, 12:29 PM · libgcrypt
jukivili added a comment to T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD.

With little extra effort, stitched implementation turned out ok after all.

Dec 30 2020, 12:28 PM · libgcrypt
jukivili renamed T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD from libgcrypt: s390x/zSeries 128-bit vector implementation of Poly1305 to libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD.
Dec 30 2020, 12:24 PM · libgcrypt

Dec 28 2020

jukivili committed rC6b6bfd57d0a6: hwf-arm: fix incorrect HWCAP2 for SHA1 and SHA2 on AArch32 (authored by jukivili).
hwf-arm: fix incorrect HWCAP2 for SHA1 and SHA2 on AArch32
Dec 28 2020, 5:49 PM
jukivili committed rCe47f04b4a289: Add missing prototype for _gcry_mac_selftest (authored by jukivili).
Add missing prototype for _gcry_mac_selftest
Dec 28 2020, 5:49 PM

Dec 22 2020

jukivili added a comment to T5200: libgcrypt: s390x/zSeries SHA3 acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=7532e27cacb74c92fd561524a0897163b0fcd7f4

Dec 22 2020, 9:03 PM · libgcrypt
jukivili added a comment to T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration.

Applied to s390x optimizations feature branch:
SHA256: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=0b555c3cc7c2b80ec2628685946a6139a1996911
SHA512: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=45f0ec0c4e3b08627cbf7e65f5f110c321710d01

Dec 22 2020, 9:02 PM · libgcrypt
jukivili added a comment to T5203: libgcrypt: s390x/zSeries SHA1 acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=88570515b4ca92a44c4e40c31f877c11cc00ab68

Dec 22 2020, 9:02 PM · libgcrypt
jukivili added a comment to T5199: libgcrypt: s390x/zSeries GHASH/AES-GCM acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=5aeb091f911398217b2e9facb9bdeb05c63d7844

Dec 22 2020, 9:01 PM · libgcrypt
jukivili added a comment to T5197: libgcrypt: s390x/zSeries AES acceleration.

Applied to s390x optimizations feature branch:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=9219d9d1b60c01a4c7dbde05ee6b5b52e0d7d072

Dec 22 2020, 9:00 PM · libgcrypt
jukivili added a comment to T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD.

Implemented stitched ChaCha20-Poly1305 (vector ChaCha20 & ALU Poly1305). Unfortunately performance is less than OpenSSL (vector ChaCha20 & vector Poly1305). Instruction latencies make Poly1305 slower than combined OpenSSL ChaCha20+Poly1305, thus it is not possible to reach same performance with stitching. Vector Poly1305 implementation is therefore needed.

Dec 22 2020, 9:24 AM · libgcrypt
jukivili added a comment to T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20.

Currently have 8 block parallel implementation done. Need to check if 6 block parallel approach is better (as used in OpenSSL - benefit being less register pressure and less moving of data between registers and stack).

Dec 22 2020, 9:20 AM · libgcrypt
jukivili renamed T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration from libgcrypt: s390x/zSeries SHA1/SHA256/SHA512 acceleration to libgcrypt: s390x/zSeries SHA256/SHA512 acceleration.
Dec 22 2020, 9:14 AM · libgcrypt
jukivili created T5203: libgcrypt: s390x/zSeries SHA1 acceleration in the S1 Public space.
Dec 22 2020, 9:14 AM · libgcrypt
jukivili created T5202: libgcrypt: s390x/zSeries implementation of Poly1305 / ChaCha20-Poly1305 AEAD in the S1 Public space.
Dec 22 2020, 9:04 AM · libgcrypt
jukivili created T5201: libgcrypt: s390x/zSeries 128-bit vector implementation of ChaCha20 in the S1 Public space.
Dec 22 2020, 9:03 AM · libgcrypt
jukivili created T5200: libgcrypt: s390x/zSeries SHA3 acceleration in the S1 Public space.
Dec 22 2020, 9:00 AM · libgcrypt
jukivili renamed T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration from libgcrypt: s380x/zSeries SHA1/SHA256/SHA512 acceleration to libgcrypt: s390x/zSeries SHA1/SHA256/SHA512 acceleration.
Dec 22 2020, 8:59 AM · libgcrypt
jukivili created T5199: libgcrypt: s390x/zSeries GHASH/AES-GCM acceleration in the S1 Public space.
Dec 22 2020, 8:59 AM · libgcrypt
jukivili created T5198: libgcrypt: s390x/zSeries SHA256/SHA512 acceleration in the S1 Public space.
Dec 22 2020, 8:58 AM · libgcrypt
jukivili created T5197: libgcrypt: s390x/zSeries AES acceleration in the S1 Public space.
Dec 22 2020, 8:56 AM · libgcrypt
jukivili added a parent task for T5196: libgcrypt: s390x/zSeries performance improvements: T4460: libgcrypt performance TODOs.
Dec 22 2020, 8:53 AM · libgcrypt