Skip to content

Commit 93c29e5

Browse files
authored
Add support for Streebog hashing algorithm (#525)
fixes #485
2 parents a0a6f8f + 760c2db commit 93c29e5

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
@@ -325,6 +325,8 @@ enum HashAlg {
325325
HASH_ALG_BLAKE_2_B_384 = 10;
326326
HASH_ALG_BLAKE_2_B_512 = 11;
327327
HASH_ALG_BLAKE_3 = 12;
328+
HASH_ALG_STREEBOG_256 = 13;
329+
HASH_ALG_STREEBOG_512 = 14;
328330
}
329331

330332
// 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
@@ -1134,6 +1134,8 @@ limitations under the License.
11341134
<xs:enumeration value="BLAKE2b-384"/>
11351135
<xs:enumeration value="BLAKE2b-512"/>
11361136
<xs:enumeration value="BLAKE3"/>
1137+
<xs:enumeration value="Streebog-256"/>
1138+
<xs:enumeration value="Streebog-512"/>
11371139
</xs:restriction>
11381140
</xs:simpleType>
11391141

0 commit comments

Comments
 (0)