Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bignum_{sqr,mul}_p521_neon #130

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.correct
*.o
*.obj
.vscode
tests/test
tests/ctCheck
benchmarks/benchmark
Expand Down
2 changes: 2 additions & 0 deletions arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,12 @@ BIGNUM_OBJ = curve25519/bignum_add_p25519.o \
p521/bignum_montsqr_p521_neon.o \
p521/bignum_mul_p521.o \
p521/bignum_mul_p521_alt.o \
p521/bignum_mul_p521_neon.o \
p521/bignum_neg_p521.o \
p521/bignum_optneg_p521.o \
p521/bignum_sqr_p521.o \
p521/bignum_sqr_p521_alt.o \
p521/bignum_sqr_p521_neon.o \
p521/bignum_sub_p521.o \
p521/bignum_tolebytes_p521.o \
p521/bignum_tomont_p521.o \
Expand Down
2 changes: 2 additions & 0 deletions arm/p521/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ OBJ = bignum_add_p521.o \
bignum_montsqr_p521_neon.o \
bignum_mul_p521.o \
bignum_mul_p521_alt.o \
bignum_mul_p521_neon.o \
bignum_neg_p521.o \
bignum_optneg_p521.o \
bignum_sqr_p521.o \
bignum_sqr_p521_alt.o \
bignum_sqr_p521_neon.o \
bignum_sub_p521.o \
bignum_tolebytes_p521.o \
bignum_tomont_p521.o \
Expand Down
2 changes: 1 addition & 1 deletion arm/p521/bignum_montsqr_p521_neon.S
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
// The bash script used for step 2 is as follows:
//
// # Store the assembly instructions except the last 'ret',
// # callee-register store/loads and add/sub sp #80 as, say, 'input.S'.
// # callee-register store/loads as, say, 'input.S'.
// export OUTPUTS="[hint_buffer0,hint_buffer16,hint_buffer32,hint_buffer48,hint_buffer64]"
// export RESERVED_REGS="[x18,x25,x26,x27,x28,x29,x30,sp,q8,q9,q10,q11,q12,q13,q14,q15,v8,v9,v10,v11,v12,v13,v14,v15]"
// <s2n-bignum>/tools/external/slothy.sh input.S my_out_dir
Expand Down
Loading