Skip to content

Don't tpm_hash_alg for PCR bank selection and key options #953

@THS-on

Description

@THS-on

Currently the tpm_hash_alg option is used in the following places:

  • Hash algorithm used for the AK
  • Hash algorithm used for signature scheme
  • PCR selection for quotes

The first two are loosely tied together, but the selection of which type of PCRs should be included in the quote should be independent.

My proposed split would be:

  • pcr_hash_alg: selection of the PCR hash algorithm
  • tpm_hash_alg: by default set to auto or default which just uses the same as the EK. For the signing we should be able to use the option set in the AK and not needing to specify it separately for singing.

Metadata

Metadata

Assignees

No one assigned

    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