Home
last modified time | relevance | path

Searched refs:eekChain (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/security/keymint/support/
Dremote_prov_utils.cpp264 auto eekChain = cppbor::Array(); in generateEekChain() local
281 eekChain.add(coseSign1.moveValue()); in generateEekChain()
295 eekChain.add(coseSign1.moveValue()); in generateEekChain()
307 return EekChain{eekChain.encode(), pub_key, priv_key}; in generateEekChain()
624 const EekChain& eekChain, int32_t supportedEekCurve) { in getSessionKey() argument
627 return x25519_HKDF_DeriveKey(eekChain.last_pubkey, eekChain.last_privkey, in getSessionKey()
630 return ECDH_HKDF_DeriveKey(eekChain.last_pubkey, eekChain.last_privkey, senderPubkey->first, in getSessionKey()
638 const EekChain& eekChain, const std::vector<uint8_t>& eekId, int32_t supportedEekCurve, in verifyProtectedData() argument
662 auto sessionKey = getSessionKey(senderPubkey, eekChain, supportedEekCurve); in verifyProtectedData()
738 const EekChain& eekChain, const std::vector<uint8_t>& eekId, int32_t supportedEekCurve, in verifyFactoryProtectedData() argument
[all …]
/hardware/interfaces/security/keymint/support/include/remote_prov/
Dremote_prov_utils.h161 const EekChain& eekChain, const std::vector<uint8_t>& eekId, int32_t supportedEekCurve,
169 const EekChain& eekChain, const std::vector<uint8_t>& eekId, int32_t supportedEekCurve,
/hardware/interfaces/security/rkp/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp136 cppbor::Array* eekChain = chain->asArray(); in corrupt_sig_chain() local
137 if (which >= eekChain->size()) { in corrupt_sig_chain()
142 for (int ii = 0; ii < eekChain->size(); ++ii) { in corrupt_sig_chain()
144 auto sig = corrupt_sig(eekChain->get(which)->asArray()); in corrupt_sig_chain()
150 corruptChain.add(eekChain->get(ii)->clone()); in corrupt_sig_chain()
685 auto eekChain = chain->asArray(); in TEST_P() local
686 ASSERT_NE(eekChain, nullptr); in TEST_P()
687 for (size_t ii = 1; ii < eekChain->size(); ii++) { in TEST_P()
688 truncatedChain.add(eekChain->get(ii)->clone()); in TEST_P()
/hardware/nxp/keymint/KM200/
DJavacardRemotelyProvisionedComponentDevice.cpp200 std::vector<uint8_t> eekChain = endpointEncCertChain; in updateEEK() local
201 auto [_, err] = card_->sendRequest(Instruction::INS_UPDATE_EEK_CHAIN_CMD, eekChain); in updateEEK()