Project

General

Profile

Actions

Cleanup #421

open

Feature #420: Use standard format of TPM event log

Change API of functions taking hash as an argument

Added by Krystian Hebel over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
10/12/2022
% Done:

0%

Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

All existing functions that take a digest as an input assume that only one hashing algorithm is used at a time. Crypto agile format entry can (and should) log every used PCR bank in one entry for a given measurement. To make it work, some of the arguments must be changed, e.g.:

  • pass number of algorithms used;
  • instead of algorithm ID, pass a pointer to array of such IDs, with size equal to above;
  • instead of hash, pass a pointer to array of hashes, with size and order as above.
Actions

Also available in: Atom PDF