Skip to content

PcrEventInputs alloc-only method? #780

Closed
@RaitoBezarius

Description

@RaitoBezarius

Hi there (again me), I am doing some TPM2 stuff with the library.

I see that PcrEventInputs::new_in_buffer is available, but requires the user to perform the allocation, it is a bit suboptimal because the required size requires using computations of the sizes (basically copying the first line in the impl).

This could be awesome with a PcrEventInputs::new which does the allocation for us.

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