Re: NSS algorithm performance

2014-03-05 Thread Douglas Stebila
On Mar 5, 2014, at 9:54 AM, Julien Pierre julien.pie...@oracle.com wrote:

 Did anyone ever write a script that measures the performance of all the 
 low-level algorithms in freebl, and collects the data in a way that's easy to 
 compare ? This would probably be using bltest.
 This is for the purpose of evaluating different compilers/optimization 
 options.
 If so, sharing would be much appreciated.

I don't have any scripts for all the freebl algorithms.  Do note that there are 
some scripts specifically for elliptic curve functions, see 
lib/freebl/ecl/tests/ecp_test and ec2_test with the --time option.

Douglas
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: NSS algorithm performance

2014-03-05 Thread Robert Relyea
On 03/04/2014 03:54 PM, Julien Pierre wrote:
 Did anyone ever write a script that measures the performance of all
 the low-level algorithms in freebl, and collects the data in a way
 that's easy to compare ? This would probably be using bltest.
 This is for the purpose of evaluating different compilers/optimization
 options.
 If so, sharing would be much appreciated.

Nelson did. They are under the nss/tests/ciphers. It uses bltest. I
believe it was turned off because bltest couldn't handle the corner case
of leading zeros in RSA operations, which lead to periodic failures of
the tests, but you can still run performance.sh yourself. I used it to
test the performance of the AES-NI code when it was added.

bob



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

NSS algorithm performance

2014-03-04 Thread Julien Pierre
Did anyone ever write a script that measures the performance of all the 
low-level algorithms in freebl, and collects the data in a way that's 
easy to compare ? This would probably be using bltest.
This is for the purpose of evaluating different compilers/optimization 
options.

If so, sharing would be much appreciated.

--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto