Skip to content

Commit

Permalink
Added support for STREEBOG-256 and STREEBOG-512 hashing algorithms (C…
Browse files Browse the repository at this point in the history
…ycloneDX#485)

Signed-off-by: Dmitry Volk <[email protected]>
  • Loading branch information
volkdm committed Sep 26, 2024
1 parent efc7163 commit 0cc2e3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions schema/bom-1.7.proto
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ enum HashAlg {
HASH_ALG_BLAKE_2_B_384 = 10;
HASH_ALG_BLAKE_2_B_512 = 11;
HASH_ALG_BLAKE_3 = 12;
STREEBOG_256 = 13;
STREEBOG_512 = 14;
}

// Specifies the file hash of the component
Expand Down
4 changes: 3 additions & 1 deletion schema/bom-1.7.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,9 @@
"BLAKE2b-256",
"BLAKE2b-384",
"BLAKE2b-512",
"BLAKE3"
"BLAKE3",
"STREEBOG-256",
"STREEBOG-512"
]
},
"hash-content": {
Expand Down
2 changes: 2 additions & 0 deletions schema/bom-1.7.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,8 @@ limitations under the License.
<xs:enumeration value="BLAKE2b-384"/>
<xs:enumeration value="BLAKE2b-512"/>
<xs:enumeration value="BLAKE3"/>
<xs:enumeration value="STREEBOG-256"/>
<xs:enumeration value="STREEBOG-512"/>
</xs:restriction>
</xs:simpleType>

Expand Down

0 comments on commit 0cc2e3a

Please sign in to comment.