Searched refs:result1 (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | VerificationTokenTest.cpp | 79 auto result1 = verifyAuthorization( in TEST_P() local 81 ASSERT_TRUE(result1.callSuccessful); in TEST_P() 86 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, result1.error); in TEST_P() 90 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 91 EXPECT_EQ(1U, result1.token.challenge); in TEST_P() 92 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P() 93 EXPECT_EQ(0U, result1.token.parametersVerified.size()) in TEST_P() 95 EXPECT_GT(result1.token.timestamp, 0U); in TEST_P() 118 auto km_time_delta = result2.token.timestamp - result1.token.timestamp; in TEST_P() 127 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P() [all …]
|
D | HmacKeySharingTest.cpp | 120 auto result1 = getHmacSharingParameters(keymaster()); in TEST_P() local 121 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 126 ASSERT_EQ(result1.params.seed, result2.params.seed) in TEST_P() 128 ASSERT_EQ(result1.params.nonce, result2.params.nonce) in TEST_P()
|
/hardware/interfaces/security/secureclock/aidl/vts/functional/ |
D | SecureClockAidlTest.cpp | 112 auto result1 = getTimestampToken(1 /* challenge */); in TEST_P() local 114 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P() 115 EXPECT_EQ(1U, result1.token.challenge); in TEST_P() 116 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P() 117 EXPECT_EQ(32U, result1.token.mac.size()); in TEST_P() 136 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P() 138 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P() 142 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P() 144 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P() 153 auto result1 = getTimestampToken(0 /* challenge */); in TEST_P() local [all …]
|
/hardware/interfaces/security/sharedsecret/aidl/vts/functional/ |
D | SharedSecretAidlTest.cpp | 144 auto result1 = getSharedSecretParameters(sharedSecret); in TEST_F() local 145 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_F() 148 ASSERT_EQ(result1.params.seed, result2.params.seed) in TEST_F() 150 ASSERT_EQ(result1.params.nonce, result2.params.nonce) in TEST_F()
|