Skip to content

Commit

Permalink
Update ml-dsa security claim to SUF-CMA [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Basil Hess <[email protected]>
  • Loading branch information
bhess committed Nov 19, 2024
1 parent 3e6302a commit a47a23a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/algorithms/sig/ml_dsa.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

| Parameter set | Parameter set alias | Security model | Claimed NIST Level | Public key size (bytes) | Secret key size (bytes) | Signature size (bytes) |
|:---------------:|:----------------------|:-----------------|---------------------:|--------------------------:|--------------------------:|-------------------------:|
| ML-DSA-44 | NA | EUF-CMA | 2 | 1312 | 2560 | 2420 |
| ML-DSA-65 | NA | EUF-CMA | 3 | 1952 | 4032 | 3309 |
| ML-DSA-87 | NA | EUF-CMA | 5 | 2592 | 4896 | 4627 |
| ML-DSA-44 | NA | SUF-CMA | 2 | 1312 | 2560 | 2420 |
| ML-DSA-65 | NA | SUF-CMA | 3 | 1952 | 4032 | 3309 |
| ML-DSA-87 | NA | SUF-CMA | 5 | 2592 | 4896 | 4627 |

## ML-DSA-44 implementation characteristics

Expand Down
6 changes: 3 additions & 3 deletions docs/algorithms/sig/ml_dsa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ primary-upstream:
parameter-sets:
- name: ML-DSA-44
claimed-nist-level: 2
claimed-security: EUF-CMA
claimed-security: SUF-CMA
length-public-key: 1312
length-secret-key: 2560
length-signature: 2420
Expand Down Expand Up @@ -52,7 +52,7 @@ parameter-sets:
large-stack-usage: false
- name: ML-DSA-65
claimed-nist-level: 3
claimed-security: EUF-CMA
claimed-security: SUF-CMA
length-public-key: 1952
length-secret-key: 4032
length-signature: 3309
Expand Down Expand Up @@ -83,7 +83,7 @@ parameter-sets:
large-stack-usage: false
- name: ML-DSA-87
claimed-nist-level: 5
claimed-security: EUF-CMA
claimed-security: SUF-CMA
length-public-key: 2592
length-secret-key: 4896
length-signature: 4627
Expand Down
3 changes: 2 additions & 1 deletion scripts/copy_from_upstream/update_upstream_alg_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ def update_upstream_sig_alg_docs(liboqs_root, sigs, upstream_info, write_changes
oqs_scheme_yaml['name'] = rhs_if_not_equal(oqs_scheme_yaml['name'], upstream_yaml['name'], "scheme pretty name")

oqs_scheme_yaml['claimed-nist-level'] = rhs_if_not_equal(oqs_scheme_yaml['claimed-nist-level'], upstream_yaml['claimed-nist-level'], "claimed-nist-level")
oqs_scheme_yaml['claimed-security'] = rhs_if_not_equal(oqs_scheme_yaml['claimed-security'], 'EUF-CMA', "claimed-security")
if oqs_scheme_yaml['claimed-security'] not in ["EUF-CMA", "SUF-CMA"]:
oqs_scheme_yaml['claimed-security'] = rhs_if_not_equal(oqs_scheme_yaml['claimed-security'], 'EUF-CMA', "claimed-security")
oqs_scheme_yaml['length-public-key'] = rhs_if_not_equal(oqs_scheme_yaml['length-public-key'], upstream_yaml['length-public-key'], "length-public-key")
oqs_scheme_yaml['length-secret-key'] = rhs_if_not_equal(oqs_scheme_yaml['length-secret-key'], upstream_yaml['length-secret-key'], "legnth-secret-key")
oqs_scheme_yaml['length-signature'] = rhs_if_not_equal(oqs_scheme_yaml['length-signature'], upstream_yaml['length-signature'], "length-signature")
Expand Down

0 comments on commit a47a23a

Please sign in to comment.