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)