jukivili (Jussi Kivilinna)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Mar 27 2017, 4:48 PM (141 w, 1 d)
Availability
Available

Recent Activity

Mon, Dec 9

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

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

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

Thu, Nov 28

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

Thu, Nov 21

jukivili committed rCe5c4cf0efb8f: gost28147: inline gost_val function to speed up code (authored by lumag).
gost28147: inline gost_val function to speed up code
Thu, Nov 21, 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
Thu, Nov 21, 5:45 PM
jukivili committed rC8f573a67d12e: gostr3411-94: small speedup (authored by lumag).
gostr3411-94: small speedup
Thu, Nov 21, 5:45 PM
jukivili committed rCd164a8e7f682: gost28147: simplify internal code (authored by lumag).
gost28147: simplify internal code
Thu, Nov 21, 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 added a commit to T4460: libgcrypt performance TODOs: rC4bebafb7bae8: Add stitched ChaCha20-Poly1305 ARMv8/AArch64 implementation.
Sep 26 2019, 9:08 PM · libgcrypt
jukivili added a task to rC4bebafb7bae8: Add stitched ChaCha20-Poly1305 ARMv8/AArch64 implementation: T4460: libgcrypt performance TODOs.
Sep 26 2019, 9:08 PM
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 added a commit to T4460: libgcrypt performance TODOs: rC0486b85bd1fb: Add PowerPC vpmsum implementation of CRC.
Sep 15 2019, 10:31 PM · libgcrypt
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 added a commit to T4460: libgcrypt performance TODOs: rC557702f0d53a: Add PowerPC vector implementation of ChaCha20.
Sep 15 2019, 10:31 PM · libgcrypt
jukivili added a commit to T4460: libgcrypt performance TODOs: rC0564757b934d: poly1305: add fast addition macro for ppc64.
Sep 15 2019, 10:31 PM · libgcrypt
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 added a commit to T4530: libgcrypt: POWER SHA-2 Vector Acceleration: rC93632f1adf57: Add SHA-512 implementations for POWER8 and POWER9.
Sep 3 2019, 9:34 PM · libgcrypt, Feature Request
jukivili added a commit to T4530: libgcrypt: POWER SHA-2 Vector Acceleration: rCe19dc973bc8e: Add SHA-256 implementations for POWER8 and POWER9.
Sep 3 2019, 9:34 PM · libgcrypt, Feature Request
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 added a commit to T4529: libgcrypt: POWER AES Vector Acceleration: rCbd1367bb6078: rijndael-ppc: add bulk mode for ocb_auth.
Aug 26 2019, 7:04 PM · libgcrypt, Feature Request
jukivili added a commit to T4529: libgcrypt: POWER AES Vector Acceleration: rC821602c60c7d: rijndael-ppc: enable PowerPC AES-OCB implemention.
Aug 26 2019, 7:04 PM · libgcrypt, Feature Request
jukivili added a commit to T4529: libgcrypt: POWER AES Vector Acceleration: rC81d555d34730: rijndael-ppc: add bulk modes for CBC, CFB, CTR and XTS.
Aug 26 2019, 7:04 PM · libgcrypt, Feature Request
jukivili added a commit to T4529: libgcrypt: POWER AES Vector Acceleration: rC9dca65ef71b4: rijndael-ppc: add key setup and enable single block PowerPC AES.
Aug 26 2019, 7:04 PM · libgcrypt, Feature Request
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
jukivili added a commit to T4529: libgcrypt: POWER AES Vector Acceleration: rC92f38a619b1c: rijndael/ppc: implement single-block mode, and implement OCB block cipher.
Aug 26 2019, 7:04 PM · libgcrypt, Feature Request
jukivili added a commit to T4529: libgcrypt: POWER AES Vector Acceleration: rCb4a3c76fabfa: hwf: add detection of PowerPC hardware features.
Aug 26 2019, 7:04 PM · libgcrypt, Feature Request

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 · Testing, 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
jukivili added a commit to T4541: C implementation of AES is vulnerable to side-channel attacks: rCa4c561aab101: GCM: move look-up table to .data section and unshare between processes.
Jun 6 2019, 6:28 PM · side-channel, libgcrypt, Bug Report
jukivili added a commit to T4541: C implementation of AES is vulnerable to side-channel attacks: rCdaedbbb5541c: AES: move look-up tables to .data section and unshare between processes.
Jun 6 2019, 6:28 PM · side-channel, libgcrypt, Bug Report

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 added a commit to T3247: SIGILL in prepare_macpads() at md.c:681: rCdad94696d9c4: md: fix UBSAN warning.
May 16 2019, 5:13 PM · clang, Ubuntu, libgcrypt, Bug Report
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
jukivili added a commit to T4499: Asan finding in libgcrypt: rCbe567cb5dd62: tests: do not use GCC variadic macro extension for xgcry_control.
May 16 2019, 5:13 PM · libgcrypt

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
jukivili added a comment to T4460: libgcrypt performance TODOs.

SPARC T4 has crypto instruction set for AES, GCM, SHA1, SHA256, SHA512, Camellia and DES, that can be used from user-space too.

May 7 2019, 8:14 PM · libgcrypt

May 6 2019

jukivili updated the task description for T4460: libgcrypt performance TODOs.
May 6 2019, 9:14 PM · libgcrypt