Lines Matching refs:token
30 VerificationToken token; member
40 [&](auto error, auto token) { in verifyAuthorization() argument
42 result.token = token; in verifyAuthorization()
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()
105 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
107 EXPECT_EQ(0U, result2.token.parametersVerified.size()) 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()
129 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
151 EXPECT_EQ(0U, result1.token.challenge); in TEST_P()
152 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
153 EXPECT_EQ(0U, result1.token.parametersVerified.size()) in TEST_P()
155 EXPECT_GT(result1.token.timestamp, 0U); in TEST_P()
166 EXPECT_EQ(0U, result2.token.challenge); in TEST_P()
167 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
168 EXPECT_EQ(0U, result2.token.parametersVerified.size()) in TEST_P()
179 auto km_time_delta = result2.token.timestamp - result1.token.timestamp; in TEST_P()
183 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
185 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()