]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tpm: Fix spelling for tpmu_ha union
authorEddie James <eajames@linux.ibm.com>
Tue, 24 Oct 2023 15:43:47 +0000 (10:43 -0500)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 27 Oct 2023 10:08:23 +0000 (13:08 +0300)
tmpu -> tpmu

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/tpm-v2.h

index 2b6980e441d62292aab51e1650a079c9c1f0821b..6684033debef7c11ffa44a16ecfd7facaed9456b 100644 (file)
@@ -169,7 +169,7 @@ struct tcg_pcr_event {
 /**
  * Definition of TPMU_HA Union
  */
-union tmpu_ha {
+union tpmu_ha {
        u8 sha1[TPM2_SHA1_DIGEST_SIZE];
        u8 sha256[TPM2_SHA256_DIGEST_SIZE];
        u8 sm3_256[TPM2_SM3_256_DIGEST_SIZE];
@@ -185,7 +185,7 @@ union tmpu_ha {
  */
 struct tpmt_ha {
        u16 hash_alg;
-       union tmpu_ha digest;
+       union tpmu_ha digest;
 } __packed;
 
 /**