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.cpp116 auto coseSign1 = constructCoseSign1(privKey, /* signing key */ in GenerateBcc() local
119 assert(coseSign1); in GenerateBcc()
121 return {privKey, cppbor::Array().add(std::move(coseKey)).add(coseSign1.moveValue())}; in GenerateBcc()
/system/keymaster/cppcose/
Dcppcose.cpp173 ErrMsgOr<bytevec> verifyAndParseCoseSign1(const cppbor::Array* coseSign1, in verifyAndParseCoseSign1() argument
175 if (!coseSign1 || coseSign1->size() != kCoseSign1EntryCount) { in verifyAndParseCoseSign1()
179 const cppbor::Bstr* protectedParams = coseSign1->get(kCoseSign1ProtectedParams)->asBstr(); in verifyAndParseCoseSign1()
180 const cppbor::Map* unprotectedParams = coseSign1->get(kCoseSign1UnprotectedParams)->asMap(); in verifyAndParseCoseSign1()
181 const cppbor::Bstr* payload = coseSign1->get(kCoseSign1Payload)->asBstr(); in verifyAndParseCoseSign1()
200 const cppbor::Bstr* signature = coseSign1->get(kCoseSign1Signature)->asBstr(); in verifyAndParseCoseSign1()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h264 ErrMsgOr<bytevec /* payload */> verifyAndParseCoseSign1(const cppbor::Array* coseSign1,