Skip to content

Add test vectors appendix#88

Open
suhasHere wants to merge 1 commit into
mainfrom
vectors
Open

Add test vectors appendix#88
suhasHere wants to merge 1 commit into
mainfrom
vectors

Conversation

@suhasHere
Copy link
Copy Markdown
Collaborator

No description provided.

@suhasHere suhasHere requested a review from fluffy May 30, 2026 03:26
Copy link
Copy Markdown
Collaborator

@fluffy fluffy left a comment

Choose a reason for hiding this comment

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

This looks good. I have two tiny comments that you decide if you want to ignore or not.

{
"namespace_tuples": ["example.com"],
"track_name": "audio",
"serialized_full_track_name":
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

for all the stuff that is hex encoded, I think it might be good to add _hex to end of name so the json field would be "serialized_full_track_name_hex"

Each entry tests HKDF-Extract and HKDF-Expand for deriving `moq_key`
and `moq_salt` from the `track_base_key`. The `track_base_key` values
are ASCII strings: "sixteen byte key" (16 bytes) for SHA-256 suites and
"a]256-bit-base-key-for-test!!!!!" (32 bytes) for SHA-512 suites.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Did you mean to have the ] in the key - its a bit wierd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants