On Wed, 23 Sep 2026 21:25:27 -0400, Stefan Berger <[email protected]> wrote:
> Add two test cases with commands with bad length:
> 
> - Send a command that indicates a very large size (0x10000 bytes) to the
>   TPM. This will only work with the CRB interface since the TIS wants
>   to receive all the bytes indicated by the command header.
> 
> - Send a command that indicates that its size is only 9 bytes, which is
>   too short to be valid since the command header alone is 10 bytes.
>   This test only works with the TIS. The CRB silently rejects commands
>   that are shorter than the command header.
> 
> [...]

Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>

-- 
Marc-AndrĂ© Lureau <[email protected]>


Reply via email to