Lines Matching refs:rootOfTrust
62 void validateMacedRootOfTrust(const vector<uint8_t>& rootOfTrust) { in validateMacedRootOfTrust() argument
63 SCOPED_TRACE(testing::Message() << "RoT: " << bin2hex(rootOfTrust)); in validateMacedRootOfTrust()
65 const auto [macItem, macEndPos, macErrMsg] = cppbor::parse(rootOfTrust); in validateMacedRootOfTrust()
232 vector<uint8_t> rootOfTrust; in TEST_F() local
233 Status result = sb->getRootOfTrust({}, &rootOfTrust); in TEST_F()
326 vector<uint8_t> rootOfTrust; in TEST_F() local
327 result = tee->getRootOfTrust(challenge, &rootOfTrust); in TEST_F()
330 validateMacedRootOfTrust(rootOfTrust); in TEST_F()
332 result = sb->sendRootOfTrust(rootOfTrust); in TEST_F()
336 result = sb->sendRootOfTrust(rootOfTrust); in TEST_F()
370 vector<uint8_t> rootOfTrust; in TEST_F() local
371 result = tee->getRootOfTrust(challenge, &rootOfTrust); in TEST_F()
374 validateMacedRootOfTrust(rootOfTrust); in TEST_F()
376 vector<uint8_t> corruptedRootOfTrust = rootOfTrust; in TEST_F()
385 result = sb->sendRootOfTrust(rootOfTrust); in TEST_F()