Lines Matching refs:token
39 TimeStampToken token; member
45 GetReturnErrorCode(secureClock_->generateTimeStamp(in_challenge, &result.token)); in getTimestampToken()
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()
125 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
126 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
127 EXPECT_EQ(32U, result2.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()
156 EXPECT_EQ(0U, result1.token.challenge); in TEST_P()
157 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P()
158 EXPECT_EQ(32U, result1.token.mac.size()); in TEST_P()
166 EXPECT_EQ(1U, result2.token.challenge); in TEST_P()
167 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
168 EXPECT_EQ(32U, result2.token.mac.size()); in TEST_P()
178 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
180 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
184 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
186 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()