diff options
author | Tom Rini <trini@konsulko.com> | 2021-04-18 08:47:27 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-18 08:47:27 -0400 |
commit | 3a9aaefcaa3efc2a1cef86fbe0bf229a1bff9902 (patch) | |
tree | 2416f97d2f91e66e38bd5dd7f9217092e9332b49 /lib/efi_loader/efi_tcg2.c | |
parent | c6ae5e9869cf7a9fbf1c9cec5aaa3fd5b8def670 (diff) | |
parent | b1a7a5e0b8822a0868ee9318d8d3fa9645efc12d (diff) | |
download | u-boot-3a9aaefcaa3efc2a1cef86fbe0bf229a1bff9902.tar.gz |
Merge tag 'efi-2021-07-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efiWIP/18Apr2021
Pull request for efi-2021-07-rc1-2
Documentation:
man-page for fatinfo
Bug fixes:
memory leak in efi_capsule_scan_dir()
incorrect invocations of EFI_CALL macro creating ESRT table
buffer overflow in tcg2_create_digest()
Diffstat (limited to 'lib/efi_loader/efi_tcg2.c')
-rw-r--r-- | lib/efi_loader/efi_tcg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index ed86a220fb..d5eca68769 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -515,7 +515,7 @@ static efi_status_t tcg2_create_digest(const u8 *input, u32 length, sha1_context ctx; sha256_context ctx_256; sha512_context ctx_512; - u8 final[TPM2_ALG_SHA512]; + u8 final[TPM2_SHA512_DIGEST_SIZE]; efi_status_t ret; u32 active; int i; |