On 5/6/21 9:59 AM, Jason Andryuk wrote:
> The UINT32 <-> UINT16 casting in TPM2_GetRandom is incorrect. Use a
> local UINT16 as needed for the TPM hardware command and assign the
> result.
>
> Suggested-by: Samuel Thibault
> Signed-off-by: Jason Andryuk
> ---
Reviewed-by: Daniel P. Smith
>
Jason Andryuk, le jeu. 06 mai 2021 09:59:20 -0400, a ecrit:
> The UINT32 <-> UINT16 casting in TPM2_GetRandom is incorrect. Use a
> local UINT16 as needed for the TPM hardware command and assign the
> result.
>
> Suggested-by: Samuel Thibault
> Signed-off-by: Jason Andryuk
Reviewed-by: Samuel
The UINT32 <-> UINT16 casting in TPM2_GetRandom is incorrect. Use a
local UINT16 as needed for the TPM hardware command and assign the
result.
Suggested-by: Samuel Thibault
Signed-off-by: Jason Andryuk
---
stubdom/vtpmmgr/tpm2.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions