Open GoogleCodeExporter opened 8 years ago
Hi.
Years ago I wrote my assembly version of SHA1 using SSE2.
I attach the source code, I hope it helps.
Original comment by pyrit.lo...@gmail.com
on 9 Dec 2010 at 10:57
Attachments:
It would like to know, if there could be more performance by using SSSE3 PALIGNR
and "VIA PadLock" SHA functions
http://www.via.com.tw/en/initiatives/padlock/hardware.jsp#sha
Sadly I don't have VIA PadLock, but maybe someone can help us.
Original comment by wildeham...@gmail.com
on 14 Dec 2010 at 9:54
I don't see how PALIGNR would be of help.
VIA Padlock is implemented since September 2008.
Original comment by lukas.l...@gmail.com
on 15 Dec 2010 at 7:51
Sorry haven't seen that VIA Padlock is implemented
Intel uses PALIGNR to reduce some steps in SHA1.
http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure
-hash-algorithm-1/
I'll try to compile with Intels version and look if it works, and speeds up the
SHA1.
Original comment by wildeham...@gmail.com
on 15 Dec 2010 at 11:18
If you supply code, it needs to be GPL-v3 compatible. Please also take care
that Pyrit must compile and work on i386-, SSE2- and SSE3-compatible CPUs. If
SSE2 is available but SSE3 is not, the code must fall back to the original
implementation.
Original comment by lukas.l...@gmail.com
on 15 Dec 2010 at 11:26
taking a quick look at the intel implementation, afaics it uses a completely
different approach as we do. Our implementation does not have the problem the
article describe.
You are very welcome to benchmark it and see if it may provide better
performance, of course
Original comment by lukas.l...@gmail.com
on 16 Dec 2010 at 4:39
Original issue reported on code.google.com by
lukas.l...@gmail.com
on 31 Oct 2010 at 1:49Attachments: