Home
last modified time | relevance | path

Searched refs:keysToSign (Results 1 – 12 of 12) sorted by relevance

/hardware/nxp/keymint/KM200/
DJavacardRemotelyProvisionedComponentDevice.cpp86 uint32_t coseKeyEncodedSize(const std::vector<MacedPublicKey>& keysToSign) { in coseKeyEncodedSize() argument
88 for(auto& macKey : keysToSign) { in coseKeyEncodedSize()
155 bool testMode, const std::vector<MacedPublicKey>& keysToSign) { in beginSendData() argument
156 uint32_t totalEncodedSize = coseKeyEncodedSize(keysToSign); in beginSendData()
158 array.add(keysToSign.size()); in beginSendData()
171 const std::vector<MacedPublicKey>& keysToSign) { in updateMacedKey() argument
172 for(auto& macedPublicKey : keysToSign) { in updateMacedKey()
256 const std::vector<MacedPublicKey>& keysToSign, in generateCertificateRequest() argument
266 auto ret = beginSendData(testMode, keysToSign); in generateCertificateRequest()
269 ret = updateMacedKey(keysToSign); in generateCertificateRequest()
DJavacardRemotelyProvisionedComponentDevice.h49 bool testMode, const std::vector<MacedPublicKey>& keysToSign,
57 const std::vector<MacedPublicKey>& keysToSign);
59 ScopedAStatus updateMacedKey(const std::vector<MacedPublicKey>& keysToSign);
/hardware/nxp/keymint/KM300/
DJavacardRemotelyProvisionedComponentDevice.h68 const std::vector<MacedPublicKey>& keysToSign,
74 ScopedAStatus generateCertificateRequestV2(const std::vector<MacedPublicKey>& keysToSign,
81 ScopedAStatus beginSendData(const std::vector<MacedPublicKey>& keysToSign,
85 ScopedAStatus updateMacedKey(const std::vector<MacedPublicKey>& keysToSign,
DJavacardRemotelyProvisionedComponentDevice.cpp94 uint32_t coseKeyEncodedSize(const std::vector<MacedPublicKey>& keysToSign) { in coseKeyEncodedSize() argument
96 for (auto& macKey : keysToSign) { in coseKeyEncodedSize()
159 const std::vector<MacedPublicKey>& keysToSign, const std::vector<uint8_t>& challenge, in beginSendData() argument
161 uint32_t totalEncodedSize = coseKeyEncodedSize(keysToSign); in beginSendData()
163 array.add(keysToSign.size()); in beginSendData()
193 const std::vector<MacedPublicKey>& keysToSign, Array& coseKeys) { in updateMacedKey() argument
194 for (auto& macedPublicKey : keysToSign) { in updateMacedKey()
282 const std::vector<MacedPublicKey>& keysToSign, const std::vector<uint8_t>& challenge, in generateCertificateRequestV2() argument
297 auto ret = beginSendData(keysToSign, challenge, &deviceInfo, &csrPayloadSchemaVersion, in generateCertificateRequestV2()
301 ret = updateMacedKey(keysToSign, coseKeys); in generateCertificateRequestV2()
/hardware/interfaces/security/keymint/support/include/remote_prov/
Dremote_prov_utils.h159 const DeviceInfo& deviceInfo, const cppbor::Array& keysToSign,
167 const DeviceInfo& deviceInfo, const cppbor::Array& keysToSign,
177 const cppbor::Array& keysToSign, const std::vector<uint8_t>& csr,
183 const cppbor::Array& keysToSign, const std::vector<uint8_t>& csr,
/hardware/interfaces/security/rkp/aidl/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl220 byte[] generateCertificateRequest(in boolean testMode, in MacedPublicKey[] keysToSign, in generateCertificateRequest() argument
243 byte[] generateCertificateRequestV2(in MacedPublicKey[] keysToSign, in byte[] challenge); in generateCertificateRequestV2() argument
DgenerateCertificateRequest.cddl80 ; Payload is PublicKeys from keysToSign argument, in provided order.
89 ; Payload is PublicKeys from keysToSign argument, in provided order.
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/3/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl40 …oolean testMode, in android.hardware.security.keymint.MacedPublicKey[] keysToSign, in byte[] endpo… in generateCertificateRequest() argument
41 …ificateRequestV2(in android.hardware.security.keymint.MacedPublicKey[] keysToSign, in byte[] chall… in generateCertificateRequestV2() argument
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/current/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl40 …oolean testMode, in android.hardware.security.keymint.MacedPublicKey[] keysToSign, in byte[] endpo… in generateCertificateRequest() argument
41 …ificateRequestV2(in android.hardware.security.keymint.MacedPublicKey[] keysToSign, in byte[] chall… in generateCertificateRequestV2() argument
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils.cpp636 const DeviceInfo& deviceInfo, const cppbor::Array& keysToSign, in verifyProtectedData() argument
724 .add(keysToSign.encode()) // payload (keysToSign) in verifyProtectedData()
736 const DeviceInfo& deviceInfo, const cppbor::Array& keysToSign, in verifyFactoryProtectedData() argument
740 return verifyProtectedData(deviceInfo, keysToSign, keysToSignMac, protectedData, eekChain, in verifyFactoryProtectedData()
746 const DeviceInfo& deviceInfo, const cppbor::Array& keysToSign, in verifyProductionProtectedData() argument
750 return verifyProtectedData(deviceInfo, keysToSign, keysToSignMac, protectedData, eekChain, in verifyProductionProtectedData()
881 const cppbor::Array& keysToSign, const std::vector<uint8_t>& csrPayload, in parseAndValidateCsrPayload() argument
924 if (signedKeys->encode() != keysToSign.encode()) { in parseAndValidateCsrPayload()
1052 ErrMsgOr<std::unique_ptr<cppbor::Array>> verifyCsr(const cppbor::Array& keysToSign, in verifyCsr() argument
1069 return parseAndValidateCsrPayload(keysToSign, *csrPayload, provisionable, isFactory); in verifyCsr()
[all …]
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/1/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl40 …oolean testMode, in android.hardware.security.keymint.MacedPublicKey[] keysToSign, in byte[] endpo… in generateCertificateRequest() argument
/hardware/interfaces/security/rkp/aidl/aidl_api/android.hardware.security.rkp/2/android/hardware/security/keymint/
DIRemotelyProvisionedComponent.aidl40 …oolean testMode, in android.hardware.security.keymint.MacedPublicKey[] keysToSign, in byte[] endpo… in generateCertificateRequest() argument