https://github.com/mupq/pqm4
Revision 8c23cf3e4b18f0d02b317b4b7b530e4c0594a373 authored by Matthias J. Kannwischer on 19 October 2020, 08:28:14 UTC, committed by Matthias J. Kannwischer on 19 October 2020, 08:28:14 UTC
See https://github.com/dilithium-cortexm/dilithium-cortexm
1 parent 56417d9
Tip revision: 8c23cf3e4b18f0d02b317b4b7b530e4c0594a373 authored by Matthias J. Kannwischer on 19 October 2020, 08:28:14 UTC
Add speed and stack optimized implementations from https://eprint.iacr.org/2020/1278.pdf
Add speed and stack optimized implementations from https://eprint.iacr.org/2020/1278.pdf
Tip revision: 8c23cf3
convert_benchmarks.py
#!/usr/bin/env python3
import sys
from mupq import mupq
def usage():
print("Usage: python3 convert_benchmarks.py csv|md")
sys.exit(1)
if __name__ == "__main__":
if len(sys.argv) != 2:
usage()
if sys.argv[1] == "csv":
converter = mupq.CsvConverter()
elif sys.argv[1] == "md":
converter = mupq.MarkdownConverter()
else:
usage()
converter.convert()
Computing file changes ...