Skip to content

Commit 0cc2e3a

Browse files
committed
Added support for STREEBOG-256 and STREEBOG-512 hashing algorithms (#485)
Signed-off-by: Dmitry Volk <[email protected]>
1 parent efc7163 commit 0cc2e3a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

schema/bom-1.7.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ enum HashAlg {
314314
HASH_ALG_BLAKE_2_B_384 = 10;
315315
HASH_ALG_BLAKE_2_B_512 = 11;
316316
HASH_ALG_BLAKE_3 = 12;
317+
STREEBOG_256 = 13;
318+
STREEBOG_512 = 14;
317319
}
318320

319321
// Specifies the file hash of the component

schema/bom-1.7.schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,9 @@
12201220
"BLAKE2b-256",
12211221
"BLAKE2b-384",
12221222
"BLAKE2b-512",
1223-
"BLAKE3"
1223+
"BLAKE3",
1224+
"STREEBOG-256",
1225+
"STREEBOG-512"
12241226
]
12251227
},
12261228
"hash-content": {

schema/bom-1.7.xsd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,8 @@ limitations under the License.
11311131
<xs:enumeration value="BLAKE2b-384"/>
11321132
<xs:enumeration value="BLAKE2b-512"/>
11331133
<xs:enumeration value="BLAKE3"/>
1134+
<xs:enumeration value="STREEBOG-256"/>
1135+
<xs:enumeration value="STREEBOG-512"/>
11341136
</xs:restriction>
11351137
</xs:simpleType>
11361138

0 commit comments

Comments
 (0)