Skip to content

Commit cbef866

Browse files
authored
Merge pull request #122 from aqjune-aws/equiv-p384
Add `bignum_mont{mul,sqr}_p384_neon`, speed improvements/refactoring in tactics
2 parents b9266e7 + d3a7b19 commit cbef866

27 files changed

+4613
-718
lines changed

arm/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,10 @@ BIGNUM_OBJ = curve25519/bignum_add_p25519.o \
279279
p384/bignum_mod_p384_6.o \
280280
p384/bignum_montmul_p384.o \
281281
p384/bignum_montmul_p384_alt.o \
282+
p384/bignum_montmul_p384_neon.o \
282283
p384/bignum_montsqr_p384.o \
283284
p384/bignum_montsqr_p384_alt.o \
285+
p384/bignum_montsqr_p384_neon.o \
284286
p384/bignum_mux_6.o \
285287
p384/bignum_neg_p384.o \
286288
p384/bignum_nonzero_6.o \

arm/allowed_asm

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
: csel$
1616
: cset$
1717
: csetm$
18+
: dup$
1819
: eor$
1920
: extr$
2021
: ldp$
@@ -38,6 +39,7 @@
3839
: sbc$
3940
: sbcs$
4041
: shl$
42+
: shrn$
4143
: stp$
4244
: str$
4345
: strb$

arm/p384/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ OBJ = bignum_add_p384.o \
3535
bignum_mod_p384_6.o \
3636
bignum_montmul_p384.o \
3737
bignum_montmul_p384_alt.o \
38+
bignum_montmul_p384_neon.o \
3839
bignum_montsqr_p384.o \
3940
bignum_montsqr_p384_alt.o \
41+
bignum_montsqr_p384_neon.o \
4042
bignum_mux_6.o \
4143
bignum_neg_p384.o \
4244
bignum_nonzero_6.o \

0 commit comments

Comments
 (0)