Home
last modified time | relevance | path

Searched refs:rspApdu (Results 1 – 6 of 6) sorted by relevance

/hardware/nxp/secure_element/1.0/
DSecureElement.cpp97 phNxpEse_data rspApdu; in transmit() local
99 phNxpEse_memset(&rspApdu, 0x00, sizeof(phNxpEse_data)); in transmit()
105 status = phNxpEse_Transceive(&cmdApdu, &rspApdu); in transmit()
112 result.resize(rspApdu.len); in transmit()
113 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit()
117 phNxpEse_free(rspApdu.p_data); in transmit()
142 phNxpEse_data rspApdu; in openLogicalChannel() local
145 phNxpEse_memset(&rspApdu, 0x00, sizeof(phNxpEse_data)); in openLogicalChannel()
152 status = phNxpEse_Transceive(&cmdApdu, &rspApdu); in openLogicalChannel()
157 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 && in openLogicalChannel()
[all …]
/hardware/nxp/secure_element/1.1/
DSecureElement.cpp138 phNxpEse_data rspApdu; in transmit() local
140 phNxpEse_memset(&rspApdu, 0x00, sizeof(phNxpEse_data)); in transmit()
146 status = phNxpEse_Transceive(&cmdApdu, &rspApdu); in transmit()
153 result.resize(rspApdu.len); in transmit()
154 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit()
158 phNxpEse_free(rspApdu.p_data); in transmit()
183 phNxpEse_data rspApdu; in openLogicalChannel() local
186 phNxpEse_memset(&rspApdu, 0x00, sizeof(phNxpEse_data)); in openLogicalChannel()
193 status = phNxpEse_Transceive(&cmdApdu, &rspApdu); in openLogicalChannel()
198 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 && in openLogicalChannel()
[all …]
/hardware/st/secure_element/1.0/
DSecureElement.cpp115 StEse_data rspApdu; in transmit() local
117 memset(&rspApdu, 0x00, sizeof(StEse_data)); in transmit()
128 status = (ESESTATUS)Aram_transceive(&cmdApdu, &rspApdu); in transmit()
130 status = StEse_Transceive(&cmdApdu, &rspApdu); in transmit()
139 result.resize(rspApdu.len); in transmit()
140 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit()
144 free(rspApdu.p_data); in transmit()
174 StEse_data rspApdu; in openLogicalChannel() local
177 memset(&rspApdu, 0x00, sizeof(StEse_data)); in openLogicalChannel()
184 status = StEse_Transceive(&cmdApdu, &rspApdu); in openLogicalChannel()
[all …]
/hardware/st/secure_element/1.1/
DSecureElement.cpp125 StEse_data rspApdu; in transmit() local
127 memset(&rspApdu, 0x00, sizeof(StEse_data)); in transmit()
134 status = StEse_Transceive(&cmdApdu, &rspApdu); in transmit()
142 result.resize(rspApdu.len); in transmit()
143 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit()
147 free(rspApdu.p_data); in transmit()
175 StEse_data rspApdu; in openLogicalChannel() local
178 memset(&rspApdu, 0x00, sizeof(StEse_data)); in openLogicalChannel()
185 status = StEse_Transceive(&cmdApdu, &rspApdu); in openLogicalChannel()
190 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 && in openLogicalChannel()
[all …]
/hardware/st/secure_element/1.2/
DSecureElement.cpp125 StEse_data rspApdu; in transmit() local
127 memset(&rspApdu, 0x00, sizeof(StEse_data)); in transmit()
134 status = StEse_Transceive(&cmdApdu, &rspApdu); in transmit()
142 result.resize(rspApdu.len); in transmit()
143 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit()
147 free(rspApdu.p_data); in transmit()
175 StEse_data rspApdu; in openLogicalChannel() local
178 memset(&rspApdu, 0x00, sizeof(StEse_data)); in openLogicalChannel()
185 status = StEse_Transceive(&cmdApdu, &rspApdu); in openLogicalChannel()
190 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 && in openLogicalChannel()
[all …]
/hardware/nxp/secure_element/ls_client/src/
DLsLib.cpp156 phNxpEse_data rspApdu; in LSC_OpenChannel() local
158 phNxpEse_memset(&rspApdu, 0x00, sizeof(phNxpEse_data)); in LSC_OpenChannel()
164 ESESTATUS eseStat = phNxpEse_Transceive(&cmdApdu, &rspApdu); in LSC_OpenChannel()
166 if (eseStat != ESESTATUS_SUCCESS && (rspApdu.len < 0x03)) { in LSC_OpenChannel()
167 if (rspApdu.len == 0x02) in LSC_OpenChannel()
168 memcpy(&gsLsExecuteResp[2], &rspApdu.p_data[rspApdu.len - 2], 2); in LSC_OpenChannel()
171 } else if (((rspApdu.p_data[rspApdu.len - 2] != 0x90) && in LSC_OpenChannel()
172 (rspApdu.p_data[rspApdu.len - 1] != 0x00))) { in LSC_OpenChannel()
173 memcpy(&gsLsExecuteResp[2], &rspApdu.p_data[rspApdu.len - 2], 2); in LSC_OpenChannel()
178 Os_info->Channel_Info[cnt].channel_id = rspApdu.p_data[rspApdu.len - 3]; in LSC_OpenChannel()
[all …]