Re: [Aarch64] Optimize AES

2021-07-17 Thread Niels Möller
Maamoun TK writes: > I made this patch operate AES ciphering with fixed key sizes of 128-bit, > 192-bit, and 256-bit, in this case I eliminated the loading process of key > expansion for every round. Since this technique produces performance > benefits, I'm planning to keep the implementation as

Re: [S390x] Fat build support for AES and GHASH

2021-07-17 Thread Niels Möller
Maamoun TK writes: > I created a MR !31 > that adds > fat build support of AES and GHASH for S390x architecture. The MR's > description has a brief overview of the modifications done to add the fat > build support. Merged, thanks! I

Re: [S390x] Optimize GHASH

2021-07-17 Thread Niels Möller
Maamoun TK writes: > You are right, modern operating systems are supposed to have this > functionality but accessing some program's memory is pretty easy nowadays, > I think it's a good practice to clean behind the cipher functions for what > it makes sense and whenever possible. I think it's fu

Re: [Aarch64] Optimize AES

2021-07-17 Thread Maamoun TK
On Sat, Jul 17, 2021 at 1:46 PM Niels Möller wrote: > Maamoun TK writes: > > > It fits better to have one implementation per key size, I'll modify this > > patch to apply this approach. However, we need to merge the s390x branch > at > > first since it has a separate implementation for each key

Fwd: [S390x] Optimize GHASH

2021-07-17 Thread Maamoun TK
-- Forwarded message - From: Maamoun TK Date: Sat, Jul 17, 2021 at 2:00 PM Subject: Re: [S390x] Optimize GHASH To: Niels Möller On Sat, Jul 17, 2021 at 1:37 PM Niels Möller wrote: > Maamoun TK writes: > > In another topic, I've optimized the SHA-512 algorithm for arm64 > > ar