Skip to content

Commit 25c1ca5

Browse files
authored
Merge pull request #77 from anhu/purge_dil_aes
Purge Dilithium AES variant.
2 parents f9046c6 + 462d420 commit 25c1ca5

File tree

1 file changed

+3
-69
lines changed

1 file changed

+3
-69
lines changed

wolfSSL/src/appendix07.md

Lines changed: 3 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ These use different kinds of math from the conventional algorithms. They are des
3838
**Note**: KYBER KEM 90s variants were deprecated and removed as NIST is not
3939
considering them for standardization.
4040

41+
**Note**: Dilithium Signature Scheme's AES variants were deprecated and removed
42+
as NIST is not considering them for standardization.
43+
4144
An explanation of lattice-based cryptography would fall outside the scope of this document but more information about these algorithms can be found in their NIST submissions at <https://csrc.nist.gov/projects/post-quantum-cryptography/round-3-submissions>.
4245

4346
Unfortunately, it might come as a shock, but we do not actually know that these algorithms will resist attacks from quantum computers. In fact, we do not even know that these algorithms are safe against a conventional computer. Its getting less and less likely, but someone could break lattice-based cryptography. However, as security experts will tell you, this is how cryptography has always worked. Algorithms are good when we start using them, but weaknesses and vulnerabilities are discovered and technology gets better. The post-quantum algorithms are somewhat problematic in that they are relatively new and could use a bit more attention from the community.
@@ -103,9 +106,6 @@ FALCON_LEVEL5 | FALCON1024
103106
DILITHIUM_LEVEL2 | DILITHIUM2
104107
DILITHIUM_LEVEL3 | DILITHIUM3
105108
DILITHIUM_LEVEL5 | DILITHIUM5
106-
DILITHIUM_AES_LEVEL2 | DILITHIUM2_AES
107-
DILITHIUM_AES_LEVEL3 | DILITHIUM3_AES
108-
DILITHIUM_AES_LEVEL5 | DILITHIUM5_AES
109109
SPHINCS_FAST_LEVEL1 | SPHINCS+-SHAKE256-128f-simple
110110
SPHINCS_FAST_LEVEL3 | SPHINCS+-SHAKE256-192f-simple
111111
SPHINCS_FAST_LEVEL5 | SPHINCS+-SHAKE256-256f-simple
@@ -142,9 +142,6 @@ FALCON_LEVEL5 | 65038
142142
DILITHIUM_LEVEL2 | 65184
143143
DILITHIUM_LEVEL3 | 65187
144144
DILITHIUM_LEVEL5 | 65189
145-
DILITHIUM_AES_LEVEL2 | 65191
146-
DILITHIUM_AES_LEVEL3 | 65194
147-
DILITHIUM_AES_LEVEL5 | 65196
148145
KYBER_LEVEL1 | 570
149146
KYBER_LEVEL3 | 572
150147
KYBER_LEVEL5 | 573
@@ -161,9 +158,6 @@ FALCON_LEVEL5 | 1.3.9999.3.4
161158
DILITHIUM_LEVEL2 | 1.3.6.1.4.1.2.267.7.4.4
162159
DILITHIUM_LEVEL3 | 1.3.6.1.4.1.2.267.7.6.5
163160
DILITHIUM_LEVEL5 | 1.3.6.1.4.1.2.267.7.8.7
164-
DILITHIUM_AES_LEVEL2 | 1.3.6.1.4.1.2.267.11.4.4
165-
DILITHIUM_AES_LEVEL3 | 1.3.6.1.4.1.2.267.11.6.5
166-
DILITHIUM_AES_LEVEL5 | 1.3.6.1.4.1.2.267.11.8.7
167161
SPHINCS_FAST_LEVEL1 | 1.3.9999.6.7.4
168162
SPHINCS_FAST_LEVEL3 | 1.3.9999.6.8.3
169163
SPHINCS_FAST_LEVEL5 | 1.3.9999.6.9.3
@@ -184,9 +178,6 @@ FALCON_LEVEL5 | 1793 | 2305 | 1330
184178
DILITHIUM_LEVEL2 | 1312 | 2528 | 2420
185179
DILITHIUM_LEVEL3 | 1952 | 4000 | 3293
186180
DILITHIUM_LEVEL5 | 2592 | 4864 | 4595
187-
DILITHIUM_AES_LEVEL2 | 1312 | 2528 | 2420
188-
DILITHIUM_AES_LEVEL3 | 1952 | 4000 | 3293
189-
DILITHIUM_AES_LEVEL5 | 2592 | 4864 | 4595
190181
SPHINCS_FAST_LEVEL1 | 32 | 64 | 17088
191182
SPHINCS_FAST_LEVEL3 | 48 | 96 | 35664
192183
SPHINCS_FAST_LEVEL5 | 64 | 128 | 49856
@@ -264,9 +255,6 @@ TLS_AES_256_GCM_SHA384 | FALCON_LEVEL5 | P521_KYBER_LEVEL5 | 14257
264255
TLS_AES_256_GCM_SHA384 | DILITHIUM_LEVEL2 | ECC SECP256R1 | 7918
265256
TLS_AES_256_GCM_SHA384 | DILITHIUM_LEVEL3 | ECC SECP256R1 | 10233
266257
TLS_AES_256_GCM_SHA384 | DILITHIUM_LEVEL5 | ECC SECP256R1 | 13477
267-
TLS_AES_256_GCM_SHA384 | DILITHIUM_AES_LEVEL2 | ECC SECP256R1 | 7918
268-
TLS_AES_256_GCM_SHA384 | DILITHIUM_AES_LEVEL3 | ECC SECP256R1 | 10233
269-
TLS_AES_256_GCM_SHA384 | DILITHIUM_AES_LEVEL5 | ECC SECP256R1 | 13477
270258

271259
### Heap and Stack Usage
272260

@@ -351,54 +339,6 @@ total Deallocs = 805
351339
total Bytes = 238167
352340
peak Bytes = 67049
353341
354-
Server DILITHIUM_AES_LEVEL2
355-
356-
stack used = 59400
357-
total Allocs = 243
358-
total Deallocs = 243
359-
total Bytes = 128153
360-
peak Bytes = 50250
361-
362-
Client DILITHIUM_AES_LEVEL2
363-
364-
stack used = 45448
365-
total Allocs = 805
366-
total Deallocs = 805
367-
total Bytes = 206412
368-
peak Bytes = 56299
369-
370-
Server DILITHIUM_AES_LEVEL3
371-
372-
stack used = 87048
373-
total Allocs = 243
374-
total Deallocs = 243
375-
total Bytes = 140128
376-
peak Bytes = 55161
377-
378-
Client DILITHIUM_AES_LEVEL3
379-
380-
stack used = 66952
381-
total Allocs = 805
382-
total Deallocs = 805
383-
total Bytes = 220633
384-
peak Bytes = 61245
385-
386-
Server DILITHIUM_AES_LEVEL5
387-
388-
stack used = 130056
389-
total Allocs = 243
390-
total Deallocs = 243
391-
total Bytes = 152046
392-
peak Bytes = 59829
393-
394-
Client DILITHIUM_AES_LEVEL5
395-
396-
stack used = 102024
397-
total Allocs = 805
398-
total Deallocs = 805
399-
total Bytes = 238167
400-
peak Bytes = 67049
401-
402342
Server RSA 2048
403343
404344
stack used = 52896
@@ -664,12 +604,6 @@ DILITHIUM_level3 sign 10200 ops took 1.002 sec, avg 0.098 ms, 10179.570 ops
664604
DILITHIUM_level3 verify 27100 ops took 1.003 sec, avg 0.037 ms, 27017.485 ops/sec
665605
DILITHIUM_level5 sign 8400 ops took 1.009 sec, avg 0.120 ms, 8321.684 ops/sec
666606
DILITHIUM_level5 verify 17000 ops took 1.004 sec, avg 0.059 ms, 16933.788 ops/sec
667-
DILITHIUM_AES_level2 sign 2400 ops took 1.023 sec, avg 0.426 ms, 2346.733 ops/sec
668-
DILITHIUM_AES_level2 verify 6600 ops took 1.001 sec, avg 0.152 ms, 6590.957 ops/sec
669-
DILITHIUM_AES_level3 sign 1500 ops took 1.026 sec, avg 0.684 ms, 1461.933 ops/sec
670-
DILITHIUM_AES_level3 verify 3900 ops took 1.012 sec, avg 0.260 ms, 3851.921 ops/sec
671-
DILITHIUM_AES_level5 sign 1100 ops took 1.008 sec, avg 0.916 ms, 1091.518 ops/sec
672-
DILITHIUM_AES_level5 verify 2200 ops took 1.034 sec, avg 0.470 ms, 2127.939 ops/sec
673607
kyber_level1-kg 143608 ops took 1.000 sec, avg 0.007 ms, 143607.555 ops/sec
674608
kyber_level1-ed 64800 ops took 1.001 sec, avg 0.015 ms, 64725.835 ops/sec
675609
kyber_level3-kg 89790 ops took 1.000 sec, avg 0.011 ms, 89789.550 ops/sec

0 commit comments

Comments
 (0)