Skip to content

Commit

Permalink
add secp384r1 mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick St-Louis <[email protected]>
  • Loading branch information
PatStLouis committed Mar 26, 2024
1 parent 8e2fe13 commit 34524ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pymdoccbor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
import os

COSEKEY_HAZMAT_CRV_MAP = {
"secp256r1": "P_256"
"secp256r1": "P_256",
"secp384r1": "P_384"
}

CRV_LEN_MAP = {
"secp256r1": 32,
"secp384r1": 48,
}

PYMDOC_HASHALG: str = os.getenv('PYMDOC_HASHALG', "SHA-256")
Expand Down

0 comments on commit 34524ec

Please sign in to comment.