Skip to content

Commit

Permalink
added more descriptive comments
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Ventura <[email protected]>
  • Loading branch information
feventura committed Mar 17, 2024
1 parent 7603bbd commit 0a3519f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions oqs-template/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ sigs:
# 'security': '128',
# 'oid': '2.16.840.1.114027.80.1.8'}]
-
# The Composite OIDs are kept up to date by @feventura (Entrust)
# These are prototype OIDs and are in line with draft-ounsworth-pq-composite-sigs-12
# OID scheme for composite variants:
# joint-iso-itu-t (2)
# country (16)
Expand Down
1 change: 1 addition & 0 deletions oqs-template/scripts/common.py/sig_algs.fragment
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
'{{ variant['name'] }}_{{ composite_alg['name'] }}',
{%- endfor -%}
{%- endfor %} {%- endfor %}

6 changes: 4 additions & 2 deletions oqsprov/oqs_prov.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ struct oqsx_key_st {
#endif
int references;

/* point to actual priv key material -- classic key, if present, first,
* unless is composite i.e., OQS key always at comp_*key[numkeys-1]
/* point to actual priv key material -- if is a hydrid, the classic key will
* be present first, i.e., OQS key always at comp_*key[numkeys-1] - if is a
* composite, the classic key will be presented second, i.e., OQS key always
* at comp_*key[0]
*/
void **comp_privkey;
void **comp_pubkey;
Expand Down
3 changes: 2 additions & 1 deletion scripts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
# post-quantum + classical signatures
'p256_dilithium2','rsa3072_dilithium2','p384_dilithium3','p521_dilithium5','p256_mldsa44','rsa3072_mldsa44','p384_mldsa65','p521_mldsa87','p256_falcon512','rsa3072_falcon512','p521_falcon1024','p256_sphincssha2128fsimple','rsa3072_sphincssha2128fsimple','p256_sphincssha2128ssimple','rsa3072_sphincssha2128ssimple','p384_sphincssha2192fsimple','p256_sphincsshake128fsimple','rsa3072_sphincsshake128fsimple',
# post-quantum + classical signatures (COMPOSITE)
'mldsa44_pss2048','mldsa44_rsa2048','mldsa44_ed25519','mldsa44_p256','mldsa44_bp256','mldsa65_pss3072','mldsa65_rsa3072','mldsa65_p256','mldsa65_bp256','mldsa65_ed25519','mldsa87_p384','mldsa87_bp384','mldsa87_ed448','falcon512_p256','falcon512_bp256','falcon512_ed25519',##### OQS_TEMPLATE_FRAGMENT_SIG_ALGS_END
'mldsa44_pss2048','mldsa44_rsa2048','mldsa44_ed25519','mldsa44_p256','mldsa44_bp256','mldsa65_pss3072','mldsa65_rsa3072','mldsa65_p256','mldsa65_bp256','mldsa65_ed25519','mldsa87_p384','mldsa87_bp384','mldsa87_ed448','falcon512_p256','falcon512_bp256','falcon512_ed25519',
##### OQS_TEMPLATE_FRAGMENT_SIG_ALGS_END
]

SERVER_START_ATTEMPTS = 10
Expand Down

0 comments on commit 0a3519f

Please sign in to comment.