summaryrefslogtreecommitdiff
path: root/payloads/libpayload/gdb
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-12-27 20:59:41 +0530
committerSubrata Banik <subratabanik@google.com>2023-12-31 03:18:42 +0000
commit0f90c5d5f9faa31b53da6680175da19f9d8efbfa (patch)
tree3dc9b823907a2f6f36820fcdd2a673b0c7468e43 /payloads/libpayload/gdb
parentacf10d6096460874785ab951c75589c133afb66f (diff)
security/tpm: Retrieve factory configuration for device w/ Google TPM
This patch enables retrieval of factory configuration data from Google TPM devices (both Cr50 and Ti50). This patch utilizes vendor-specific command TPM2_CR50_SUB_CMD_GET_FACTORY_CONFIG (68). The factory config space is a 64-bit, one-time programmable. For the unprovisioned one, the read will be 0x0. BUG=b:317880956 TEST=Able to retrieve the factory config from google/screebo. Change-Id: Ifd0e850770152a03aa46d7f8bbb76f7520a59081 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79736 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/gdb')
0 files changed, 0 insertions, 0 deletions