Page MenuHome GnuPG
Feed Advanced Search

Jun 3 2022

dannytsen added a comment to T6006: Optimize Chacha20 and Poly1305 for PPC P10 LE.

Thanks @jukivili , Here is the changelog,

Jun 3 2022, 3:59 PM · patch, ppc, Feature Request, libgcrypt

Jun 2 2022

dannytsen added a comment to T6006: Optimize Chacha20 and Poly1305 for PPC P10 LE.

Thanks @jukivili. I have never thought of interleaving with interger poly1305 operation and that's a good suggestion. Will think about that one.

Jun 2 2022, 12:59 AM · patch, ppc, Feature Request, libgcrypt

Jun 1 2022

dannytsen added a comment to T6006: Optimize Chacha20 and Poly1305 for PPC P10 LE.

HI @jukivili , Thanks for the updates. For f14-f31 registers that was my mistake that did not think floating point will be used. Will correct that. For poly1305, it can be used on ARCH_3.0 so checking use_p10 doesn't seem to be necessary but I can include that as well.

Jun 1 2022, 4:14 PM · patch, ppc, Feature Request, libgcrypt

May 25 2022

dannytsen added a comment to T6006: Optimize Chacha20 and Poly1305 for PPC P10 LE.

Files affected:

configure.ac - Added chacha20 and poly1305 assembly implementations.
cipher/chacha20-p10le-8x.s (New) - support 8 blocks (512 bytes) unrolling.
cipher/poly1305-p10le.s (New) - support 4 blocks (128 bytes) unrolling.
cipher/Makefile.am - added new chacha20 and poly1305 files.
cipher/chacha20.c - Added PPC p10 le support for 8x chacha20.
cipher/poly1305.c - Added PPC p10 le support for 4x poly1305.
May 25 2022, 9:27 PM · patch, ppc, Feature Request, libgcrypt
dannytsen created T6006: Optimize Chacha20 and Poly1305 for PPC P10 LE.
May 25 2022, 9:24 PM · patch, ppc, Feature Request, libgcrypt

Apr 1 2022

dannytsen added a comment to T5913: libgcrypt: bug fix for PPC bulk AES-GCM acceleratieration, missing HWF_PPC_ARCH_3_10 in HW feature.

Hi Jussi, yes for some reason, it went missing, I was checking performance numbers and found out the line went missing. Thanks.

Apr 1 2022, 2:08 PM · ppc, libgcrypt

Mar 31 2022

dannytsen added a comment to T5913: libgcrypt: bug fix for PPC bulk AES-GCM acceleratieration, missing HWF_PPC_ARCH_3_10 in HW feature.

Added the HWF_PPC_ARCH_3_10 list in ppc_features[] in src/hwf-ppc.c.

Mar 31 2022, 9:55 PM · ppc, libgcrypt
dannytsen created T5913: libgcrypt: bug fix for PPC bulk AES-GCM acceleratieration, missing HWF_PPC_ARCH_3_10 in HW feature.
Mar 31 2022, 9:52 PM · ppc, libgcrypt

Dec 14 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Ok, I have subscribed to the mailing list. I have resent the DCO.

Dec 14 2021, 9:09 PM · patch, ppc, libgcrypt, Feature Request
dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Thanks Jussi, I did not receive the list moderator's email so I am not sure if the it has been posted on gcrypt-devel@gnupg.org. If not, I can resend the DCO. Thanks.

Dec 14 2021, 7:58 PM · patch, ppc, libgcrypt, Feature Request

Dec 13 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Hi Jussi,

Dec 13 2021, 7:54 PM · patch, ppc, libgcrypt, Feature Request

Dec 10 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Hi jukivili,

Dec 10 2021, 3:21 PM · patch, ppc, libgcrypt, Feature Request

Dec 7 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Hi jukivili,
I ran some basic tests and it did show the errors. I am in the process investigating what went wrong. In the meantime, i also included test result that I have used in my testing from bench-slope. In this test, I captured the message with 272 bytes buffer from the original libgcrypt repo and my optimized repo. Note that the bulk version of my code do 8x unrolling and the rest will do 16 bytes. So the first 2 128 bytes ran thru gcry_ppc_aes_gcm_encrypt and the rest of the 16 bytes thru gcm_ctr_encrypt (cipher-gcm.c).

Dec 7 2021, 5:36 PM · patch, ppc, libgcrypt, Feature Request

Dec 6 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Thanks jukivili for the review.

Dec 6 2021, 3:37 PM · patch, ppc, libgcrypt, Feature Request

Dec 2 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

I sent a copy to gcrypt-devel@gnupg.org. Hope this is the right process. Thanks.

Dec 2 2021, 5:47 PM · patch, ppc, libgcrypt, Feature Request

Nov 23 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Hi Werner, Here is the DCO. Thanks.

Nov 23 2021, 3:51 PM · patch, ppc, libgcrypt, Feature Request

Nov 19 2021

dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

Files added and changed.

Nov 19 2021, 9:02 PM · patch, ppc, libgcrypt, Feature Request
dannytsen added a comment to T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.

The implementation is for Power 10 and above. The improvement is as follow for AES128,

Nov 19 2021, 8:46 PM · patch, ppc, libgcrypt, Feature Request
dannytsen updated the task description for T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.
Nov 19 2021, 8:41 PM · patch, ppc, libgcrypt, Feature Request
dannytsen created T5700: libgcrypt: bulk AES-GCM acceleration for ppc64le.
Nov 19 2021, 8:40 PM · patch, ppc, libgcrypt, Feature Request