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

Cherry-pick to earlgrey_1.0.0: [personalisation] dev seed hash generation and transfer #24860

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

github-actions[bot]
Copy link

This is an automatic cherry-pick of #24407 to branch earlgrey_1.0.0.

Vadim Bendebury added 2 commits October 23, 2024 23:12
…ling

Make sure that TLV accessor macros' arguments are evaluated once and
expressions passed as arguments are evaluated properly.

Also let the macros deal with big/little endian swapping of the header
values.

End to end Cros personalization post still succeeds.

Signed-off-by: Vadim Bendebury <[email protected]>
(cherry picked from commit b753b13)
The dev seed hash object is an array of two 64 byte variables, which
are 16th generation HMAC KDF of the entropy produced on the device.

The new object is passed in a perso TLV blob along with the
certificates generated on the device.

The object contents are hashed in the same hash stream where
certificates' contents are hashed, the resulting hash is compared by
the host with the locally produced hash.

The Cros personalization end to end test succeeds, the Dev seed hash
is printed out in the test log.

Signed-off-by: Vadim Bendebury <[email protected]>
(cherry picked from commit 21b3a50)
@github-actions github-actions bot requested review from a team as code owners October 23, 2024 23:12
@github-actions github-actions bot requested review from jwnrt and moidx and removed request for a team October 23, 2024 23:12
@timothytrippel timothytrippel requested review from timothytrippel and cfrantz and removed request for jwnrt October 23, 2024 23:14
@timothytrippel timothytrippel merged commit 585744e into earlgrey_1.0.0 Oct 24, 2024
26 checks passed
@timothytrippel timothytrippel deleted the backport-24407-to-earlgrey_1.0.0 branch October 24, 2024 06:31
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.

1 participant