Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8816188f authored by Jarkko Sakkinen's avatar Jarkko Sakkinen
Browse files

tpm: remove struct tpm_pcrextend_in



Removed struct tpm_pcrextend_in as it is not used for anything anymore.

Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 30bbafe3
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -363,11 +363,6 @@ struct tpm_pcrread_in {
	__be32	pcr_idx;
} __packed;

struct tpm_pcrextend_in {
	__be32	pcr_idx;
	u8	hash[TPM_DIGEST_SIZE];
} __packed;

/* 128 bytes is an arbitrary cap. This could be as large as TPM_BUFSIZE - 18
 * bytes, but 128 is still a relatively large number of random bytes and
 * anything much bigger causes users of struct tpm_cmd_t to start getting
@@ -392,7 +387,6 @@ typedef union {
	u8	readpubek_out_buffer[sizeof(struct tpm_readpubek_params_out)];
	struct	tpm_pcrread_in	pcrread_in;
	struct	tpm_pcrread_out	pcrread_out;
	struct	tpm_pcrextend_in pcrextend_in;
	struct	tpm_getrandom_in getrandom_in;
	struct	tpm_getrandom_out getrandom_out;
	struct tpm_startup_in startup_in;