mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-05 00:05:12 -04:00
* apply slh acvp branch Signed-off-by: h2parson <h2parson@uwaterloo.ca> * remove openssl/bio.h include Signed-off-by: h2parson <h2parson@uwaterloo.ca> * fix windows __attribute__ issue Signed-off-by: h2parson <h2parson@uwaterloo.ca> * Update tests/vectors_sig.c [skip ci] Signed-off-by: Douglas Stebila <dstebila@users.noreply.github.com> --------- Signed-off-by: h2parson <h2parson@uwaterloo.ca> Signed-off-by: Douglas Stebila <dstebila@users.noreply.github.com> Co-authored-by: Douglas Stebila <dstebila@users.noreply.github.com>
25 lines
687 B
Bash
25 lines
687 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# This script fetches the ACVP vectors for ML-DSA and ML-KEM
|
|
|
|
rel_name="1.1.0.40"
|
|
rel_url="https://github.com/usnistgov/ACVP-Server/archive/refs/tags/v$rel_name.tar.gz"
|
|
fld_vecs="ACVP-Server-$rel_name/gen-val/json-files"
|
|
|
|
wget "$rel_url"
|
|
tar xvfz "v$rel_name.tar.gz"
|
|
|
|
flds=(
|
|
"ML-DSA-keyGen-FIPS204" "ML-DSA-sigGen-FIPS204" "ML-DSA-sigVer-FIPS204"
|
|
"ML-KEM-encapDecap-FIPS203" "ML-KEM-keyGen-FIPS203"
|
|
"SLH-DSA-keyGen-FIPS205" "SLH-DSA-sigGen-FIPS205" "SLH-DSA-sigVer-FIPS205"
|
|
)
|
|
|
|
for FLD in "${flds[@]}"
|
|
do
|
|
mkdir -p "$FLD" && mv "$fld_vecs/$FLD/internalProjection.json" "$FLD"
|
|
done
|
|
|
|
rm "v$rel_name.tar.gz"
|
|
rm -rf "ACVP-Server-$rel_name" |