Re: [S390x] Optimize SHA1 with fat build support

2021-09-20 Thread Niels Möller
Maamoun TK writes: > I got almost 12% speedup of optimizing the sha3_permute() function using > the SHA hardware accelerator of s390x, is it worth adding that assembly > implementation? For such a small assembly function, I think it's worth the effort (more questionable if it was worth adding

Re: [S390x] Optimize SHA1 with fat build support

2021-09-19 Thread Maamoun TK
On Sun, Aug 29, 2021 at 5:52 PM Maamoun TK wrote: > Applying hardware-accelerated SHA3 instruction to optimize sha3_permute > function for s390x arch has an insignificant impact on the performance, I'm > wondering what we can do to take full advantage of those instructions. > Optimizing

Re: [S390x] Optimize SHA1 with fat build support

2021-08-29 Thread Maamoun TK
Applying hardware-accelerated SHA3 instruction to optimize sha3_permute function for s390x arch has an insignificant impact on the performance, I'm wondering what we can do to take full advantage of those instructions. Optimizing sha3_absorb seems a good way to go since the s390x-specific

Re: [S390x] Optimize SHA1 with fat build support

2021-08-29 Thread Maamoun TK
I added support for the sha1_compress_n function on arm architecture in the same branch https://git.lysator.liu.se/mamonet/nettle/-/tree/sha1-compress-n regards, Mamone On Sat, Aug 21, 2021 at 5:22 AM Maamoun TK wrote: > On Thu, Aug 19, 2021 at 8:48 AM Niels Möller wrote: > >> Maamoun TK

Re: [S390x] Optimize SHA1 with fat build support

2021-08-20 Thread Maamoun TK
On Thu, Aug 19, 2021 at 8:48 AM Niels Möller wrote: > Maamoun TK writes: > > > What is x86/sha1-compress.nlms? How can I implement nettle_copmress_n > > function for that particular type? > > That's an input file for an obscure "loop mixer" tool, IIRC, it was > written mainly by David Harvey

Re: [S390x] Optimize SHA1 with fat build support

2021-08-18 Thread Niels Möller
Maamoun TK writes: > What is x86/sha1-compress.nlms? How can I implement nettle_copmress_n > function for that particular type? That's an input file for an obscure "loop mixer" tool, IIRC, it was written mainly by David Harvey for use with GMP loops. This tool tries permuting the instructions

Re: [S390x] Optimize SHA1 with fat build support

2021-08-18 Thread Maamoun TK
What is x86/sha1-compress.nlms? How can I implement nettle_copmress_n function for that particular type? regards, Mamone On Sun, Aug 15, 2021 at 2:10 AM Maamoun TK wrote: > On Thu, Aug 12, 2021 at 4:26 PM Maamoun TK > wrote: > >> On Tue, Aug 10, 2021 at 11:55 PM Niels Möller >> wrote: >> >>>

Re: [S390x] Optimize SHA1 with fat build support

2021-08-14 Thread Maamoun TK
On Thu, Aug 12, 2021 at 4:26 PM Maamoun TK wrote: > On Tue, Aug 10, 2021 at 11:55 PM Niels Möller > wrote: > >> Maamoun TK writes: >> >> > I made a merge request in the main repository that optimizes SHA1 for >> s390x >> > architecture with fat build support !33 >> >

Re: [S390x] Optimize SHA1 with fat build support

2021-08-12 Thread Maamoun TK
On Tue, Aug 10, 2021 at 11:55 PM Niels Möller wrote: > Maamoun TK writes: > > > I made a merge request in the main repository that optimizes SHA1 for > s390x > > architecture with fat build support !33 > > . > > Regarding the

Re: [S390x] Optimize SHA1 with fat build support

2021-08-10 Thread Niels Möller
Maamoun TK writes: > I made a merge request in the main repository that optimizes SHA1 for s390x > architecture with fat build support !33 > . Regarding the discussion on

[S390x] Optimize SHA1 with fat build support

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