aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-10-29 08:49:34 -0400
committerAlexey Kardashevskiy <aik@ozlabs.ru>2024-11-06 14:54:43 +1100
commita8e19fa1268f1ead87a3fdd3b872e3398fef2340 (patch)
treeb38fb179eb28dbb71fd44859cb5db8d34005d97e /lib/libc
parent4ef07b9071a8601457ac7a55c981a69e03c5ea06 (diff)
downloadSLOF-a8e19fa1268f1ead87a3fdd3b872e3398fef2340.zip
SLOF-a8e19fa1268f1ead87a3fdd3b872e3398fef2340.tar.gz
SLOF-a8e19fa1268f1ead87a3fdd3b872e3398fef2340.tar.bz2
tpm: Implement firmware API call pass-through-to-tpm
Implement the firmware API call pass-through-to-tpm that allows a caller to pass a TPM command to the TPM. Since the buffer provided by the user will be used for returning the TPM's response it must be sufficiently large. To be safe, it should be of the size returned by the firmware API call tpm-get-maximum-cmd-size. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> [aik: replaced memcpy(hdr->totlen) with direct access] Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions