boringssl/crypto/fipsmodule/bn
David Benjamin b9940a649a bn/asm/armv4-mont.pl: boost NEON performance.
Close difference gap on Cortex-A9, which resulted in further improvement
even on other processors.

(Imported from upstream's 8eed3289b21d25583ed44742db43a2d727b79643.)

Performance numbers on a Nexus 5X in AArch32 mode:

$ ./bssl.old speed -filter RSA -timeout 5
Did 355 RSA 2048 signing operations in 5009578us (70.9 ops/sec)
Did 20577 RSA 2048 verify operations in 5079000us (4051.4 ops/sec)
Did 66 RSA 4096 signing operations in 5057941us (13.0 ops/sec)
Did 5564 RSA 4096 verify operations in 5086902us (1093.8 ops/sec)

$ ./bssl speed -filter RSA -timeout 5
Did 411 RSA 2048 signing operations in 5010206us (82.0 ops/sec)
Did 27720 RSA 2048 verify operations in 5048114us (5491.2 ops/sec)
Did 86 RSA 4096 signing operations in 5056160us (17.0 ops/sec)
Did 8216 RSA 4096 verify operations in 5048719us (1627.3 ops/sec)

Change-Id: I8c5be9ff9405ec1796dcf4cfe7df8a89e5a50ce5
Reviewed-on: https://boringssl-review.googlesource.com/17109
Reviewed-by: Adam Langley <agl@google.com>
2017-06-13 17:46:41 +00:00
..
asm bn/asm/armv4-mont.pl: boost NEON performance. 2017-06-13 17:46:41 +00:00
add.c
bn_test.cc Convert bn_test to GTest. 2017-06-05 21:45:07 +00:00
bn_tests.txt
bn.c
bytes.c
check_bn_tests.go
cmp.c
ctx.c
div.c
exponentiation.c
gcd.c
generic.c
internal.h
jacobi.c
montgomery_inv.c
montgomery.c
mul.c
prime.c
random.c Switch BN_generate_dsa_nonce's hash back to SHA-512/256. 2017-05-08 22:00:48 +00:00
rsaz_exp.c
rsaz_exp.h
shift.c
sqrt.c