diff options
author | Adam Langley <agl@google.com> | 2015-11-18 02:41:34 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-11-19 03:20:38 +0300 |
commit | b1b6229fc825be66c8599c051c4e0f196c1a87e1 (patch) | |
tree | 79798aaa94f12101ce459708c25ee0acec22fdd7 /util | |
parent | 9e65d487b8b907a3ddb84f736b89e0a8f95abce3 (diff) |
Add NEON implementation of curve25519.
Nexus 7 goes from 1002.8 ops/sec to 4704.8 at a cost of 10KB of code.
(It'll actually save code if built with -mfpu=neon because then the
generic version can be discarded by the compiler.)
Change-Id: Ia6d02efb2c2d1bb02a07eb56ec4ca3b0dba99382
Reviewed-on: https://boringssl-review.googlesource.com/6524
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/generate_build_files.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/generate_build_files.py b/util/generate_build_files.py index 856960e4..288fe0e9 100644 --- a/util/generate_build_files.py +++ b/util/generate_build_files.py @@ -39,9 +39,10 @@ OS_ARCH_COMBOS = [ # perlasm system. NON_PERL_FILES = { ('linux', 'arm'): [ - 'src/crypto/poly1305/poly1305_arm_asm.S', 'src/crypto/chacha/chacha_vec_arm.S', 'src/crypto/cpu-arm-asm.S', + 'src/crypto/curve25519/asm/x25519-arm.S', + 'src/crypto/poly1305/poly1305_arm_asm.S', ], } |