Home
last modified time | relevance | path

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

/system/keymaster/contexts/
Dpure_soft_remote_provisioning_context.cpp154 auto coseSign1 = constructCoseSign1(privKey, /* signing key */ in GenerateBcc() local
157 assert(coseSign1); in GenerateBcc()
159 return {privKey, cppbor::Array().add(std::move(coseKey)).add(coseSign1.moveValue())}; in GenerateBcc()
/system/keymaster/cppcose/
Dcppcose.cpp367 ErrMsgOr<bytevec> verifyAndParseCoseSign1(const cppbor::Array* coseSign1, in verifyAndParseCoseSign1() argument
369 if (!coseSign1 || coseSign1->size() != kCoseSign1EntryCount) { in verifyAndParseCoseSign1()
373 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in verifyAndParseCoseSign1()
374 const cppbor::Map* unprotectedParams = coseSign1->get(kCoseSign1UnprotectedParams)->asMap(); in verifyAndParseCoseSign1()
375 const cppbor::Bstr* payload = coseSign1->get(kCoseSign1Payload)->asBstr(); in verifyAndParseCoseSign1()
396 const cppbor::Bstr* signature = coseSign1->get(kCoseSign1Signature)->asBstr(); in verifyAndParseCoseSign1()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h312 ErrMsgOr<bytevec /* payload */> verifyAndParseCoseSign1(const cppbor::Array* coseSign1,