liboqs/scripts/genkatsha256.sh
Michael Baentsch 5f277fc019
KAT testing using hashes (#784)
* removed full-size KATs

* corrected qTesla avx2 KAT selection

* Fixed macOS build warnings. (#782)

* removed full-size KATs

* corrected qTesla avx2 KAT selection

* KATs as dicts; simplified & corrected logic
2020-07-08 10:40:50 -04:00

9 lines
205 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: MIT
# Run in arbitrary folder to create .sha256 files from .kat files
for filename in *.kat; do
sha256sum $filename | awk '{printf $1}' > $filename.sha256
done