Home
last modified time | relevance | path

Searched refs:supportedEekCurve (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/security/keymint/support/include/remote_prov/
Dremote_prov_utils.h101 ErrMsgOr<EekChain> generateEekChain(int32_t supportedEekCurve, size_t length, const bytevec& eekId);
106 bytevec getProdEekChain(int32_t supportedEekCurve);
161 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/keymint/support/
Dremote_prov_utils.cpp190 ErrMsgOr<std::tuple<bytevec, bytevec>> generateKeyPair(int32_t supportedEekCurve, bool isEek) { in generateKeyPair() argument
191 switch (supportedEekCurve) { in generateKeyPair()
204 ErrMsgOr<bytevec> constructCoseKey(int32_t supportedEekCurve, const bytevec& eekId, in constructCoseKey() argument
211 switch (supportedEekCurve) { in constructCoseKey()
249 ErrMsgOr<cppbor::Array> constructCoseSign1(int32_t supportedEekCurve, const bytevec& key, in constructCoseSign1() argument
251 if (supportedEekCurve == RpcHardwareInfo::CURVE_P256) { in constructCoseSign1()
258 ErrMsgOr<EekChain> generateEekChain(int32_t supportedEekCurve, size_t length, in generateEekChain() argument
268 auto keyPair = generateKeyPair(supportedEekCurve, false); in generateEekChain()
275 auto coseKey = constructCoseKey(supportedEekCurve, {}, pub_key); in generateEekChain()
279 constructCoseSign1(supportedEekCurve, prev_priv_key, coseKey.moveValue(), {} /* AAD */); in generateEekChain()
[all …]
/hardware/nxp/keymint/KM200/
DJavacardRemotelyProvisionedComponentDevice.cpp82 info->supportedEekCurve = RpcHardwareInfo::CURVE_P256; in defaultHwInfo()
109 uint32_t supportedEekCurve; in getHardwareInfo() local
113 !cbor_.getUint64<uint32_t>(item, 3, supportedEekCurve)) { in getHardwareInfo()
130 info->supportedEekCurve = static_cast<int32_t>(supportedEekCurve); in getHardwareInfo()
/hardware/interfaces/security/rkp/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp286 ASSERT_EQ(hwInfo.supportedEekCurve, RpcHardwareInfo::CURVE_NONE) in TEST_P()
287 << "Invalid curve: " << hwInfo.supportedEekCurve; in TEST_P()
292 ASSERT_EQ(validCurves.count(hwInfo.supportedEekCurve), 1) in TEST_P()
293 << "Invalid curve: " << hwInfo.supportedEekCurve; in TEST_P()
433 auto chain = generateEekChain(rpcHardwareInfo.supportedEekCurve, eekLength, eekId_); in generateTestEekChain()
495 rpcHardwareInfo.supportedEekCurve, provisionable_.get(), challenge_); in TEST_P()
520 eekId_, rpcHardwareInfo.supportedEekCurve, provisionable_.get(), challenge_); in TEST_P()
530 eekId_, rpcHardwareInfo.supportedEekCurve, provisionable_.get(), challenge_); in TEST_P()
554 testMode, {} /* keysToSign */, getProdEekChain(rpcHardwareInfo.supportedEekCurve), in TEST_P()
580 rpcHardwareInfo.supportedEekCurve, provisionable_.get(), challenge_); in TEST_P()
[all …]
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/1/android/hardware/security/keymint/
DRpcHardwareInfo.aidl40 int supportedEekCurve = 0;
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/2/android/hardware/security/keymint/
DRpcHardwareInfo.aidl40 int supportedEekCurve = 0;
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/current/android/hardware/security/keymint/
DRpcHardwareInfo.aidl40 int supportedEekCurve = 0;
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/3/android/hardware/security/keymint/
DRpcHardwareInfo.aidl40 int supportedEekCurve = CURVE_NONE /* 0 */;
/hardware/interfaces/security/rkp/aidl/android/hardware/security/keymint/
DRpcHardwareInfo.aidl58 int supportedEekCurve = CURVE_NONE;
/hardware/nxp/keymint/KM300/
DJavacardRemotelyProvisionedComponentDevice.cpp88 info->supportedEekCurve = RpcHardwareInfo::CURVE_NONE; in defaultHwInfo()
130 info->supportedEekCurve = static_cast<int32_t>(std::move(optSupportedEekCurve.value())); in getHardwareInfo()
/hardware/interfaces/security/rkp/
DCHANGELOG.md48 * `supportedEekCurve` is no longer used, due to the removal of the EEK from the scheme.