Searched refs:coseKey (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 140 static ErrMsgOr<CoseKey> parse(const bytevec& coseKey) { in parse() argument 141 auto [parsedKey, _, errMsg] = cppbor::parse(coseKey); in parse() 147 static ErrMsgOr<CoseKey> parse(const bytevec& coseKey, CoseKeyType expectedKeyType, in parse() argument 149 auto key = parse(coseKey); in parse() 161 static ErrMsgOr<CoseKey> parseEd25519(const bytevec& coseKey) { in parseEd25519() argument 162 auto key = parse(coseKey, OCTET_KEY_PAIR, EDDSA, ED25519); in parseEd25519() 174 static ErrMsgOr<CoseKey> parseX25519(const bytevec& coseKey, bool requireKid) { in parseX25519() argument 175 auto key = parse(coseKey, OCTET_KEY_PAIR, ECDH_ES_HKDF_256, X25519); in parseX25519() 192 static ErrMsgOr<CoseKey> parseP256(const bytevec& coseKey) { in parseP256() argument 193 auto key = parse(coseKey, EC2, ES256, P256); in parseP256()
|
/system/keymaster/contexts/ |
D | pure_soft_remote_provisioning_context.cpp | 101 auto coseKey = cppbor::Map() in GenerateBcc() local 111 .add(-4670552 /* Subject Pub Key */, coseKey.encode()) in GenerateBcc() 121 return {privKey, cppbor::Array().add(std::move(coseKey)).add(coseSign1.moveValue())}; in GenerateBcc()
|