Lines Matching defs:KeymasterBaseTest

72 class KeymasterBaseTest : public ::testing::Test {  class
74 KeymasterBaseTest() { in KeymasterBaseTest() function in keymaster::test::KeymasterBaseTest
97 TEST_F(KeymasterBaseTest, TestValidKeyPeriodNoTags) { in TEST_F() argument
108 TEST_F(KeymasterBaseTest, TestInvalidActiveTime) { in TEST_F() argument
124 TEST_F(KeymasterBaseTest, TestValidActiveTime) { in TEST_F() argument
136 TEST_F(KeymasterBaseTest, TestInvalidOriginationExpireTime) { in TEST_F() argument
152 TEST_F(KeymasterBaseTest, TestInvalidOriginationExpireTimeOnUsgae) { in TEST_F() argument
165 TEST_F(KeymasterBaseTest, TestValidOriginationExpireTime) { in TEST_F() argument
178 TEST_F(KeymasterBaseTest, TestInvalidUsageExpireTime) { in TEST_F() argument
192 TEST_F(KeymasterBaseTest, TestInvalidPubkeyUsageExpireTime) { in TEST_F() argument
207 TEST_F(KeymasterBaseTest, TestInvalidUsageExpireTimeOnOrigination) { in TEST_F() argument
220 TEST_F(KeymasterBaseTest, TestValidUsageExpireTime) { in TEST_F() argument
233 TEST_F(KeymasterBaseTest, TestValidSingleUseAccesses) { in TEST_F() argument
249 TEST_F(KeymasterBaseTest, TestInvalidMaxOps) { in TEST_F() argument
272 TEST_F(KeymasterBaseTest, TestOverFlowMaxOpsTable) { in TEST_F() argument
312 TEST_F(KeymasterBaseTest, TestInvalidTimeBetweenOps) { in TEST_F() argument
335 TEST_F(KeymasterBaseTest, TestValidTimeBetweenOps) { in TEST_F() argument
353 TEST_F(KeymasterBaseTest, TestOptTimeoutTableOverflow) { in TEST_F() argument
455 TEST_F(KeymasterBaseTest, TestPubkeyOptTimeoutTableOverflow) { in TEST_F() argument
476 TEST_F(KeymasterBaseTest, TestInvalidPurpose) { in TEST_F() argument
489 TEST_F(KeymasterBaseTest, TestIncompatiblePurposeSymmetricKey) { in TEST_F() argument
506 TEST_F(KeymasterBaseTest, TestIncompatiblePurposeAssymmetricKey) { in TEST_F() argument
524 TEST_F(KeymasterBaseTest, TestInvalidCallerNonce) { in TEST_F() argument
551 TEST_F(KeymasterBaseTest, TestBootloaderOnly) { in TEST_F() argument
564 TEST_F(KeymasterBaseTest, TestInvalidTag) { in TEST_F() argument
573 TEST_F(KeymasterBaseTest, TestAuthPerOpSuccess) { in TEST_F() argument
596 TEST_F(KeymasterBaseTest, TestAuthPerOpInvalidTokenSignature) { in TEST_F() argument
625 TEST_F(KeymasterBaseTest, TestAuthPerOpWrongChallenge) { in TEST_F() argument
649 TEST_F(KeymasterBaseTest, TestAuthPerOpNoAuthType) { in TEST_F() argument
676 TEST_F(KeymasterBaseTest, TestAuthPerOpWrongAuthType) { in TEST_F() argument
705 TEST_F(KeymasterBaseTest, TestAuthPerOpWrongSid) { in TEST_F() argument
734 TEST_F(KeymasterBaseTest, TestAuthPerOpSuccessAlternateSid) { in TEST_F() argument
757 TEST_F(KeymasterBaseTest, TestAuthPerOpMissingToken) { in TEST_F() argument
800 TEST_F(KeymasterBaseTest, TestAuthAndNoAuth) { in TEST_F() argument
810 TEST_F(KeymasterBaseTest, TestTimedAuthSuccess) { in TEST_F() argument
835 TEST_F(KeymasterBaseTest, TestTimedAuthTimedOut) { in TEST_F() argument
885 TEST_F(KeymasterBaseTest, TestTimedAuthMissingToken) { in TEST_F() argument
920 TEST_F(KeymasterBaseTest, TestCreateKeyId) { in TEST_F() argument