Hi,
I coded a high performance sha256 algorithm for ppc64le:
https://git.lysator.liu.se/gut/nettle/commit/a8facb03a69787a93c91b426f32a0be...
Tests were performed with different files and comparing it against the original C implementation by using the Ubuntu's 16.10 libnettle.so.6 by using the following code: https://gist.github.com/gut/9622d4535a9e3f9ea3b0ded2762d4b28
The results I got by using an ubuntu-16.10 iso as an input (around 700mb):
$ time ./sha256-test ~/ubuntu-16.10-server-ppc64el.iso d14bdb413ea6cdc8d9354fcbc37a834b7de0c23f992deb0c6764d0fd5d65408e
real 0m14.607s user 0m13.988s sys 0m0.616s $ export LD_LIBRARY_PATH=~/nettle # link with user and not system lib $ time ./sha256-test ~/ubuntu-16.10-server-ppc64el.iso d14bdb413ea6cdc8d9354fcbc37a834b7de0c23f992deb0c6764d0fd5d65408e
real 0m2.242s user 0m2.052s sys 0m0.188s
I also plan on doing the sha512 if I'm heading to the right direction.
Regards, Gustavo Serra Scalet
-----Original Message----- From: Nikos Mavrogiannopoulos [mailto:n.mavrogiannopoulos@gmail.com] Sent: terça-feira, 28 de fevereiro de 2017 06:07 To: Niels Möller nisse@lysator.liu.se Cc: Gustavo Serra Scalet gustavo.scalet@eldorado.org.br; nettle- bugs@lists.lysator.liu.se Subject: Re: Is the gitlab being used or not?
On Tue, Feb 28, 2017 at 7:48 AM, Niels Möller nisse@lysator.liu.se wrote:
Gustavo Serra Scalet gustavo.scalet@eldorado.org.br writes:
I noticed there is no merging/update activities on the gitlab
website:
https://git.lysator.liu.se/nettle/nettle/merge_requests?scope=all&sta te=all
I wonder if it's used.
It's used mainly for the plain git hosting. I rarely use the more advance features, and almost never access the web interface.
Would it be possible to disable then the merge request option in the gitlab interface? There are already 5 patches there.
Most likely you need to go to -> Edit project and disable the issue tracker and the merge commits for everyone (at least that's the process in the new gitlab).
The reason for asking is that I'm willing to integrate a ppc64le-specific implementation using SIMD registers for the SHA-2 algorithm so I would create an Issue to discuss it and then submitting the code as a Merge Request. But only if that's the way for upstreaming code on nettle. If not, please advise if this list can be used.
Discussion should take place on this list. You can mail patches here, or create a merge request on gitlab. But in the latter case, please send a note here too, otherwise it might be overlooked.
I attach a patch to document that process. I use CONTRIBUTION.md show it shows prominently on the gitlab interfaces.
regards, Nikos