Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/aidl/vts/functional/
DSecureElementProvisioningTest.cpp68 ASSERT_EQ(macItem->semanticTag(0), cppcose::kCoseMac0SemanticTag); in validateMacedRootOfTrust()
70 ASSERT_EQ(macItem->asArray()->size(), cppcose::kCoseMac0EntryCount); in validateMacedRootOfTrust()
72 const auto& protectedItem = macItem->asArray()->get(cppcose::kCoseMac0ProtectedParams); in validateMacedRootOfTrust()
80 const auto& algorithm = protMap->asMap()->get(cppcose::ALGORITHM); in validateMacedRootOfTrust()
83 ASSERT_EQ(algorithm->asInt()->value(), cppcose::HMAC_256); in validateMacedRootOfTrust()
85 const auto& unprotItem = macItem->asArray()->get(cppcose::kCoseMac0UnprotectedParams); in validateMacedRootOfTrust()
90 const auto& payload = macItem->asArray()->get(cppcose::kCoseMac0Payload); in validateMacedRootOfTrust()
95 const auto& tag = macItem->asArray()->get(cppcose::kCoseMac0Tag); in validateMacedRootOfTrust()
DKeyMintAidlTestBase.cpp46 using namespace cppcose;
2204 auto macFunction = [](const cppcose::bytevec& input) { in check_maced_pubkey()
2205 return cppcose::generateHmacSha256(remote_prov::kTestMacKey, input); in check_maced_pubkey()
2208 cppcose::generateCoseMac0Mac(macFunction, {} /* external_aad */, payload->value()); in check_maced_pubkey()
2226 const std::unique_ptr<cppbor::Item>& xItem = coseKey->get(cppcose::CoseKey::PUBKEY_X); in p256_pub_key()
2229 const std::unique_ptr<cppbor::Item>& yItem = coseKey->get(cppcose::CoseKey::PUBKEY_Y); in p256_pub_key()
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils_test.cpp78 auto& pubkey_x = key->getMap().get(cppcose::CoseKey::PUBKEY_X); in parseEcdh256()
79 auto& pubkey_y = key->getMap().get(cppcose::CoseKey::PUBKEY_Y); in parseEcdh256()
Dremote_prov_utils.cpp215 curve = (eekId.empty()) ? ED25519 : cppcose::X25519; in constructCoseKey()
254 return cppcose::constructCoseSign1(key, payload, aad); in constructCoseSign1()
865 auto& pubkey = coseKey->getMap().get(cppcose::CoseKey::PUBKEY_X); in validateUdsCerts()
/hardware/interfaces/security/keymint/support/include/remote_prov/
Dremote_prov_utils.h29 using namespace cppcose; variable
/hardware/nxp/keymint/KM300/
DJavacardRemotelyProvisionedComponentDevice.cpp51 using cppcose::kCoseMac0EntryCount;
52 using cppcose::kCoseMac0Payload;
/hardware/nxp/keymint/KM200/
DJavacardRemotelyProvisionedComponentDevice.cpp49 using namespace cppcose;