Skip to content

Commit

Permalink
Update s2n-bignum subtree (#1861)
Browse files Browse the repository at this point in the history
Updates to latest version of s2n-bignum files. Config used:
```
PATHS_TO_KEEP="\
./arm/p384 ./x86_att/p384 ./arm/p521 ./x86_att/p521 \
./arm/fastmul/bignum_emontredc_8n.S \
./arm/fastmul/bignum_kmul_16_32.S \
./arm/fastmul/bignum_kmul_32_64.S \
./arm/fastmul/bignum_ksqr_16_32.S \
./arm/fastmul/bignum_ksqr_32_64.S \
./arm/generic/bignum_ge.S \
./arm/generic/bignum_mul.S \
./arm/generic/bignum_optsub.S \
./arm/generic/bignum_sqr.S \
./arm/generic/bignum_copy_row_from_table.S \
./arm/generic/bignum_copy_row_from_table_8n_neon.S \
./arm/generic/bignum_copy_row_from_table_16_neon.S \
./arm/generic/bignum_copy_row_from_table_32_neon.S \
./x86_att/curve25519/curve25519_x25519.S \
./x86_att/curve25519/curve25519_x25519base.S \
./x86_att/curve25519/curve25519_x25519_alt.S \
./x86_att/curve25519/curve25519_x25519base_alt.S  \
./x86_att/curve25519/bignum_neg_p25519.S \
./x86_att/curve25519/bignum_mod_n25519.S  \
./x86_att/curve25519/edwards25519_decode.S  \
./x86_att/curve25519/edwards25519_decode_alt.S  \
./x86_att/curve25519/edwards25519_encode.S  \
./x86_att/curve25519/edwards25519_scalarmulbase.S  \
./x86_att/curve25519/edwards25519_scalarmulbase_alt.S  \
./x86_att/curve25519/edwards25519_scalarmuldouble.S  \
./x86_att/curve25519/edwards25519_scalarmuldouble_alt.S  \
./arm/curve25519/curve25519_x25519.S \
./arm/curve25519/curve25519_x25519base.S \
./arm/curve25519/curve25519_x25519_alt.S \
./arm/curve25519/curve25519_x25519base_alt.S \
./arm/curve25519/curve25519_x25519_byte.S \
./arm/curve25519/curve25519_x25519base_byte.S \
./arm/curve25519/curve25519_x25519_byte_alt.S \
./arm/curve25519/curve25519_x25519base_byte_alt.S \
./arm/curve25519/bignum_neg_p25519.S \
./arm/curve25519/bignum_mod_n25519.S  \
./arm/curve25519/bignum_madd_n25519.S \
./arm/curve25519/bignum_madd_n25519_alt.S \
./arm/curve25519/edwards25519_decode.S  \
./arm/curve25519/edwards25519_decode_alt.S  \
./arm/curve25519/edwards25519_encode.S  \
./arm/curve25519/edwards25519_scalarmulbase.S  \
./arm/curve25519/edwards25519_scalarmulbase_alt.S  \
./arm/curve25519/edwards25519_scalarmuldouble.S  \
./arm/curve25519/edwards25519_scalarmuldouble_alt.S \
./arm/p256/bignum_montinv_p256.S \
./arm/p256/p256_montjscalarmul.S \
./arm/p256/p256_montjscalarmul_alt.S \
./x86_att/p256/bignum_montinv_p256.S \
./x86_att/p256/p256_montjscalarmul.S \
./x86_att/p256/p256_montjscalarmul_alt.S \
./include/_internal_s2n_bignum.h"
```
  • Loading branch information
torben-hansen authored Sep 18, 2024
2 parents 265e3aa + e2401bc commit 7090b90
Show file tree
Hide file tree
Showing 21 changed files with 71,832 additions and 1,933 deletions.
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

0 comments on commit 7090b90

Please sign in to comment.