Skip to content

Commit 34524ec

Browse files
author
Patrick St-Louis
committed
add secp384r1 mapping
Signed-off-by: Patrick St-Louis <[email protected]>
1 parent 8e2fe13 commit 34524ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pymdoccbor/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
import os
33

44
COSEKEY_HAZMAT_CRV_MAP = {
5-
"secp256r1": "P_256"
5+
"secp256r1": "P_256",
6+
"secp384r1": "P_384"
67
}
78

89
CRV_LEN_MAP = {
910
"secp256r1": 32,
11+
"secp384r1": 48,
1012
}
1113

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

0 commit comments

Comments
 (0)