Skip to content

Commit

Permalink
Filter s2n-bignum symbols with prefix p256_montjscalarmul (#540)
Browse files Browse the repository at this point in the history
To land aws/aws-lc#1877, must filter new s2n-bignum symbols that are not supposed to have external linkage. Similar to e.g. #286
  • Loading branch information
torben-hansen authored Sep 27, 2024
1 parent c401134 commit 4d5cf82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build/collect_symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [[ ! -d "${AWS_LC_DIR}" ]]; then
fi

function filter_symbols() {
grep -E '^\w*$' | grep -v -E "^bignum_" | grep -v "curve25519_x25519" | grep -v "edwards25519_"
grep -E '^\w*$' | grep -v -E "^bignum_" | grep -v "curve25519_x25519" | grep -v "edwards25519_" | grep -v "p256_montjscalarmul"
}

function filter_nm_symbols() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate/_collect_symbols_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function cmake_build_options() {
}

function filter_symbols() {
grep -v "^_\?bignum_" | grep -v "_\?curve25519_x25519" | grep -v "_\?edwards25519_"
grep -v "^_\?bignum_" | grep -v "_\?curve25519_x25519" | grep -v "_\?edwards25519_" | grep -v "_\?p256_montjscalarmul"
}

REPO_ROOT=$(git rev-parse --show-toplevel)
Expand Down

0 comments on commit 4d5cf82

Please sign in to comment.