Lines Matching refs:KeymasterBaseTest

72 class KeymasterBaseTest : public ::testing::Test {  class
74 KeymasterBaseTest() { in KeymasterBaseTest() function in keymaster::test::KeymasterBaseTest
83 virtual ~KeymasterBaseTest() {} in ~KeymasterBaseTest()
96 TEST_F(KeymasterBaseTest, TestValidKeyPeriodNoTags) { in TEST_F() argument
106 TEST_F(KeymasterBaseTest, TestInvalidActiveTime) { in TEST_F() argument
121 TEST_F(KeymasterBaseTest, TestValidActiveTime) { in TEST_F() argument
132 TEST_F(KeymasterBaseTest, TestInvalidOriginationExpireTime) { in TEST_F() argument
146 TEST_F(KeymasterBaseTest, TestInvalidOriginationExpireTimeOnUsgae) { in TEST_F() argument
159 TEST_F(KeymasterBaseTest, TestValidOriginationExpireTime) { in TEST_F() argument
172 TEST_F(KeymasterBaseTest, TestInvalidUsageExpireTime) { in TEST_F() argument
186 TEST_F(KeymasterBaseTest, TestInvalidPubkeyUsageExpireTime) { in TEST_F() argument
201 TEST_F(KeymasterBaseTest, TestInvalidUsageExpireTimeOnOrigination) { in TEST_F() argument
214 TEST_F(KeymasterBaseTest, TestValidUsageExpireTime) { in TEST_F() argument
227 TEST_F(KeymasterBaseTest, TestValidSingleUseAccesses) { in TEST_F() argument
241 TEST_F(KeymasterBaseTest, TestInvalidMaxOps) { in TEST_F() argument
259 TEST_F(KeymasterBaseTest, TestOverFlowMaxOpsTable) { in TEST_F() argument
293 TEST_F(KeymasterBaseTest, TestInvalidTimeBetweenOps) { in TEST_F() argument
313 TEST_F(KeymasterBaseTest, TestValidTimeBetweenOps) { in TEST_F() argument
329 TEST_F(KeymasterBaseTest, TestOptTimeoutTableOverflow) { in TEST_F() argument
410 TEST_F(KeymasterBaseTest, TestPubkeyOptTimeoutTableOverflow) { in TEST_F() argument
429 TEST_F(KeymasterBaseTest, TestInvalidPurpose) { in TEST_F() argument
442 TEST_F(KeymasterBaseTest, TestIncompatiblePurposeSymmetricKey) { in TEST_F() argument
457 TEST_F(KeymasterBaseTest, TestIncompatiblePurposeAssymmetricKey) { in TEST_F() argument
472 TEST_F(KeymasterBaseTest, TestInvalidCallerNonce) { in TEST_F() argument
498 TEST_F(KeymasterBaseTest, TestBootloaderOnly) { in TEST_F() argument
510 TEST_F(KeymasterBaseTest, TestInvalidTag) { in TEST_F() argument
519 TEST_F(KeymasterBaseTest, TestAuthPerOpSuccess) { in TEST_F() argument
542 TEST_F(KeymasterBaseTest, TestAuthPerOpInvalidTokenSignature) { in TEST_F() argument
571 TEST_F(KeymasterBaseTest, TestAuthPerOpWrongChallenge) { in TEST_F() argument
595 TEST_F(KeymasterBaseTest, TestAuthPerOpNoAuthType) { in TEST_F() argument
622 TEST_F(KeymasterBaseTest, TestAuthPerOpWrongAuthType) { in TEST_F() argument
651 TEST_F(KeymasterBaseTest, TestAuthPerOpWrongSid) { in TEST_F() argument
680 TEST_F(KeymasterBaseTest, TestAuthPerOpSuccessAlternateSid) { in TEST_F() argument
703 TEST_F(KeymasterBaseTest, TestAuthPerOpMissingToken) { in TEST_F() argument
745 TEST_F(KeymasterBaseTest, TestAuthAndNoAuth) { in TEST_F() argument
755 TEST_F(KeymasterBaseTest, TestTimedAuthSuccess) { in TEST_F() argument
780 TEST_F(KeymasterBaseTest, TestTimedAuthTimedOut) { in TEST_F() argument
829 TEST_F(KeymasterBaseTest, TestTimedAuthMissingToken) { in TEST_F() argument
863 TEST_F(KeymasterBaseTest, TestCreateKeyId) { in TEST_F() argument