padlock sha in openssl

2009-07-12 Thread Timo Teräs
Hi all, It looks like the sha support for openssl has been left without much follow up. I noticed that there is a oneshot mode in openssl libraries, so for my immediate purposes I modified the patch by Michal to work only with oneshot hashing. You can download the patch from: http://dev.alpinel

Re: padlock sha in openssl

2009-07-13 Thread Timo Teräs
Timo Teräs wrote: You can download the patch from: http://dev.alpinelinux.org/cgit/aports/plain/core/openssl/openssl-0.9.8k-padlock-oneshot-sha.patch I have updated the patch to do the trick involving protected page and handing sigsegv. New patch at: http://dev.alpinelinux.org/cgit/aports

BN/montgomery assembly optimizations

2009-08-05 Thread Timo Teräs
Hi, I'm looking at openssl-1.0.0-beta3 and openssl-0.9.8k backport of the montasm stuff. It looks like the VIA Padlock stuff has been implemented, but it is never used as the via-mont.pl is not run by any make target. Or am I missing something? Also, I'm interested if the code autodetects the C

Re: BN/montgomery assembly optimizations

2009-08-05 Thread Timo Teräs
Timo Teräs wrote: I'm looking at openssl-1.0.0-beta3 and openssl-0.9.8k backport of the montasm stuff. It looks like the VIA Padlock stuff has been implemented, but it is never used as the via-mont.pl is not run by any make target. Or am I missing something? Ok. It's definitely not