Files
dedysutanto 7cf826c6b6 feat: PQ hybrid groundwork — liboqs vendored, PQHybrid, KDF wiring
- ext/liboqs: vendored (ML-KEM/ML-DSA ready), -isystem ext/liboqs/include
- node/PQHybrid.*: KDF over X25519 agree + ML-KEM-768 encaps scaffold
- wire into IncomingPacket/Node/Bond/selftest/OneService paths
- zeroidc ext.rs: URL param parser unit tests
- SPEC.md: BackOne quantum-safe task table (T1–T23)
- research doc: hybrid PQ fork plan (ML-KEM+X25519, ML-DSA+Ed25519)
2026-09-30 15:08:25 +07:00

23 lines
600 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: MIT
# usage: LIBOQS_DIR=<liboqs dir> ./scripts/format_code.sh
arch=$(uname -m)
# tested on Ubuntu 22 / x86_64 and macOS 13 / arm64
if [ "$arch" != "x86_64" ] && [ "$arch" != "arm64" ]
then
echo "This script does not currently support systems where \`uname -m\` returns $arch."
exit 1
fi
if [ ! -d "$LIBOQS_DIR" ]
then
echo "Please set the environment variable LIBOQS_DIR to point to your liboqs directory."
exit 1
fi
docker run --rm -v"$LIBOQS_DIR":/root/liboqs -w /root/liboqs openquantumsafe/ci-ubuntu-latest:latest ./tests/run_astyle.sh --no-dry-run