From 782c1086b6bdc2246583827104db866d87b67ed6 Mon Sep 17 00:00:00 2001 From: Torben Hansen <50673096+torben-hansen@users.noreply.github.com> Date: Fri, 27 Sep 2024 06:44:37 -0700 Subject: [PATCH] Filter s2n-bignum symbols with prefix p256_montjscalarmul --- scripts/build/collect_symbols.sh | 2 +- scripts/generate/_collect_symbols_build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/collect_symbols.sh b/scripts/build/collect_symbols.sh index 6fcb7a10b07..63de9c33a03 100755 --- a/scripts/build/collect_symbols.sh +++ b/scripts/build/collect_symbols.sh @@ -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() { diff --git a/scripts/generate/_collect_symbols_build.sh b/scripts/generate/_collect_symbols_build.sh index bebe64c2063..fc4e13fab68 100755 --- a/scripts/generate/_collect_symbols_build.sh +++ b/scripts/generate/_collect_symbols_build.sh @@ -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)