https://github.com/mupq/pqm4
Revision 6841a6bc3cc5bc0b0e01e5ee33567882e9bca8d3 authored by Matthias J. Kannwischer on 04 January 2021, 02:41:56 UTC, committed by GitHub on 04 January 2021, 02:41:56 UTC
* switch to fixsliced AES

* tweak kyber-90s to use t-table AES for public inputs

* update kyber-90s benchmarks with fixsliced AES

* use t-tabe AES in Frodo for public matrix A

* make ntrulpr work with fixsliced AES

* update fixsliced AES from upstream

* update performance of kyber-90s, ntrulpr, and hqc with new fixsliced AES

* update AES information in README

* rename _leaktime to _publicinputs

* switch to mupq master; simply change include order
1 parent 157e271
Raw File
Tip revision: 6841a6bc3cc5bc0b0e01e5ee33567882e9bca8d3 authored by Matthias J. Kannwischer on 04 January 2021, 02:41:56 UTC
Constant-time AES (https://eprint.iacr.org/2020/1123) (#173)
Tip revision: 6841a6b
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