Skip to content

Cherry-pick to earlgrey_1.0.0: [dice] Refactor some dice related constants and APIs #25047

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

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Nov 8, 2024

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

It'll be invoked by several modules, so move it to base:util library for
code reuse.

Signed-off-by: Tommy Chiu <[email protected]>
(cherry picked from commit c5a98c9)
Both X509 and CWT DICE implementations need these definitions. Move it
out from the original source file for code reuse.

Signed-off-by: Tommy Chiu <[email protected]>
(cherry picked from commit aebd611)
The autogen source from templates needs some more APIs to utilize the
Cbor structure, including
- calculate the size of a given cbor argument
- add a bstr/tstr header with size, and rewind the cursor
- copy the raw data from input pointer to the CborOut buffer

Signed-off-by: Tommy Chiu <[email protected]>
(cherry picked from commit c735b28)
@github-actions github-actions bot requested a review from a team as a code owner November 8, 2024 08:30
@github-actions github-actions bot requested review from engdoreis and removed request for a team November 8, 2024 08:30
@timothytrippel timothytrippel requested review from timothytrippel and tommychiu-github and removed request for engdoreis November 8, 2024 08:31
@timothytrippel timothytrippel merged commit bfa48c3 into earlgrey_1.0.0 Nov 8, 2024
26 checks passed
@timothytrippel timothytrippel deleted the backport-25023-to-earlgrey_1.0.0 branch November 8, 2024 18:39
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.

3 participants