diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2024-04-29 16:27:56 -0400 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2024-05-09 22:30:51 +0300 |
commit | acd5eb4f50241c5e3c2e0056c0e2151295796416 (patch) | |
tree | 30354fef4cd50489d574cc302a62c85450b2b01e /security | |
parent | d926ee92e84146ff85877b15d9ac0c7cd7c422c6 (diff) |
tpm: Add tpm_buf_read_{u8,u16,u32}
Declare reader functions for the instances of struct tpm_buf. If the read
goes out of boundary, TPM_BUF_BOUNDARY_ERROR is set, and subsequent read
will do nothing.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions