[PATCH v3] selftests/tpm2: Extend tests to cover partial reads

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Wed Feb 13 17:19:28 UTC 2019


On Wed, Feb 13, 2019 at 08:40:18AM -0800, Tadeusz Struk wrote:
> Three new tests added:
> 1. Send get random cmd, read header in 1st read, read the rest in second
>    read - expect success
> 2. Send get random cmd, read only part of the response, send another
>    get random command, read the response - expect success
> 3. Send get random cmd followed by another get random cmd, without
>    reading the first response - expect the second cmd to fail with -EBUSY
> 
> Signed-off-by: Tadeusz Struk <tadeusz.struk at intel.com>
OK, great, thank you.

They are in my master branch now.

/Jarkko



More information about the Linux-security-module-archive mailing list