From 7931383443120091699d9321f1cb3e03a5fbb1f1 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Tue, 17 Sep 2019 14:11:46 +0200 Subject: [PATCH] fixup! Add Kyber90s Add duplicate consistency files --- .../kyber1024-90s_avx2.yml | 69 ++++++++++++++++++ .../kyber512-90s_avx2.yml | 69 ++++++++++++++++++ .../kyber768-90s_avx2.yml | 70 +++++++++++++++++++ 3 files changed, 208 insertions(+) create mode 100644 test/duplicate_consistency/kyber1024-90s_avx2.yml create mode 100644 test/duplicate_consistency/kyber512-90s_avx2.yml create mode 100644 test/duplicate_consistency/kyber768-90s_avx2.yml diff --git a/test/duplicate_consistency/kyber1024-90s_avx2.yml b/test/duplicate_consistency/kyber1024-90s_avx2.yml new file mode 100644 index 00000000..69779016 --- /dev/null +++ b/test/duplicate_consistency/kyber1024-90s_avx2.yml @@ -0,0 +1,69 @@ +consistency_checks: +- source: + scheme: kyber1024 + implementation: clean + files: + - LICENSE + - cbd.h + - indcpa.h + - params.h + - polyvec.h + - verify.h +- source: + scheme: kyber768 + implementation: avx2 + files: + - cbd.c + - cbd.h + - consts.c + - consts.h + - fq.inc + - fq.s + - indcpa.h + - invntt.s + - ntt.h + - ntt.s + - polyvec.h + - reduce.h + - rejsample.c + - rejsample.h + - shuffle.inc + - shuffle.s + - verify.c + - verify.h +- source: + scheme: kyber1024-90s + implementation: clean + files: + - LICENSE + - cbd.h + - indcpa.h + - params.h + - polyvec.h + - verify.h +- source: + scheme: kyber768-90s + implementation: avx2 + files: + - aes256ctr.c + - aes256ctr.h + - cbd.c + - cbd.h + - consts.c + - consts.h + - fq.inc + - fq.s + - indcpa.h + - invntt.s + - ntt.h + - ntt.s + - poly.h + - polyvec.h + - reduce.h + - rejsample.c + - rejsample.h + - shuffle.inc + - shuffle.s + - symmetric.h + - verify.c + - verify.h diff --git a/test/duplicate_consistency/kyber512-90s_avx2.yml b/test/duplicate_consistency/kyber512-90s_avx2.yml new file mode 100644 index 00000000..b4b5f24d --- /dev/null +++ b/test/duplicate_consistency/kyber512-90s_avx2.yml @@ -0,0 +1,69 @@ +consistency_checks: +- source: + scheme: kyber512 + implementation: avx2 + files: + - LICENSE + - cbd.h + - indcpa.h + - params.h + - polyvec.h + - verify.h +- source: + scheme: kyber768 + implementation: avx2 + files: + - cbd.c + - cbd.h + - consts.c + - consts.h + - fq.inc + - fq.s + - indcpa.h + - invntt.s + - ntt.h + - ntt.s + - polyvec.h + - reduce.h + - rejsample.c + - rejsample.h + - shuffle.inc + - shuffle.s + - verify.c + - verify.h +- source: + scheme: kyber512-90s + implementation: clean + files: + - LICENSE + - cbd.h + - indcpa.h + - params.h + - polyvec.h + - verify.h +- source: + scheme: kyber768-90s + implementation: avx2 + files: + - aes256ctr.c + - aes256ctr.h + - cbd.c + - cbd.h + - consts.c + - consts.h + - fq.inc + - fq.s + - indcpa.h + - invntt.s + - ntt.h + - ntt.s + - poly.h + - polyvec.h + - reduce.h + - rejsample.c + - rejsample.h + - shuffle.inc + - shuffle.s + - symmetric.h + - verify.c + - verify.h diff --git a/test/duplicate_consistency/kyber768-90s_avx2.yml b/test/duplicate_consistency/kyber768-90s_avx2.yml new file mode 100644 index 00000000..9bbc291c --- /dev/null +++ b/test/duplicate_consistency/kyber768-90s_avx2.yml @@ -0,0 +1,70 @@ +consistency_checks: +- source: + scheme: kyber768 + implementation: clean + files: + - LICENSE + - cbd.h + - indcpa.h + - params.h + - polyvec.h + - verify.h +- source: + scheme: kyber512 + implementation: avx2 + files: + - cbd.c + - cbd.h + - consts.c + - consts.h + - fq.inc + - fq.s + - indcpa.h + - invntt.s + - ntt.h + - ntt.s + - polyvec.h + - reduce.h + - rejsample.c + - rejsample.h + - shuffle.inc + - shuffle.s + - verify.c + - verify.h +consistency_checks: +- source: + scheme: kyber768-90s + implementation: clean + files: + - LICENSE + - cbd.h + - indcpa.h + - params.h + - polyvec.h + - verify.h +- source: + scheme: kyber512-90s + implementation: avx2 + files: + - aes256ctr.c + - aes256ctr.h + - cbd.c + - cbd.h + - consts.c + - consts.h + - fq.inc + - fq.s + - indcpa.h + - invntt.s + - ntt.h + - ntt.s + - poly.h + - polyvec.h + - reduce.h + - rejsample.c + - rejsample.h + - shuffle.inc + - shuffle.s + - symmetric.h + - verify.c + - verify.h