[AArch64] Optimize AES with fat build support

2021-07-30 Thread Maamoun TK
I made a merge request in the main repository that optimizes AES for arm64 architecture with fat build support !34 . regards, Mamone ___ nettle-bugs mailing list

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

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: [Aarch64] Optimize AES

2021-07-14 Thread Maamoun TK
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 is and in case handling

[Aarch64] Optimize AES

2021-05-01 Thread Maamoun TK
This patch optimizes nettle_aes_encrypt() and nettle_aes_decrypt() functions for arm64 architecture, it takes advantage of 'aese' and 'aesmc' instructions to optimize the encryption function and 'aesd' and 'aesimc' to optimize the decryption function. The patch passes the testsuite of nettle. I