• Home
  • Raw
  • Download

Lines Matching refs:rx_buf

70   uint8_t rx_buf[32];  in ese_boot_session_open()  local
82 rx_buf, sizeof(rx_buf)); in ese_boot_session_open()
97 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_session_open()
100 rx_buf[rx_len - 2], rx_buf[rx_len - 1]); in ese_boot_session_open()
108 session->channel_id = rx_buf[rx_len - 3]; in ese_boot_session_open()
116 rx.base = &rx_buf[0]; in ese_boot_session_open()
117 rx.len = sizeof(rx_buf); in ese_boot_session_open()
127 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_session_open()
129 ALOGE("SELECT failed with error code: %x %x", rx_buf[rx_len - 2], in ese_boot_session_open()
130 rx_buf[rx_len - 1]); in ese_boot_session_open()
138 uint8_t rx_buf[32]; in ese_boot_session_close() local
152 rx_buf, sizeof(rx_buf)); in ese_boot_session_close()
160 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_session_close()
526 uint8_t rx_buf[4]; in ese_boot_rollback_index_write() local
527 rx[0].base = &rx_buf[0]; in ese_boot_rollback_index_write()
528 rx[0].len = sizeof(rx_buf); in ese_boot_rollback_index_write()
541 return check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_rollback_index_write()
544 if (rx_buf[0] != 0 || rx_buf[1] != 0) { in ese_boot_rollback_index_write()
545 ALOGE("ese_boot_rollback_index_write: applet error code %x %x", rx_buf[0], in ese_boot_rollback_index_write()
546 rx_buf[1]); in ese_boot_rollback_index_write()
547 return ese_make_app_result(rx_buf[0], rx_buf[1]); in ese_boot_rollback_index_write()
586 uint8_t rx_buf[4 + sizeof(*value)]; in ese_boot_rollback_index_read() local
587 rx[0].base = &rx_buf[0]; in ese_boot_rollback_index_read()
588 rx[0].len = sizeof(rx_buf); in ese_boot_rollback_index_read()
602 return check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_rollback_index_read()
604 if (rx_buf[0] != 0 || rx_buf[1] != 0) { in ese_boot_rollback_index_read()
605 ALOGE("ese_boot_rollback_index_read: applet error code %x %x", rx_buf[0], in ese_boot_rollback_index_read()
606 rx_buf[1]); in ese_boot_rollback_index_read()
607 return ese_make_app_result(rx_buf[0], rx_buf[1]); in ese_boot_rollback_index_read()
609 if (rx_len != (int)sizeof(rx_buf)) { in ese_boot_rollback_index_read()
614 *value = *((uint64_t *)&rx_buf[2]); in ese_boot_rollback_index_read()