PQ-WB-KEM: White-Box ML-KEM-768 1.0
PQ-WB-KEM: Toward a White-Box Construction of ML-KEM-768 with Arithmetic Masking for M2M Communications - Mathematics (MDPI)
Loading...
Searching...
No Matches
build_arm64_benchmark.sh File Reference

Go to the source code of this file.

Variables

set euo pipefail OUT
 

Variable Documentation

◆ OUT

set euo pipefail OUT
Initial value:
="${1:-results/arm64_benchmark.json}"
BUDGET="${2:-1.0}"
OQS_VER="${3:-0.15.0}"
NRUNS="${4:-20}"
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO="$(cd "$HERE/../.." && pwd)"
BUILD="${ARM64_BUILD_DIR:-$HOME/.cache/pqwbkem_arm64_build}"
SRC="$BUILD/liboqs"
PREFIX="$BUILD/install-aarch64"
TC="$BUILD/aarch64-toolchain.cmake"
HARNESS="$HERE/bench_liboqs.c"
BIN="$BUILD/bench_liboqs_arm64"
need() { command -v "$1" >/dev/null 2>&1 || { echo "ERROR: '$1' not found. $2" >&2; exit 1; }; }
need aarch64-linux-gnu-gcc "Install with: sudo apt-get install -y gcc-aarch64-linux-gnu"
need qemu-aarch64 "Install with: sudo apt-get install -y qemu-user qemu-user-static"
need cmake "Install with: sudo apt-get install -y cmake"
need ninja "Install with: sudo apt-get install -y ninja-build"
need git "Install with: sudo apt-get install -y git"
mkdir -p "$BUILD"
if [ ! -f "$PREFIX/lib/liboqs.a" ]

Definition at line 13 of file build_arm64_benchmark.sh.