Skip to content

Optimize get_part_pub_key and get_cert_chain when called together. #295

@mhatrevi

Description

@mhatrevi

In the re-endorsement path, we now call get_part_pub_key() (which already does GetCertChainInfo + GetCertificate for the last cert) and then call get_cert_chain() (which repeats GetCertChainInfo and fetches certs again). Consider refactoring to fetch the PID cert chain once and derive the PID public key from the last cert, so we avoid redundant DDI calls during retries/restores.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions