Skip to content

[dpe] Update to non-generic crypto API#3621

Merged
zhalvorsen merged 2 commits into
chipsalliance:mainfrom
zhalvorsen:push-wpmqmpuplnsl
Apr 25, 2026
Merged

[dpe] Update to non-generic crypto API#3621
zhalvorsen merged 2 commits into
chipsalliance:mainfrom
zhalvorsen:push-wpmqmpuplnsl

Conversation

@zhalvorsen
Copy link
Copy Markdown
Collaborator

Having generics in the API was duplicating much of the complicated DPE code (certificate encoding) which bloated the code size unnecessarily. DPE was updated to remove the generics so this gains some codespace back.

@zhalvorsen zhalvorsen force-pushed the push-wpmqmpuplnsl branch 3 times, most recently from f3b31c5 to 97c9823 Compare April 15, 2026 17:15
Having generics in the API was duplicating much of the complicated DPE code
(certificate encoding) which bloated the code size unnecessarily. DPE was
updated to remove the generics so this gains some codespace back.
Copy link
Copy Markdown
Contributor

@fdamato fdamato left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks Zach !

Comment thread drivers/src/sha2_512_384.rs
Comment thread runtime/tests/runtime_integration_tests/test_authorize_and_stash.rs
Copy link
Copy Markdown
Collaborator

@clundin25 clundin25 left a comment

Choose a reason for hiding this comment

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

Nice code space gains !

@zhalvorsen zhalvorsen added this pull request to the merge queue Apr 25, 2026
Merged via the queue into chipsalliance:main with commit 3dee8a3 Apr 25, 2026
25 checks passed
@zhalvorsen zhalvorsen deleted the push-wpmqmpuplnsl branch April 25, 2026 06:27
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.

4 participants