Skip to content

Commit 34d8d11

Browse files
committed
Add outputLength property to schema
1 parent ff45d63 commit 34d8d11

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

schema/2.0/model/cyclonedx-cryptography-2.0.schema.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,38 @@
321321
"$ref": "#/$defs/cryptographicFunction"
322322
}
323323
},
324+
"outputLength": {
325+
"title": "Output length",
326+
"description": "The output length provided by the cryptographic algorithm (in bits). For example: XOF output length, MAC tag length, derived key length for KDF.",
327+
"oneOf": [
328+
{
329+
"type": "integer",
330+
"minimum": 0
331+
},
332+
{
333+
"type": "object",
334+
"required": [
335+
"min",
336+
"max"
337+
],
338+
"additionalProperties": false,
339+
"properties": {
340+
"min": {
341+
"type": "integer",
342+
"title": "Minimum output length",
343+
"description": "The minimum output length provided by the cryptographic algorithm (in bits).",
344+
"minimum": 0
345+
},
346+
"max": {
347+
"type": "integer",
348+
"title": "Maximum output length",
349+
"description": "The maximum output length provided by the cryptographic algorithm (in bits).",
350+
"minimum": 0
351+
}
352+
}
353+
}
354+
]
355+
},
324356
"classicalSecurityLevel": {
325357
"type": "integer",
326358
"title": "classical security level",

0 commit comments

Comments
 (0)