In the context of BN optimization on SPARC T4 I've just committed
http://cvs.openssl.org/chngview?cn=22917. It is *not* a replacement for
suggested code, but merely a *complement*. It's prime application is T3
and corner cases on T4.
It's a bit faster on T4 for RSA512 sign. This presumably means that
montmul/sqr potential is underutilized. Therefore question.
Secondarily, since we can end up having to retry (deep window spill on
32-bit and register ECC errors on 32-bit and 64-bit)
I'm thinking about letting be the check after *every* montsqr, issuing
multiple montsqr back to back and only then check for retry condition.
One can do it only for inputs shorter than specific length. What do you
think?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]