• Home
  • Raw
  • Download

Lines Matching refs:CheckFailed

130 #define CheckFailed(rval, expected_rval) { \  macro
192 CheckFailed( rval, TPM2_RC_INITIALIZE ); in TestTpmStartup()
281 CheckFailed(rval, TPM2_RC_VALUE+TPM2_RC_1+TPM2_RC_P); in TestTpmGetCapability()
306 CheckFailed( rval, TPM2_RC_DISABLED ); in TestTpmClear()
313 CheckFailed( rval, TPM2_RC_9 + TPM2_RC_RESERVED_BITS ); in TestTpmClear()
316 CheckFailed( rval, TPM2_RC_9 + TPM2_RC_RESERVED_BITS ); in TestTpmClear()
378 CheckFailed( rval, TPM2_RC_VALUE + TPM2_RC_P + TPM2_RC_3 ); in TestStartAuthSession()
499 CheckFailed( rval, TPM2_RC_1 + TPM2_RC_S + TPM2_RC_BAD_AUTH ); in TestHierarchyChangeAuth()
502 CheckFailed( rval, TPM2_RC_1 + TPM2_RC_VALUE ); in TestHierarchyChangeAuth()
608 CheckFailed( rval, TSS2_SYS_RC_BAD_VALUE ); in TestPcrExtend()
624 CheckFailed( rval, TPM2_RC_LOCALITY ); in TestPcrExtend()
641 CheckFailed( rval, TPM2_RC_VALUE+TPM2_RC_1+TPM2_RC_P ); in TestShutdown()
688 CheckFailed( rval, TPM2_RC_2 + TPM2_RC_HANDLE ); in TestNV()
700 CheckFailed( rval, TPM2_RC_NV_UNINITIALIZED ); in TestNV()
704 CheckFailed( rval, TPM2_RC_NV_DEFINED ); in TestNV()
739 CheckFailed( rval, TPM2_RC_NV_LOCKED ); in TestNV()
770 CheckFailed( rval, TPM2_RC_NV_AUTHORIZATION ); in TestNV()
832 CheckFailed( rval, TSS2_SYS_RC_BAD_VALUE ); in TestHierarchyControl()
840 CheckFailed( rval, TPM2_RC_NV_UNINITIALIZED ); in TestHierarchyControl()
846 CheckFailed( rval, TPM2_RC_1 + TPM2_RC_HIERARCHY ); in TestHierarchyControl()
849 CheckFailed( rval, TPM2_RC_1 + TPM2_RC_HIERARCHY ); in TestHierarchyControl()
999 CheckFailed( rval, TPM2_RC_LOCALITY ); in TestLocality()
1014 CheckFailed( rval, TPM2_RC_POLICY_FAIL + TPM2_RC_S + TPM2_RC_1 ); in TestLocality()
1159 CheckFailed( rval, TPM2_RC_S + TPM2_RC_1 + TPM2_RC_AUTH_FAIL ); in PasswordUnseal()
1261 CheckFailed( rval, 0xffffffff ); in TestPolicy()
1698 CheckFailed( rval, in PasswordTest()
1734 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); in GetSetDecryptParamTests()
1738 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); in GetSetDecryptParamTests()
1753 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); in GetSetDecryptParamTests()
1756 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); in GetSetDecryptParamTests()
1759 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); in GetSetDecryptParamTests()
1764 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); in GetSetDecryptParamTests()
1767 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); in GetSetDecryptParamTests()
1772 CheckFailed( rval, TSS2_SYS_RC_BAD_SIZE ); in GetSetDecryptParamTests()
1775 CheckFailed( rval, TSS2_SYS_RC_BAD_SIZE ); in GetSetDecryptParamTests()
1803 CheckFailed( rval, TSS2_SYS_RC_NO_DECRYPT_PARAM ); in GetSetDecryptParamTests()
1806 CheckFailed( rval, TSS2_SYS_RC_NO_DECRYPT_PARAM ); in GetSetDecryptParamTests()
1835 CheckFailed(rval, TSS2_SYS_RC_INSUFFICIENT_CONTEXT); in GetSetDecryptParamTests()
1882 CheckFailed( rval, TSS2_SYS_RC_BAD_SIZE ); in GetSetDecryptParamTests()
1929 CheckFailed(rval, TSS2_SYS_RC_BAD_REFERENCE); in GetTctiContextTests()
1932 CheckFailed(rval, TSS2_SYS_RC_BAD_REFERENCE); in GetTctiContextTests()
1968 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); /* #2 */ in GetSetEncryptParamTests()
1971 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); /* #3 */ in GetSetEncryptParamTests()
1997 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #6 */ in GetSetEncryptParamTests()
2000 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #7 */ in GetSetEncryptParamTests()
2003 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #8 */ in GetSetEncryptParamTests()
2017 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); /* #11 */ in GetSetEncryptParamTests()
2020 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); /* #12 */ in GetSetEncryptParamTests()
2027 CheckFailed( rval, TSS2_SYS_RC_BAD_SEQUENCE ); /* #13 */ in GetSetEncryptParamTests()
2042 CheckFailed( rval, TSS2_SYS_RC_NO_ENCRYPT_PARAM ); /* #15 */ in GetSetEncryptParamTests()
2046 CheckFailed( rval, TSS2_SYS_RC_NO_ENCRYPT_PARAM ); /* #16 */ in GetSetEncryptParamTests()
2063 CheckFailed( rval, TSS2_SYS_RC_BAD_SIZE ); /* #20 */ in GetSetEncryptParamTests()
2068 CheckFailed( rval, TSS2_SYS_RC_BAD_SIZE ); /* #21 */ in GetSetEncryptParamTests()
2093 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #25 */ in GetSetEncryptParamTests()
2096 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #26 */ in GetSetEncryptParamTests()
2099 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #27 */ in GetSetEncryptParamTests()
2102 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #28 */ in GetSetEncryptParamTests()
2105 CheckFailed( rval, TSS2_SYS_RC_BAD_REFERENCE ); /* #29 */ in GetSetEncryptParamTests()
2119 CheckFailed( rval, TSS2_SYS_RC_BAD_VALUE ); in EcEphemeralTest()