Page MenuHome GnuPG
Feed Advanced Search

Feb 1 2020

jukivili added a comment to T4833: libgcrypt: bug in _gcry_poly1305_armv7_neon_init_ext.

Thanks for reporting this this. Your patch is correct.

Feb 1 2020, 4:54 PM · libgcrypt, Bug Report

Jan 22 2020

jukivili added a comment to D497: Set vZZ.16b register to zero before use in armv8 gcm implementation.

Patch have been applied to master, https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=79ed620ec46adbb08f5cea6a4865a95a436e4109

Jan 22 2020, 10:55 PM · libgcrypt
jukivili committed rC8b31091da092: sexp: fix cast from 'int' pointer to 'size_t' pointer (authored by jukivili).
sexp: fix cast from 'int' pointer to 'size_t' pointer
Jan 22 2020, 9:51 PM
jukivili committed rC5f098f7e6ceb: mpi/i386: fix DWARF CFI for _gcry_mpih_sub_n and _gcry_mpih_add_n (authored by jukivili).
mpi/i386: fix DWARF CFI for _gcry_mpih_sub_n and _gcry_mpih_add_n
Jan 22 2020, 9:51 PM
jukivili committed rC24b4d5c10a97: mpi: Add .note.gnu.property section for Intel CET (authored by H.J. Lu <hjl.tools@gmail.com>).
mpi: Add .note.gnu.property section for Intel CET
Jan 22 2020, 9:51 PM
jukivili committed rC22e577071790: amd64: Always include <config.h> in cipher assembly codes (authored by H.J. Lu <hjl.tools@gmail.com>).
amd64: Always include <config.h> in cipher assembly codes
Jan 22 2020, 9:51 PM
jukivili committed rCcb9f0a2df822: i386: Add _CET_ENDBR to indirect jump targets (authored by H.J. Lu <hjl.tools@gmail.com>).
i386: Add _CET_ENDBR to indirect jump targets
Jan 22 2020, 9:51 PM
jukivili committed rC4c88c2bd2a41: x86: Add .note.gnu.property section for Intel CET (authored by H.J. Lu <hjl.tools@gmail.com>).
x86: Add .note.gnu.property section for Intel CET
Jan 22 2020, 9:51 PM
jukivili committed rC8ebbd8545a20: Register DCO for H.J. Lu (authored by jukivili).
Register DCO for H.J. Lu
Jan 22 2020, 9:51 PM
jukivili committed rC4aa8ff904262: tests/basic: add vector cluttering to detect implementation bugs (authored by jukivili).
tests/basic: add vector cluttering to detect implementation bugs
Jan 22 2020, 9:51 PM
jukivili committed rC79ed620ec46a: Set vZZ.16b register to zero before use in armv8 gcm implementation (authored by Marvin W <git@larma.de>).
Set vZZ.16b register to zero before use in armv8 gcm implementation
Jan 22 2020, 9:51 PM

Jan 19 2020

jukivili committed rC7e3aac7ba49b: mpi: Fix error that point not uninitialized (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
mpi: Fix error that point not uninitialized
Jan 19 2020, 10:16 AM
jukivili committed rC5ebb2f0671c9: gcrypt.texi: fix GCRYCTL_GET_ALGO_NENCR typo (authored by jukivili).
gcrypt.texi: fix GCRYCTL_GET_ALGO_NENCR typo
Jan 19 2020, 10:16 AM
jukivili committed rC176a5f162acd: Update .gitignore (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
Update .gitignore
Jan 19 2020, 10:16 AM
jukivili committed rC43cfc1632dd3: ecc: Wrong flag and elements_enc fix. (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
ecc: Wrong flag and elements_enc fix.
Jan 19 2020, 10:16 AM
jukivili added a comment to D497: Set vZZ.16b register to zero before use in armv8 gcm implementation.

Thanks for bug fix. I've prepared patch and send it to mailing list https://lists.gnupg.org/pipermail/gcrypt-devel/2020-January/004885.html. Let me know if Reported-by is ok/enough. I would have liked to put you as author of commit, but this Differential interface of quite horrible and does not give all the needed information (mainly "name <email>" format for git).

Jan 19 2020, 9:50 AM · libgcrypt

Dec 25 2019

jukivili committed rC110077505aca: rijndael-ppc: performance improvements (authored by jukivili).
rijndael-ppc: performance improvements
Dec 25 2019, 9:51 PM
jukivili committed rC0837d7e6be3e: rijndael-ppc: fix bad register used for vector load/store assembly (authored by jukivili).
rijndael-ppc: fix bad register used for vector load/store assembly
Dec 25 2019, 9:51 PM
jukivili committed rC5b9ea3df0dc3: cipher: fix typo in error log (authored by jukivili).
cipher: fix typo in error log
Dec 25 2019, 9:51 PM

Dec 9 2019

jukivili added a comment to T4630: libgcrypt: POWER GHASH Vector Acceleration.

I've been wondering this also. I can start working on this.

Dec 9 2019, 5:50 PM · Feature Request, libgcrypt

Nov 28 2019

jukivili closed T4425: libgcrypt relocation error on aarch64 as Resolved.
Nov 28 2019, 4:15 PM · asm, libgcrypt, Bug Report

Nov 21 2019

jukivili committed rCe5c4cf0efb8f: gost28147: inline gost_val function to speed up code (authored by lumag).
gost28147: inline gost_val function to speed up code
Nov 21 2019, 5:45 PM
jukivili committed rCf9894240bed3: gost28147: do not use GOST28147_CONTEXT outside of GOST 28147 calculation (authored by lumag).
gost28147: do not use GOST28147_CONTEXT outside of GOST 28147 calculation
Nov 21 2019, 5:45 PM
jukivili committed rC8f573a67d12e: gostr3411-94: small speedup (authored by lumag).
gostr3411-94: small speedup
Nov 21 2019, 5:45 PM
jukivili committed rCd164a8e7f682: gost28147: simplify internal code (authored by lumag).
gost28147: simplify internal code
Nov 21 2019, 5:45 PM

Nov 8 2019

jukivili added a comment to T4630: libgcrypt: POWER GHASH Vector Acceleration.

Please note that C-based intrinsic implementation is the way to go now as that is the path chosen for PowerPC implementations in libgcrypt.

Nov 8 2019, 9:23 AM · Feature Request, libgcrypt

Nov 5 2019

jukivili committed rCbdbd032d1626: ec: fix left shift overflows on WIN64 build (authored by jukivili).
ec: fix left shift overflows on WIN64 build
Nov 5 2019, 9:11 PM
jukivili committed rC1322c6a5d1e9: mpi/amd64: use SSE2 for shifting instead of MMX (authored by jukivili).
mpi/amd64: use SSE2 for shifting instead of MMX
Nov 5 2019, 9:11 PM
jukivili committed rCb52dde860963: Add i386/SSSE3 implementation of SHA512 (authored by jukivili).
Add i386/SSSE3 implementation of SHA512
Nov 5 2019, 9:11 PM

Oct 16 2019

jukivili committed rC7e1383cfd43f: Fix building t-lock for WIN32 (authored by jukivili).
Fix building t-lock for WIN32
Oct 16 2019, 10:22 PM
jukivili committed rCf9d8b5a0369c: hash-common: avoid integer division to reduce call overhead (authored by jukivili).
hash-common: avoid integer division to reduce call overhead
Oct 16 2019, 10:22 PM

Sep 26 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 26 2019, 9:09 PM · libgcrypt
jukivili committed rC4bebafb7bae8: Add stitched ChaCha20-Poly1305 ARMv8/AArch64 implementation (authored by jukivili).
Add stitched ChaCha20-Poly1305 ARMv8/AArch64 implementation
Sep 26 2019, 8:24 PM
jukivili committed rC96b91e164160: Small tweak for PowerPC Chacha20-Poly1305 round loop (authored by jukivili).
Small tweak for PowerPC Chacha20-Poly1305 round loop
Sep 26 2019, 8:24 PM
jukivili committed rC664370ea02df: Reduce size of x86-64 stitched Chacha20-Poly1305 implementations (authored by jukivili).
Reduce size of x86-64 stitched Chacha20-Poly1305 implementations
Sep 26 2019, 8:23 PM

Sep 16 2019

jukivili committed rC5516072451d4: Add PowerPC extra CFLAGS also for chacha20-ppc and crc-ppc (authored by jukivili).
Add PowerPC extra CFLAGS also for chacha20-ppc and crc-ppc
Sep 16 2019, 7:10 PM

Sep 15 2019

jukivili committed rC0486b85bd1fb: Add PowerPC vpmsum implementation of CRC (authored by jukivili).
Add PowerPC vpmsum implementation of CRC
Sep 15 2019, 10:31 PM
jukivili committed rC557702f0d53a: Add PowerPC vector implementation of ChaCha20 (authored by jukivili).
Add PowerPC vector implementation of ChaCha20
Sep 15 2019, 10:31 PM
jukivili committed rC0564757b934d: poly1305: add fast addition macro for ppc64 (authored by jukivili).
poly1305: add fast addition macro for ppc64
Sep 15 2019, 10:31 PM
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 15 2019, 10:13 PM · libgcrypt
jukivili claimed T4460: libgcrypt performance TODOs.
Sep 15 2019, 10:13 PM · libgcrypt

Sep 6 2019

jukivili added a comment to T4460: libgcrypt performance TODOs.

Poly1305 addition helper for ppc64 posted on mailing list: https://lists.gnupg.org/pipermail/gcrypt-devel/2019-September/004804.html

Sep 6 2019, 9:50 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 6 2019, 9:49 PM · libgcrypt

Sep 3 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 3 2019, 9:57 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 3 2019, 9:57 PM · libgcrypt
jukivili updated the task description for T4460: libgcrypt performance TODOs.
Sep 3 2019, 9:56 PM · libgcrypt
jukivili added a subtask for T4531: PowerPC performance improvements: T4630: libgcrypt: POWER GHASH Vector Acceleration.
Sep 3 2019, 9:49 PM
jukivili added a parent task for T4630: libgcrypt: POWER GHASH Vector Acceleration: T4531: PowerPC performance improvements.
Sep 3 2019, 9:49 PM · Feature Request, libgcrypt
jukivili closed T4530: libgcrypt: POWER SHA-2 Vector Acceleration as Resolved.

PowerPC SHA-256 and SHA-512 implementations with little bit more tuning committed. Most notably, SHA-512 on POWER8 now gives similar performance to OpenSSL:

Sep 3 2019, 9:39 PM · libgcrypt, Feature Request
jukivili closed T4530: libgcrypt: POWER SHA-2 Vector Acceleration, a subtask of T4531: PowerPC performance improvements, as Resolved.
Sep 3 2019, 9:39 PM
jukivili committed rCe19dc973bc8e: Add SHA-256 implementations for POWER8 and POWER9 (authored by jukivili).
Add SHA-256 implementations for POWER8 and POWER9
Sep 3 2019, 9:34 PM
jukivili committed rC93632f1adf57: Add SHA-512 implementations for POWER8 and POWER9 (authored by jukivili).
Add SHA-512 implementations for POWER8 and POWER9
Sep 3 2019, 9:34 PM
jukivili committed rC418179593080: hwf-ppc: add detection for PowerISA 3.00 (authored by jukivili).
hwf-ppc: add detection for PowerISA 3.00
Sep 3 2019, 9:34 PM

Aug 31 2019

jukivili reassigned T4630: libgcrypt: POWER GHASH Vector Acceleration from jukivili to slandden.
Aug 31 2019, 11:13 AM · Feature Request, libgcrypt
jukivili added a comment to T4530: libgcrypt: POWER SHA-2 Vector Acceleration.

Patches send to mailing list:
https://lists.gnupg.org/pipermail/gcrypt-devel/2019-August/004800.html
https://lists.gnupg.org/pipermail/gcrypt-devel/2019-August/004799.html

Aug 31 2019, 2:07 AM · libgcrypt, Feature Request
jukivili closed T4529: libgcrypt: POWER AES Vector Acceleration, a subtask of T4531: PowerPC performance improvements, as Resolved.
Aug 31 2019, 1:38 AM
jukivili closed T4529: libgcrypt: POWER AES Vector Acceleration as Resolved.
Aug 31 2019, 1:38 AM · libgcrypt, Feature Request

Aug 26 2019

jukivili committed rC81d555d34730: rijndael-ppc: add bulk modes for CBC, CFB, CTR and XTS (authored by jukivili).
rijndael-ppc: add bulk modes for CBC, CFB, CTR and XTS
Aug 26 2019, 7:04 PM
jukivili committed rC821602c60c7d: rijndael-ppc: enable PowerPC AES-OCB implemention (authored by jukivili).
rijndael-ppc: enable PowerPC AES-OCB implemention
Aug 26 2019, 7:04 PM
jukivili committed rCbd1367bb6078: rijndael-ppc: add bulk mode for ocb_auth (authored by jukivili).
rijndael-ppc: add bulk mode for ocb_auth
Aug 26 2019, 7:04 PM
jukivili committed rC9dca65ef71b4: rijndael-ppc: add key setup and enable single block PowerPC AES (authored by jukivili).
rijndael-ppc: add key setup and enable single block PowerPC AES
Aug 26 2019, 7:04 PM
jukivili committed rC92f38a619b1c: rijndael/ppc: implement single-block mode, and implement OCB block cipher (authored by slandden).
rijndael/ppc: implement single-block mode, and implement OCB block cipher
Aug 26 2019, 7:04 PM
jukivili committed rCb4a3c76fabfa: hwf: add detection of PowerPC hardware features (authored by slandden).
hwf: add detection of PowerPC hardware features
Aug 26 2019, 7:04 PM
jukivili committed rCcc13336f6289: Register DCO for Shawn Landden (authored by jukivili).
Register DCO for Shawn Landden
Aug 26 2019, 7:04 PM

Aug 25 2019

jukivili claimed T4630: libgcrypt: POWER GHASH Vector Acceleration.

I'll start working on PowerPC GHASH implementation in September after SHA2 is done.

Aug 25 2019, 6:12 PM · Feature Request, libgcrypt
jukivili claimed T4530: libgcrypt: POWER SHA-2 Vector Acceleration.

I'll start working on new PowerPC SHA2 implementations for libgcrypt in coming weeks.

Aug 25 2019, 6:11 PM · libgcrypt, Feature Request
jukivili claimed T4529: libgcrypt: POWER AES Vector Acceleration.

Patches for PowerPC AES acceleration sent to mailing-list, based partly on initial work by Shawn Landden (@slandden): https://lists.gnupg.org/pipermail/gcrypt-devel/2019-August/004788.html

Aug 25 2019, 6:10 PM · libgcrypt, Feature Request

Jul 18 2019

jukivili committed rC320ed4796303: Fix use of AVX instruction in SHA1/SSSE3 assembly (authored by jukivili).
Fix use of AVX instruction in SHA1/SSSE3 assembly
Jul 18 2019, 7:57 PM

Jul 8 2019

jukivili added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.
In D494#4450, @slandden wrote:

I will leave these in the main file, as they might benefit from "static", and I do not want to rely on LTO for that.

Jul 8 2019, 9:21 PM
jukivili edited reviewers for D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher, added: jukivili; removed: jwilk.
Jul 8 2019, 4:02 PM
jukivili added a comment to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.

Thanks. I really like this Altivec intrinsic approach. I might reimplement rest of the bulk block cipher functions this way later (if I ever get PPC HW access).

Jul 8 2019, 4:02 PM
jukivili added a task to D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions.: T4530: libgcrypt: POWER SHA-2 Vector Acceleration.
Jul 8 2019, 2:57 PM
jukivili added a revision to T4530: libgcrypt: POWER SHA-2 Vector Acceleration: D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
Jul 8 2019, 2:57 PM · libgcrypt, Feature Request
jukivili added a revision to T4529: libgcrypt: POWER AES Vector Acceleration: D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions..
Jul 8 2019, 2:57 PM · libgcrypt, Feature Request
jukivili added a task to D490: PowerPC optimized routines for AES and SHA2 using PowerISA 2.07 instructions.: T4529: libgcrypt: POWER AES Vector Acceleration.
Jul 8 2019, 2:57 PM
jukivili added a task to D493: AES block modes for PPC: T4529: libgcrypt: POWER AES Vector Acceleration.
Jul 8 2019, 2:55 PM
jukivili added revisions to T4529: libgcrypt: POWER AES Vector Acceleration: D493: AES block modes for PPC, D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher.
Jul 8 2019, 2:55 PM · libgcrypt, Feature Request
jukivili added a task to D494: rijndael/ppc: re-implement single-block mode, and implement OCB block cipher: T4529: libgcrypt: POWER AES Vector Acceleration.
Jul 8 2019, 2:55 PM
jukivili added a parent task for T4531: PowerPC performance improvements: T4460: libgcrypt performance TODOs.
Jul 8 2019, 2:52 PM
jukivili added a subtask for T4460: libgcrypt performance TODOs: T4531: PowerPC performance improvements.
Jul 8 2019, 2:52 PM · libgcrypt

Jun 21 2019

jukivili added inline comments to rCa658c9ccc2c7: ecc: Improve new ECDH API..
Jun 21 2019, 10:09 AM

Jun 20 2019

jukivili added a comment to T4293: Add dedicated X25519 function to Libcgrypt .

Would it be good to have interface for getting buffer size for different algos in this new interface? ... Similar as 'gcry_md_get_algo_dlen' for digest results.

Jun 20 2019, 11:37 AM · Restricted Project, libgcrypt

Jun 8 2019

jukivili added a comment to D493: AES block modes for PPC.

Have you considered working on bulk CFB-decryption and OCB-enc/dec? Those are the block cipher modes used by GnuPG (OCB is new AEAD mode to be used starting with 2.3).

Jun 8 2019, 3:27 PM

Jun 6 2019

jukivili added a comment to D493: AES block modes for PPC.

I've added few new CTR test vectors to tests/basic.c for checking 32-bit and 64-bit carry overflow cases, rC971d372f512ff6805d5b8b54e9ac1446f3f66643

Jun 6 2019, 7:57 PM
jukivili committed rCa4c561aab101: GCM: move look-up table to .data section and unshare between processes (authored by jukivili).
GCM: move look-up table to .data section and unshare between processes
Jun 6 2019, 6:28 PM
jukivili committed rC971d372f512f: tests/basic: add CTR mode carry overflow test vectors (authored by jukivili).
tests/basic: add CTR mode carry overflow test vectors
Jun 6 2019, 6:28 PM
jukivili committed rCdaedbbb5541c: AES: move look-up tables to .data section and unshare between processes (authored by jukivili).
AES: move look-up tables to .data section and unshare between processes
Jun 6 2019, 6:28 PM

Jun 5 2019

jukivili added a comment to D493: AES block modes for PPC.

ECB is not bulk optimized in libgcrypt. I've send patches to add this in past but this was rejected on grounds that ECB is insecure and should not be used.

Jun 5 2019, 8:07 AM

May 24 2019

jukivili added a comment to D491: Support for PowerPC's AES acceleration..

Consider using tests/bench-slope to get cycles/byte results so they can be compared with https://github.com/dot-asm/cryptogams/blob/master/ppc/aesp8-ppc.pl#L34

May 24 2019, 8:44 AM

May 19 2019

jukivili committed rCc6ffa216976d: cipher/Makefile.am: add '-fcoverage-*' to instrumentation munging (authored by jukivili).
cipher/Makefile.am: add '-fcoverage-*' to instrumentation munging
May 19 2019, 1:41 PM

May 16 2019

jukivili committed rCdad94696d9c4: md: fix UBSAN warning (authored by jukivili).
md: fix UBSAN warning
May 16 2019, 5:13 PM
jukivili committed rC3c7ff6bd1c40: tests/basic: fix signed interger overflow (authored by jukivili).
tests/basic: fix signed interger overflow
May 16 2019, 5:13 PM
jukivili committed rCd24dae4538db: Disable instrumentation on mixed Intel SSE C/assembly implementations (authored by jukivili).
Disable instrumentation on mixed Intel SSE C/assembly implementations
May 16 2019, 5:13 PM
jukivili committed rCbe567cb5dd62: tests: do not use GCC variadic macro extension for xgcry_control (authored by jukivili).
tests: do not use GCC variadic macro extension for xgcry_control
May 16 2019, 5:13 PM

May 14 2019

jukivili added a comment to T4499: Asan finding in libgcrypt.

I've prepared patch for statically defining mpiutil contants, but I can leave it out and not push to master.

May 14 2019, 6:38 PM · libgcrypt

May 12 2019

jukivili added a comment to T4499: Asan finding in libgcrypt.

That type of variadic macro is GCC extension, see https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html

May 12 2019, 6:45 PM · libgcrypt

May 11 2019

jukivili added a comment to T4499: Asan finding in libgcrypt.

Maybe cleaner option for mpi/mpiutil.c would be to statically allocate the constants

May 11 2019, 1:27 PM · libgcrypt

May 10 2019

jukivili committed rC34e9306a66b4: tests/basic: mark CFB and CFB8 as stream block cipher modes (authored by jukivili).
tests/basic: mark CFB and CFB8 as stream block cipher modes
May 10 2019, 10:44 PM
jukivili committed rC15592cd52f54: Fix message digest final function for MD4, MD5 and RMD160 (authored by jukivili).
Fix message digest final function for MD4, MD5 and RMD160
May 10 2019, 10:44 PM

May 7 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
May 7 2019, 8:15 PM · libgcrypt