| commit | 2adab98e049f6065757b3e811dd42725b1913f49 | [log] [tgz] |
|---|---|---|
| author | Mudit Sharma <mudit.sharma@arm.com> | Wed Dec 24 12:36:02 2025 +0000 |
| committer | Mudit Sharma <mudit.sharma@arm.com> | Fri Jan 30 11:05:46 2026 +0000 |
| tree | 7b8d0519614de47ec8f88daf098ea868dc42cfef | |
| parent | b4aa31565ceec19b358f47bdd8af6efb5a5a87be [diff] |
feat: add single PCR read functionality The `tpm_pcr_read_single` function required the following params: - PCR index value - The hash algorithm value (TPM_ALG_<TYPE> as seen in TCG TPM2 structure spec) - `pcr_digest_read` buffer that returns the digest read back from the PCR. - `pcr_digest_read_len` length of the byte buffer passed in to the read the digest Change-Id: I7f37ea58a7578e1d715f16fd8d4977f34a48507d Signed-off-by: Mudit Sharma <mudit.sharma@arm.com>
TCG2-compliant TPM library based on the TCG PC Client Platform TPM Profile for TPM 2.0 Specification v1.06.
This library provides a lightweight C interface for interacting with TPM 2.0 devices, specifically targeting platforms compliant with the TCG2 specification.
cmake -B build cmake --build build
CC=aarch64-linux-gnu-gcc cmake -B build -DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY cmake --build build
This project is licensed under the BSD 3-Clause License. See the LICENSE file for more information.