Searched refs:coseKey (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/security/keymint/support/ |
D | remote_prov_utils.cpp | 188 cppbor::Map coseKey = cppbor::Map() in constructCoseKey() local 194 if (!pubY.empty()) coseKey.add(CoseKey::PUBKEY_Y, pubY); in constructCoseKey() 195 if (!eekId.empty()) coseKey.add(CoseKey::KEY_ID, eekId); in constructCoseKey() 197 return coseKey.canonicalize().encode(); in constructCoseKey() 234 auto coseKey = constructCoseKey(supportedEekCurve, {}, pub_key); in generateEekChain() local 235 if (!coseKey) return coseKey.moveMessage(); in generateEekChain() 238 constructCoseSign1(supportedEekCurve, prev_priv_key, coseKey.moveValue(), {} /* AAD */); in generateEekChain() 248 auto coseKey = constructCoseKey(supportedEekCurve, eekId, pub_key); in generateEekChain() local 249 if (!coseKey) return coseKey.moveMessage(); in generateEekChain() 252 constructCoseSign1(supportedEekCurve, prev_priv_key, coseKey.moveValue(), {} /* AAD */); in generateEekChain()
|
D | remote_prov_utils_test.cpp | 66 static ErrMsgOr<CoseKey> parseEcdh256(const bytevec& coseKey) { in parseEcdh256() argument 67 auto key = CoseKey::parse(coseKey, EC2, ECDH_ES_HKDF_256, P256); in parseEcdh256()
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 1896 auto coseKey = parsedPayload->asMap(); in p256_pub_key() local 1897 const std::unique_ptr<cppbor::Item>& xItem = coseKey->get(cppcose::CoseKey::PUBKEY_X); in p256_pub_key() 1900 const std::unique_ptr<cppbor::Item>& yItem = coseKey->get(cppcose::CoseKey::PUBKEY_Y); in p256_pub_key()
|