Searched refs:cmdApdu (Results 1 – 3 of 3) sorted by relevance
/hardware/nxp/secure_element/1.0/ |
D | SecureElement.cpp | 96 phNxpEse_data cmdApdu; in transmit() local 98 phNxpEse_memset(&cmdApdu, 0x00, sizeof(phNxpEse_data)); in transmit() 101 cmdApdu.len = data.size(); in transmit() 102 if (cmdApdu.len >= MIN_APDU_LENGTH) { in transmit() 103 cmdApdu.p_data = (uint8_t*)phNxpEse_memalloc(data.size() * sizeof(uint8_t)); in transmit() 104 memcpy(cmdApdu.p_data, data.data(), cmdApdu.len); in transmit() 105 status = phNxpEse_Transceive(&cmdApdu, &rspApdu); in transmit() 116 phNxpEse_free(cmdApdu.p_data); in transmit() 141 phNxpEse_data cmdApdu; in openLogicalChannel() local 144 phNxpEse_memset(&cmdApdu, 0x00, sizeof(phNxpEse_data)); in openLogicalChannel() [all …]
|
/hardware/nxp/secure_element/1.1/ |
D | SecureElement.cpp | 137 phNxpEse_data cmdApdu; in transmit() local 139 phNxpEse_memset(&cmdApdu, 0x00, sizeof(phNxpEse_data)); in transmit() 142 cmdApdu.len = data.size(); in transmit() 143 if (cmdApdu.len >= MIN_APDU_LENGTH) { in transmit() 144 cmdApdu.p_data = (uint8_t*)phNxpEse_memalloc(data.size() * sizeof(uint8_t)); in transmit() 145 memcpy(cmdApdu.p_data, data.data(), cmdApdu.len); in transmit() 146 status = phNxpEse_Transceive(&cmdApdu, &rspApdu); in transmit() 157 phNxpEse_free(cmdApdu.p_data); in transmit() 182 phNxpEse_data cmdApdu; in openLogicalChannel() local 185 phNxpEse_memset(&cmdApdu, 0x00, sizeof(phNxpEse_data)); in openLogicalChannel() [all …]
|
/hardware/nxp/secure_element/ls_client/src/ |
D | LsLib.cpp | 155 phNxpEse_data cmdApdu; in LSC_OpenChannel() local 157 phNxpEse_memset(&cmdApdu, 0x00, sizeof(phNxpEse_data)); in LSC_OpenChannel() 159 cmdApdu.len = (int32_t)sizeof(OpenChannel); in LSC_OpenChannel() 160 cmdApdu.p_data = (uint8_t*)phNxpEse_memalloc(cmdApdu.len * sizeof(uint8_t)); in LSC_OpenChannel() 161 memcpy(cmdApdu.p_data, OpenChannel, cmdApdu.len); in LSC_OpenChannel() 164 ESESTATUS eseStat = phNxpEse_Transceive(&cmdApdu, &rspApdu); in LSC_OpenChannel() 184 phNxpEse_free(cmdApdu.p_data); in LSC_OpenChannel() 210 phNxpEse_data cmdApdu; in LSC_ResetChannel() local 212 phNxpEse_memset(&cmdApdu, 0x00, sizeof(phNxpEse_data)); in LSC_ResetChannel() 214 cmdApdu.len = (int32_t)sizeof(OpenChannel); in LSC_ResetChannel() [all …]
|