The current tpm2_pcr_read is hardcoded using SHA256. Make the
actual command to TPM configurable to use wider range of algorithms.
The current command line is kept as is i.e limited to SHA-256 only.
Signed-off-by: Ruchika Gupta
Reviewed-by: Ilias Apalodimas
---
v7: No change
v6: No change
v5:
On Wed, Nov 24, 2021 at 01:26:24PM +0530, Ruchika Gupta wrote:
> The current tpm2_pcr_read is hardcoded using SHA256. Make the
> actual command to TPM configurable to use wider range of algorithms.
> The current command line is kept as is i.e limited to SHA-256 only.
>
> Signed-off-by: Ruchika Gup
On Tue, Nov 23, 2021 at 05:23:34PM +0530, Ruchika Gupta wrote:
> The current tpm2_pcr_read is hardcoded using SHA256. Make the
> actual command to TPM configurable to use wider range of algorithms.
> The current command line is kept as is i.e limited to SHA-256 only.
>
> Signed-off-by: Ruchika Gup
The current tpm2_pcr_read is hardcoded using SHA256. Make the
actual command to TPM configurable to use wider range of algorithms.
The current command line is kept as is i.e limited to SHA-256 only.
Signed-off-by: Ruchika Gupta
---
v3: No change
v2:
Change algorithm from u32 to u16
Add parameter
On Tue, Nov 23, 2021 at 05:23:34PM +0530, Ruchika Gupta wrote:
> The current tpm2_pcr_read is hardcoded using SHA256. Make the
> actual command to TPM configurable to use wider range of algorithms.
> The current command line is kept as is i.e limited to SHA-256 only.
>
> Signed-off-by: Ruchika Gup
The current tpm2_pcr_read is hardcoded using SHA256. Make the
actual command to TPM configurable to use wider range of algorithms.
The current command line is kept as is i.e limited to SHA-256 only.
Signed-off-by: Ruchika Gupta
---
v2:
Change algorithm from u32 to u16
Add parameter description in
The current tpm2_pcr_read is hardcoded using SHA256. Make the
actual command to TPM configurable to use wider range of algorithms.
The current command line is kept as is i.e limited to SHA-256 only.
Signed-off-by: Ruchika Gupta
---
v2:
Change algorithm from u32 to u16
Add parameter description in
Hi Ruchika,
[...]
> - void *data, unsigned int *updates);
> + u32 algorithm, void *data, u32 digest_len,
This goes into a tpm_u16() call. It doesn't break anything currently, but
shouldn't we define this as u16 ?
> + unsigned int *updates);
>
> /**
The current tpm2_pcr_read is hardcoded using SHA256. Make the
actual command to TPM configurable to use wider range of algorithms.
The current command line is kept as is i.e limited to SHA-256 only.
Signed-off-by: Ruchika Gupta
---
cmd/tpm-v2.c | 3 ++-
include/tpm-v2.h | 3 ++-
lib/tpm-v2
9 matches
Mail list logo