Skip to content

Commit c9d1e9a

Browse files
Add Argon2 (RFC 9106) to Cryptography Registry (CycloneDX#793)
This PR adds Argon2 (RFC 9106) to `schema/cryptography-defs.json`. ## Notes on parameter naming vs Issue CycloneDX#756 Issue CycloneDX#756 proposes: `Argon2(id|i|d)[-{memoryMiB}][-{iterations}][-{parallelism}]`. RFC 9106 defines: - `m` as **memory size in kibibytes (KiB)**, - `t` as **number of passes**, - `p` as **degree of parallelism**. Accordingly, this PR uses: `Argon2(id|i|d)[-{memoryKiB}][-{passes}][-{parallelism}]` If the community prefers the Issue's naming for consistency with existing conventions, I can update the pattern accordingly. Refs: CycloneDX#756
2 parents 82fcb78 + 5c762cd commit c9d1e9a

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

schema/cryptography-defs.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,21 @@
14021402
}
14031403
]
14041404
},
1405+
{
1406+
"family": "Argon2",
1407+
"standard": [
1408+
{
1409+
"name": "RFC9106",
1410+
"url": "https://doi.org/10.17487/RFC9106"
1411+
}
1412+
],
1413+
"variant": [
1414+
{
1415+
"pattern": "Argon2(id|i|d)[-{memoryKiB}][-{passes}][-{parallelism}][-{saltLenBytes}][-{secretLenBytes}][-{associatedDataLenBytes}][-{tagLenBytes}]",
1416+
"primitive": "kdf"
1417+
}
1418+
]
1419+
},
14051420
{
14061421
"family": "PBKDF1",
14071422
"standard": [

schema/cryptography-defs.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
"A5/2",
249249
"AES",
250250
"ARIA",
251+
"Argon2",
251252
"Ascon",
252253
"BLAKE2",
253254
"BLAKE3",

0 commit comments

Comments
 (0)