Home
last modified time | relevance | path

Searched refs:card_ (Results 1 – 16 of 16) sorted by relevance

/hardware/nxp/keymint/KM300/
DJavacardKeyMintDevice.cpp79 auto [item, err] = card_->sendRequest(Instruction::INS_GET_HW_INFO_CMD); in getHardwareInfo()
94 card_->initializeJavacard(); in getHardwareInfo()
106 card_->sendPendingEvents(); in generateKey()
112 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_KEY_CMD, array); in generateKey()
134 auto [item, err] = card_->sendRequest(Instruction::INS_ADD_RNG_ENTROPY_CMD, request); in addRngEntropy()
146 card_->sendPendingEvents(); in importKey()
157 auto [item, err] = card_->sendRequest(Instruction::INS_IMPORT_KEY_CMD, request); in importKey()
182 card_->sendPendingEvents(); in importWrappedKey()
239 return card_->sendRequest(Instruction::INS_BEGIN_IMPORT_WRAPPED_KEY_CMD, request); in sendBeginImportWrappedKeyCmd()
257 return card_->sendRequest(Instruction::INS_FINISH_IMPORT_WRAPPED_KEY_CMD, request); in sendFinishImportWrappedKeyCmd()
[all …]
DJavacardSharedSecret.cpp39 auto error = card_->initializeJavacard(); in getSharedSecretParameters()
43 auto [item, err] = card_->sendRequest(Instruction::INS_GET_SHARED_SECRET_PARAM_CMD); in getSharedSecretParameters()
74 card_->sendPendingEvents(); in computeSharedSecret()
75 auto error = card_->initializeJavacard(); in computeSharedSecret()
81 auto [item, err] = card_->sendRequest(Instruction::INS_COMPUTE_SHARED_SECRET_CMD, request); in computeSharedSecret()
DJavacardSharedSecret.h40 … explicit JavacardSharedSecret(shared_ptr<JavacardSecureElement> card) : card_(std::move(card)) {} in JavacardSharedSecret()
52 shared_ptr<JavacardSecureElement> card_;
DJavacardRemotelyProvisionedComponentDevice.cpp113 auto [item, err] = card_->sendRequest(Instruction::INS_GET_RKP_HARDWARE_INFO); in getHardwareInfo()
141 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_RKP_KEY_CMD); in generateEcdsaP256KeyPair()
166 auto [item, err] = card_->sendRequest(Instruction::INS_BEGIN_SEND_DATA_CMD, array); in beginSendData()
197 auto [item, err] = card_->sendRequest(Instruction::INS_UPDATE_KEY_CMD, array); in updateMacedKey()
211 auto [item, err] = card_->sendRequest(Instruction::INS_FINISH_SEND_DATA_CMD); in finishSendData()
236 auto [item, err] = card_->sendRequest(Instruction::INS_GET_DICE_CERT_CHAIN_CMD); in getDiceCertChain()
258 auto [item, err] = card_->sendRequest(Instruction::INS_GET_UDS_CERTS_CMD); in getUdsCertsChain()
DJavacardRemotelyProvisionedComponentDevice.h58 : card_(std::move(card)) {} in JavacardRemotelyProvisionedComponentDevice()
93 std::shared_ptr<JavacardSecureElement> card_; variable
DJavacardKeyMintDevice.h59 : securitylevel_(SecurityLevel::STRONGBOX), card_(std::move(card)) { in JavacardKeyMintDevice()
60 card_->initializeJavacard(); in JavacardKeyMintDevice()
141 const shared_ptr<JavacardSecureElement> card_; variable
DJavacardKeyMintOperation.h95 card_(std::move(card)), opHandle_(opHandle) {} in JavacardKeyMintOperation()
148 const shared_ptr<JavacardSecureElement> card_; variable
DJavacardKeyMintOperation.cpp65 auto [item, err] = card_->sendRequest(Instruction::INS_UPDATE_AAD_OPERATION_CMD, request); in updateAad()
133 auto [item, err] = card_->sendRequest(Instruction::INS_ABORT_OPERATION_CMD, request); in abort()
281 auto [item, error] = card_->sendRequest(Instruction::INS_UPDATE_OPERATION_CMD, request); in sendUpdate()
307 auto [item, err] = card_->sendRequest(Instruction::INS_FINISH_OPERATION_CMD, request); in sendFinish()
/hardware/nxp/keymint/KM200/
DJavacardSharedSecret.cpp41 card_->initializeJavacard(); in getSharedSecretParameters()
42 auto [item, err] = card_->sendRequest(Instruction::INS_GET_SHARED_SECRET_PARAM_CMD); in getSharedSecretParameters()
68 card_->initializeJavacard(); in computeSharedSecret()
71 auto [item, err] = card_->sendRequest(Instruction::INS_COMPUTE_SHARED_SECRET_CMD, request); in computeSharedSecret()
DJavacardKeyMintDevice.cpp70 auto [item, err] = card_->sendRequest(Instruction::INS_GET_HW_INFO_CMD); in getHardwareInfo()
83 card_->initializeJavacard(); in getHardwareInfo()
98 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_KEY_CMD, array); in generateKey()
116 auto [item, err] = card_->sendRequest(Instruction::INS_ADD_RNG_ENTROPY_CMD, request); in addRngEntropy()
139 auto [item, err] = card_->sendRequest(Instruction::INS_IMPORT_KEY_CMD, request); in importKey()
212 return card_->sendRequest(Instruction::INS_BEGIN_IMPORT_WRAPPED_KEY_CMD, request); in sendBeginImportWrappedKeyCmd()
230 return card_->sendRequest(Instruction::INS_FINISH_IMPORT_WRAPPED_KEY_CMD, request); in sendFinishImportWrappedKeyCmd()
241 auto [item, err] = card_->sendRequest(Instruction::INS_UPGRADE_KEY_CMD, request); in upgradeKey()
256 auto [item, err] = card_->sendRequest(Instruction::INS_DELETE_KEY_CMD, request); in deleteKey()
265 auto [item, err] = card_->sendRequest(Instruction::INS_DELETE_ALL_KEYS_CMD); in deleteAllKeys()
[all …]
DJavacardRemotelyProvisionedComponentDevice.cpp107 auto [item, err] = card_->sendRequest(Instruction::INS_GET_RKP_HARDWARE_INFO); in getHardwareInfo()
140 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_RKP_KEY_CMD, array); in generateEcdsaP256KeyPair()
161 auto [_, err] = card_->sendRequest(Instruction::INS_BEGIN_SEND_DATA_CMD, array); in beginSendData()
175 auto [_, err] = card_->sendRequest(Instruction::INS_UPDATE_KEY_CMD, array); in updateMacedKey()
189 auto [_, err] = card_->sendRequest(Instruction::INS_UPDATE_CHALLENGE_CMD, array); in updateChallenge()
201 auto [_, err] = card_->sendRequest(Instruction::INS_UPDATE_EEK_CHAIN_CMD, eekChain); in updateEEK()
217 auto [item, err] = card_->sendRequest(Instruction::INS_FINISH_SEND_DATA_CMD); in finishSendData()
240 auto [item, err] = card_->sendRequest(Instruction::INS_GET_RESPONSE_CMD); in getResponse()
DJavacardSharedSecret.h20 explicit JavacardSharedSecret(shared_ptr<JavacardSecureElement> card) : card_(card) {} in JavacardSharedSecret()
29 shared_ptr<JavacardSecureElement> card_;
DJavacardRemotelyProvisionedComponentDevice.h38 : card_(card) {} in JavacardRemotelyProvisionedComponentDevice()
75 std::shared_ptr<JavacardSecureElement> card_; variable
DJavacardKeyMintDevice.h56 : securitylevel_(SecurityLevel::STRONGBOX), card_(card), in JavacardKeyMintDevice()
58 card_->initializeJavacard(); in JavacardKeyMintDevice()
138 const shared_ptr<JavacardSecureElement> card_; variable
DJavacardKeyMintOperation.h73 card_(card), opHandle_(opHandle) {} in JavacardKeyMintOperation()
125 const shared_ptr<JavacardSecureElement> card_; variable
DJavacardKeyMintOperation.cpp61 auto [item, err] = card_->sendRequest(Instruction::INS_UPDATE_AAD_OPERATION_CMD, request); in updateAad()
126 auto [item, err] = card_->sendRequest(Instruction::INS_ABORT_OPERATION_CMD, request); in abort()
274 auto [item, error] = card_->sendRequest(Instruction::INS_UPDATE_OPERATION_CMD, request); in sendUpdate()
300 auto [item, err] = card_->sendRequest(Instruction::INS_FINISH_OPERATION_CMD, request); in sendFinish()