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

Update s2n-bignum subtree #1861

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
4b9db24
Add bignum_copy_row_from_table and its Neon-variants for AArch64
aqjune-aws Aug 28, 2023
4b07e28
Merge pull request #81 from aqjune-aws/tablelookup
jargh Sep 16, 2023
da70cb3
Merge branch 'awslabs:main' into main
jargh Sep 16, 2023
8b4a9fd
Add Ed25519 point compression encoding
jargh Oct 5, 2023
c66db90
Merge branch 'awslabs:main' into main
jargh Oct 11, 2023
0ddf04b
Add Ed25519 point decoding function
jargh Oct 14, 2023
c193556
Add generic size curve25519/edwards25519 basepoint modulus
jargh Oct 18, 2023
fdd2d5e
Add multiply-add modulo the curve25519/edwards25519 basepoint order
jargh Oct 20, 2023
fc4c0cb
Merge branch 'awslabs:main' into main
jargh Oct 20, 2023
01370f3
Switch curve25519 operations to divstep-based modular inverse
jargh Oct 28, 2023
cc0e9f6
Merge pull request #88 from torben-hansen/document_x25519_zero_check_no
jargh Nov 1, 2023
d25a459
Merge branch 'awslabs:main' into main
jargh Nov 1, 2023
2dda6ab
Switch edwards25519 operations to divstep-based modular inverse
jargh Nov 2, 2023
ca6fb90
Merge pull request #87 from jargh/main
jargh Nov 3, 2023
1c275ac
Merge branch 'awslabs:main' into main
jargh Nov 4, 2023
7bcf96a
Merge pull request #90 from jargh/main
jargh Nov 6, 2023
bc0ecf2
Improve integer operation support in BOUNDER_RULE and BOUNDER_TAC
jargh Nov 14, 2023
41b7e15
Avoid duplicate labels in ed25519 x86 implementation
torben-hansen Nov 15, 2023
59a6357
Merge pull request #92 from torben-hansen/fix_duplicate_labels_ed25519
jargh Nov 16, 2023
2fd7384
Merge branch 'awslabs:main' into main
jargh Nov 16, 2023
159ad31
Merge pull request #94 from jargh/main
aqjune-aws Nov 17, 2023
919f88e
Fix GNU-stacz typo
torben-hansen Nov 21, 2023
9fe40dd
Merge pull request #95 from torben-hansen/fix_stacz_typy
aqjune-aws Nov 22, 2023
0308bfc
Merge pull request #98 from torben-hansen/fix_static_array_qualifier_…
aqjune-aws Nov 22, 2023
937220a
Make parameter to ed25519 decode function const
torben-hansen Nov 27, 2023
dc716ed
Merge pull request #99 from torben-hansen/ed25519_decode_signature_in…
aqjune-aws Nov 28, 2023
f133bad
Allow MIT-0 license as well as Apache-2.0 and ISC (#104)
jargh Jan 23, 2024
7c0465e
Switch non-alt ARM X25519 to unsaturated code following Lenngren
jargh Feb 9, 2024
5b42bc2
Tweak attribution of SLOTHY work
jargh Feb 14, 2024
6a459ef
Merge pull request #108 from jargh/main
jargh Feb 15, 2024
401b241
Merge pull request #109 from aqjune-aws/table-benchmark
aqjune-aws Feb 15, 2024
7d01740
Tidy up Montgomery ladders
jargh Feb 22, 2024
b244872
Update curve25519_x25519{_byte} to make AWS-LC's delocator work
aqjune-aws Mar 5, 2024
b134a7e
Merge pull request #112 from aqjune-aws/fips25519
jargh Mar 6, 2024
3331f4a
Merge branch 'awslabs:main' into main
jargh Mar 6, 2024
da3a8fe
Remove one redundant instruction, tidy a few proofs with WORD_BLAST
jargh Mar 7, 2024
30d635d
Bifurcate microarchitectural variants of Weierstrass doublings
jargh Mar 8, 2024
dfdb08c
Merge branch 'awslabs:main' into main
jargh Mar 28, 2024
61e4747
Switch inlining to subroutines in non-alt ARM P-521 point doubling
jargh Apr 4, 2024
73aa0bd
Merge pull request #117 from jargh/main
aqjune-aws Apr 4, 2024
50e5aff
Liberalize aliasing requirements for Weierstrass point additions
jargh Apr 20, 2024
0806c71
Merge branch 'awslabs:main' into main
jargh Apr 20, 2024
7b83ba1
Handle zero inputs in Weierstrass mixed additions
jargh Apr 25, 2024
8396d86
Handle zero inputs in Weierstrass point additions
jargh Apr 30, 2024
a7151fd
Bifurcate microarchitectural variants of Weierstrass point additions
jargh May 5, 2024
7b4a690
Merge pull request #123 from jargh/main
jargh May 8, 2024
ceed93b
Add `bignum_mont{mul,sqr}_p384_neon`, speed improvements/refactoring …
aqjune-aws Apr 26, 2024
9f6dd7b
Merge pull request #122 from aqjune-aws/equiv-p384
jargh May 10, 2024
d0ae33f
Add `bignum_mont{sqr,mul}_p521_neon`
aqjune-aws Jun 6, 2024
56621a7
Merge pull request #129 from aqjune-aws/equiv-p521
aqjune-aws Jun 20, 2024
4a44d05
Merge branch 'awslabs:main' into main
jargh Jun 20, 2024
ffbf6a3
Add `bignum_{sqr,mul}_p521_neon`
aqjune-aws Jun 20, 2024
8d86d56
Merge pull request #130 from aqjune-aws/equiv-p521_2
aqjune-aws Jun 26, 2024
99ebac5
Merge branch 'awslabs:main' into main
jargh Jun 26, 2024
780083d
Merge pull request #131 from jargh/main
jargh Jul 15, 2024
06576f0
Merge pull request #135 from jargh/main
jargh Aug 6, 2024
551e092
Add custom Montgomery inverse for P-256 prime
jargh Aug 6, 2024
b3e9406
Add P-256 Montgomery-Jacobian scalar multiplication operation
jargh Aug 10, 2024
405230a
Merge pull request #138 from aqjune-aws/env
aqjune-aws Aug 12, 2024
3a4e17c
Merge pull request #139 from aqjune-aws/ciupdates
aqjune-aws Aug 12, 2024
b880ae0
Merge branch 'awslabs:main' into main
jargh Aug 12, 2024
a35eb4b
Merge pull request #137 from aqjune-aws/p256-opt
aqjune-aws Aug 15, 2024
e3fda5c
Merge branch 'awslabs:main' into main
jargh Aug 15, 2024
f4d76a6
Update point operations in non-alt ARM p256_montjscalarmul
jargh Aug 16, 2024
8eb627c
Add P-384 Montgomery-Jacobian scalar multiplication operation
jargh Aug 16, 2024
317b8d7
Fix comment banner descriptions of p384_montjscalarmul argument sizes
jargh Aug 19, 2024
7e43bb3
Merge pull request #140 from jargh/main
jargh Aug 19, 2024
d855e49
Add custom modular inverse for P-384 prime
jargh Aug 21, 2024
a8ee7da
Add custom Montgomery inverse for P-384 prime
jargh Aug 22, 2024
cfe5230
Make some new P-256 and P-384 functions delocator-proof
jargh Aug 23, 2024
330dd1e
Make a few more tiny tweaks to satisfy the delocator
jargh Aug 23, 2024
4eb8787
Fix a few cut-and-paste errors in comments for new P-384 functions.
jargh Aug 29, 2024
cdad1ef
Merge pull request #144 from jargh/main
jargh Sep 16, 2024
d769763
Adopt the Arm SIMD-optimized p384 fields to point operations
aqjune-aws Aug 10, 2024
3713dca
Merge pull request #142 from aqjune-aws/p384-opt
jargh Sep 18, 2024
e2401bc
Merge branch 's2n-bignum-2024-09-18' into aws-lc-s2n-bignum-update-20…
torben-hansen Sep 18, 2024
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
4 changes: 2 additions & 2 deletions third_party/s2n-bignum/arm/curve25519/bignum_madd_n25519.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC
// SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT-0

// ----------------------------------------------------------------------------
// Multiply-add modulo the order of the curve25519/edwards25519 basepoint
Expand Down Expand Up @@ -280,5 +280,5 @@ S2N_BN_SYMBOL(bignum_madd_n25519):
ret

#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stacz,"",%progbits
.section .note.GNU-stack,"",%progbits
#endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC
// SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT-0

// ----------------------------------------------------------------------------
// Multiply-add modulo the order of the curve25519/edwards25519 basepoint
Expand Down Expand Up @@ -206,5 +206,5 @@ S2N_BN_SYMBOL(bignum_madd_n25519_alt):
ret

#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stacz,"",%progbits
.section .note.GNU-stack,"",%progbits
#endif
1,303 changes: 1,303 additions & 0 deletions third_party/s2n-bignum/arm/p256/bignum_montinv_p256.S

Large diffs are not rendered by default.

Loading
Loading