Add a test case for a too short command

Added a new test case to tpm2_smoke.py:

  SmokeTest.test_too_short_cmd()

This test will send a command to the TPM whose command length is
longer than the number of bytes sent. The driver should reject
this command and not allow it to pass through.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
1 file changed
tree: bc7aea2d6d896927d2bebc3a31615f159ff0d5c4
  1. LICENSE
  2. README.md
  3. keyctl-smoke.sh
  4. tpm2-flush
  5. tpm2-list-handles
  6. tpm2-parse-error
  7. tpm2-pcr-policy
  8. tpm2-read-pcrs
  9. tpm2-reset-da-lock
  10. tpm2-root-key
  11. tpm2.py
  12. tpm2_smoke.py
README.md

This is a set of scripts for testing the Linux TPM driver TPM2 2.0 functionality.