mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-06 00:03:35 -04:00
* add bitflip test to test_sig.c Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * format code Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * - add sig->suf_cma - add command-line argument to test_sig.c (the number of bitflips) - update CROSS upstream to SUF-CMA Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * %d to %ld for size_t bitflips Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * cast argument bitflips to size_t Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * replace atoi() with strtol() Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * cast bit_index to %llu Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * update bitflip tests: - revert CROSS to EUF-CMA - add test_bitflip_message - exclude stateful signatures for now Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * remove bitflips_as_str in printf Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * test_bitflip as a single function, add support for stateful signatures Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * add OQS_TEST_CT_DECLASSIFY after test_bitflip_stfl Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * [extended tests] Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * more OQS_TEST_CT_DECLASSIFY [extended tests] Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * patch dilithium to add suf-cma Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * run copy_from_upstream.py Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * SUF-CMA in dilithium docs, run copy_from_upstream.py Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * correct sizeof in OQS_randombytes call (thank you @SWilson4!) Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * factor bitflip testing functions out into test_helpers.c Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * --allow-multiple-definition for Windows .dll in test_kem_mem Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> * --allow-multiple-definition for Windows .dll in test_sig and test_sig_stfl Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com> --------- Signed-off-by: rtjk <47841774+rtjk@users.noreply.github.com>
74 lines
1.9 KiB
Diff
74 lines
1.9 KiB
Diff
ef30acde710cc1fcb0ed9735af3631761ed0358a
|
|
diff --git a/Dilithium2-AES_META.yml b/Dilithium2-AES_META.yml
|
|
index bad46d3..ce6e854 100644
|
|
--- a/Dilithium2-AES_META.yml
|
|
+++ b/Dilithium2-AES_META.yml
|
|
@@ -1,6 +1,7 @@
|
|
name: Dilithium2-AES
|
|
type: signature
|
|
claimed-nist-level: 2
|
|
+claimed-security: SUF-CMA
|
|
length-public-key: 1312
|
|
length-secret-key: 2528
|
|
length-signature: 2420
|
|
diff --git a/Dilithium2_META.yml b/Dilithium2_META.yml
|
|
index f4b7e8f..1b23d3e 100644
|
|
--- a/Dilithium2_META.yml
|
|
+++ b/Dilithium2_META.yml
|
|
@@ -1,6 +1,7 @@
|
|
name: Dilithium2
|
|
type: signature
|
|
claimed-nist-level: 2
|
|
+claimed-security: SUF-CMA
|
|
length-public-key: 1312
|
|
length-secret-key: 2528
|
|
length-signature: 2420
|
|
diff --git a/Dilithium3-AES_META.yml b/Dilithium3-AES_META.yml
|
|
index 0269442..5153309 100644
|
|
--- a/Dilithium3-AES_META.yml
|
|
+++ b/Dilithium3-AES_META.yml
|
|
@@ -1,6 +1,7 @@
|
|
name: Dilithium3-AES
|
|
type: signature
|
|
claimed-nist-level: 3
|
|
+claimed-security: SUF-CMA
|
|
length-public-key: 1952
|
|
length-secret-key: 4000
|
|
length-signature: 3293
|
|
diff --git a/Dilithium3_META.yml b/Dilithium3_META.yml
|
|
index f45c859..e4fbed2 100644
|
|
--- a/Dilithium3_META.yml
|
|
+++ b/Dilithium3_META.yml
|
|
@@ -1,6 +1,7 @@
|
|
name: Dilithium3
|
|
type: signature
|
|
claimed-nist-level: 3
|
|
+claimed-security: SUF-CMA
|
|
length-public-key: 1952
|
|
length-secret-key: 4000
|
|
length-signature: 3293
|
|
diff --git a/Dilithium5-AES_META.yml b/Dilithium5-AES_META.yml
|
|
index 0128a32..e53bd7d 100644
|
|
--- a/Dilithium5-AES_META.yml
|
|
+++ b/Dilithium5-AES_META.yml
|
|
@@ -1,6 +1,7 @@
|
|
name: Dilithium5-AES
|
|
type: signature
|
|
claimed-nist-level: 5
|
|
+claimed-security: SUF-CMA
|
|
length-public-key: 2592
|
|
length-secret-key: 4864
|
|
length-signature: 4595
|
|
diff --git a/Dilithium5_META.yml b/Dilithium5_META.yml
|
|
index 618b617..8c1aa5f 100644
|
|
--- a/Dilithium5_META.yml
|
|
+++ b/Dilithium5_META.yml
|
|
@@ -1,6 +1,7 @@
|
|
name: Dilithium5
|
|
type: signature
|
|
claimed-nist-level: 5
|
|
+claimed-security: SUF-CMA
|
|
length-public-key: 2592
|
|
length-secret-key: 4864
|
|
length-signature: 4595
|