Add tpm2_smoke.SpaceTest.test_invalid_cc()

Added a test case for /dev/tpmrm0 where an invalid CC is supplied. The
in-kernel RM should respond with a synthetized response that contains
"TPM2_RC_COMMAND_CODE | TSS2_RESMGR_TPM_RC_LAYER" error code.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2 files changed
tree: 1c960506127bf258e6c13651ec5d9178bf397fbe
  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.