https://github.com/mupq/pqm4
Revision 157e27178e6e9c14d02dc90affb6b53026b0f93a authored by Matthias J. Kannwischer on 09 December 2020, 20:02:30 UTC, committed by GitHub on 09 December 2020, 20:02:30 UTC
* Updated sampling of uniform matrix of Kyber to round-3 tweaked approach

* Integrated changes to noise sampling in Kyber512

* Updated links in kyber512-90s/m4 to use round-3 noise generation of kyber512/m4

* source ntruprime from pqclean

* https://github.com/PQClean/PQClean/pull/324

* add HQC benchmarks. Closes #57

* Port https://github.com/PQClean/PQClean/pull/337

This ports a fix from upstream. This does not change performance by more than a few cycles.
For details see
https://github.com/jschanck/ntru/commit/e0ab9525f1797dcff875c67f08f56db03f3c7deb

* Port https://github.com/PQClean/PQClean/pull/341

Fixes a typo in sample.c in PQClean which was also present in the pqm4 implementations.
This changes testvectors, but not performance.

* https://github.com/PQClean/PQClean/pull/348

* https://github.com/PQClean/PQClean/pull/340

* https://github.com/PQClean/PQClean/pull/350

* https://github.com/PQClean/PQClean/pull/361

* https://github.com/PQClean/PQClean/pull/349

Co-authored-by: Peter Schwabe <peter@cryptojedi.org>
1 parent 3fd51a9
Raw File
Tip revision: 157e27178e6e9c14d02dc90affb6b53026b0f93a authored by Matthias J. Kannwischer on 09 December 2020, 20:02:30 UTC
Update PQClean (#172)
Tip revision: 157e271
test.py
#!/usr/bin/env python3
from mupq import mupq
from interface import M4Settings, M4

import sys

if __name__ == "__main__":
    with M4() as m4:
        test = mupq.SimpleTest(M4Settings(), m4)
        test.test_all(sys.argv[1:])
back to top