Skip to content

Conversation

@bjornvolcker
Copy link
Contributor

For efficiency when transmitting the hash list hashing both the
FH and all TGs becomes quite costly. Therefore, one single hash
for the entire frame (FH+TGs) is generated.
The logic is similar to hashing when a NALU is split into
several parts. There is one major difference though, and that is
that for FH+TGs it is not known when to complete the ongoing
hash until the next frame has been detected.

Therefore, a helper function sv_add_ongoing_hash() that handles
frame transitions has been added.

The commit updates both the signing and the validation side
which keeps the test intact.

For efficiency when transmitting the hash list hashing both the
FH and all TGs becomes quite costly. Therefore, one single hash
for the entire frame (FH+TGs) is generated.
The logic is similar to hashing when a NALU is split into
several parts. There is one major difference though, and that is
that for FH+TGs it is not known when to complete the ongoing
hash until the next frame has been detected.

Therefore, a helper function sv_add_ongoing_hash() that handles
frame transitions has been added.

The commit updates both the signing and the validation side
which keeps the test intact.
Copy link

@lusikamalo2 lusikamalo2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

@bjornvolcker bjornvolcker merged commit 72afa87 into master Aug 12, 2025
3 checks passed
@bjornvolcker bjornvolcker deleted the dev/add-fh-to-tests-4 branch August 12, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants