Home
last modified time | relevance | path

Searched refs:resApduBuff (Results 1 – 14 of 14) sorted by relevance

/aosp12/hardware/nxp/secure_element/snxxx/1.0/
H A DVirtualISO.cpp166 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
170 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
171 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
202 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
213 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
244 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
256 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
257 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
268 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
322 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
H A DSecureElement.cpp224 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
225 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
226 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
259 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
270 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
300 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
312 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
313 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
324 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
381 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/nxp/secure_element/snxxx/1.1/
H A DSecureElement.cpp294 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
295 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
296 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
329 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
332 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
362 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
374 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
375 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
386 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
443 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
H A DVirtualISO.cpp227 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
231 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
232 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
263 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
274 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
305 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
317 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
318 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
329 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
383 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/nxp/secure_element/snxxx/1.2/
H A DVirtualISO.cpp233 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
237 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
238 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
274 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
285 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
316 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
328 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
329 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
340 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
394 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
H A DSecureElement.cpp333 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
334 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
335 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
379 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
382 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
412 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
424 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
425 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
436 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
493 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/st/secure_element/1.0/
H A DSecureElement.cpp155 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
156 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
157 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
192 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
198 aram_channel = resApduBuff.channelNumber; in openLogicalChannel()
224 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
242 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel()
267 resApduBuff.selectResponse.resize(rspApdu.len); in openLogicalChannel()
288 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
292 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/nxp/secure_element/pn8x/1.0/
H A DSecureElement.cpp125 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
126 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
127 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
159 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
161 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
186 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
202 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel()
222 resApduBuff.selectResponse.resize(rspApdu.len); in openLogicalChannel()
239 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
243 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/nxp/secure_element/pn8x/1.1/
H A DSecureElement.cpp167 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
168 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
169 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
201 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
203 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
228 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
244 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel()
264 resApduBuff.selectResponse.resize(rspApdu.len); in openLogicalChannel()
281 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
285 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/st/secure_element/1.1/
H A DSecureElement.cpp156 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
157 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
158 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
193 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
195 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
218 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
236 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel()
256 resApduBuff.selectResponse.resize(rspApdu.len); in openLogicalChannel()
277 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
281 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/st/secure_element/1.2/
H A DSecureElement.cpp161 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
162 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
163 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
198 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
200 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
223 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
241 cmdApdu.p_data[xx++] = resApduBuff.channelNumber; in openLogicalChannel()
261 resApduBuff.selectResponse.resize(rspApdu.len); in openLogicalChannel()
282 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
286 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
[all …]
/aosp12/hardware/st/secure_element2/secure_element/1.0/
H A DSecureElement.cpp203 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
204 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
205 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
211 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
254 _hidl_cb(resApduBuff, mSecureElementStatus); in openLogicalChannel()
257 resApduBuff.channelNumber = resp[0]; in openLogicalChannel()
271 _hidl_cb(resApduBuff, mSecureElementStatus); in openLogicalChannel()
292 apdu[index++] = resApduBuff.channelNumber; in openLogicalChannel()
314 resApduBuff.selectResponse.resize(resp_len); in openLogicalChannel()
337 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
[all …]
/aosp12/hardware/st/secure_element2/secure_element/1.1/
H A DSecureElement.cpp231 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
232 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
233 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
244 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
287 _hidl_cb(resApduBuff, mSecureElementStatus); in openLogicalChannel()
290 resApduBuff.channelNumber = resp[0]; in openLogicalChannel()
304 _hidl_cb(resApduBuff, mSecureElementStatus); in openLogicalChannel()
325 apdu[index++] = resApduBuff.channelNumber; in openLogicalChannel()
347 resApduBuff.selectResponse.resize(resp_len); in openLogicalChannel()
370 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
[all …]
/aosp12/hardware/st/secure_element2/secure_element/1.2/
H A DSecureElement.cpp236 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
237 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
238 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
249 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
292 _hidl_cb(resApduBuff, mSecureElementStatus); in openLogicalChannel()
295 resApduBuff.channelNumber = resp[0]; in openLogicalChannel()
309 _hidl_cb(resApduBuff, mSecureElementStatus); in openLogicalChannel()
330 apdu[index++] = resApduBuff.channelNumber; in openLogicalChannel()
352 resApduBuff.selectResponse.resize(resp_len); in openLogicalChannel()
375 closeChannel(resApduBuff.channelNumber); in openLogicalChannel()
[all …]