Home
last modified time | relevance | path

Searched refs:bcc_entry (Results 1 – 1 of 1) sorted by relevance

/trusty/user/base/lib/hwbcc/common/
Dcommon.cpp150 static bool validate_bcc_entry(const cppbor::Array* bcc_entry, in validate_bcc_entry() argument
173 const cppbor::Bstr* protected_params = bcc_entry->get(0)->asBstr(); in validate_bcc_entry()
174 const cppbor::Map* unprotected_params = bcc_entry->get(1)->asMap(); in validate_bcc_entry()
175 const cppbor::Bstr* payload = bcc_entry->get(2)->asBstr(); in validate_bcc_entry()
176 const cppbor::Bstr* signature = bcc_entry->get(3)->asBstr(); in validate_bcc_entry()
178 CHECK_EQ(bcc_entry->size(), 4); in validate_bcc_entry()
244 const cppbor::Array* bcc_entry = bcc_array->get(1)->asArray(); in validate_bcc_impl() local
247 CHECK_NOT_NULL(bcc_entry); in validate_bcc_impl()
253 CHECK(validate_bcc_entry(bcc_entry, dk_pub_key, &km_pub_key)); in validate_bcc_impl()