https://github.com/mupq/pqm4
Revision 04a8be2cf8a9afff9c28a86e06d343e9cde9b45f authored by Ko- on 17 April 2020, 16:58:06 UTC, committed by GitHub on 17 April 2020, 16:58:06 UTC
* Add SIKE m4 implementations

Taken from https://github.com/solowal/SIKE_M4

* update sike LICENSE

* Fix bug by adding naked attribute to two functions

sikep434 and sikep751 now terminate at least, but testvectors
still don't match

* Change cSHAKE_simple back to SHAKE

* Change CRYPTO_BYTES for p503 from 16 back to 24

* Change wrong number in comment to avoid confusion

* Add benchmarks

Co-authored-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent 90754b1
Raw File
Tip revision: 04a8be2cf8a9afff9c28a86e06d343e9cde9b45f authored by Ko- on 17 April 2020, 16:58:06 UTC
Integrate SIKE M4 implementation (#146)
Tip revision: 04a8be2
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