Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Streebog hashing algorithm #525

Open
wants to merge 3 commits into
base: 1.7-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
HASH_ALG_STREEBOG_256 = 13;
HASH_ALG_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