https://github.com/mupq/pqm4
Revision c37e5417322429230aa7992822e2a295e36133ea authored by vincentvbh on 29 January 2022, 01:24:18 UTC, committed by GitHub on 29 January 2022, 01:24:18 UTC
* ntruhps2048509

* ntruhps2048677, ntruhrss701

* ntruhps4096821

* update benchmarks

Co-authored-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent 2691b49
Raw File
Tip revision: c37e5417322429230aa7992822e2a295e36133ea authored by vincentvbh on 29 January 2022, 01:24:18 UTC
More readable and improved NTTs for NTRU (#219)
Tip revision: c37e541
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()
back to top