Home
last modified time | relevance | path

Searched refs:EseAppResult (Results 1 – 9 of 9) sorted by relevance

/external/libese/apps/boot/include/ese/app/
Dboot.h92 EseAppResult ese_boot_session_open(struct EseInterface *ese, struct EseBootSession *session);
100 EseAppResult ese_boot_session_close(struct EseBootSession *session);
111 EseAppResult ese_boot_lock_get(struct EseBootSession *session, EseBootLockId lockId, uint8_t *lockV…
125 EseAppResult ese_boot_lock_xget(
135 EseAppResult ese_boot_lock_set(struct EseBootSession *session, EseBootLockId lockId, uint8_t lockVa…
144 EseAppResult ese_boot_lock_xset(struct EseBootSession *session, EseBootLockId lockId, const uint8_t…
157 EseAppResult ese_boot_carrier_lock_test(struct EseBootSession *session, const uint8_t *testdata, ui…
169 EseAppResult ese_boot_set_production(struct EseBootSession *session, bool production_mode);
176 EseAppResult ese_boot_get_state(struct EseBootSession *session, uint8_t *state, uint16_t maxSize);
183 EseAppResult ese_boot_rollback_index_write(struct EseBootSession *session, uint8_t slot, uint64_t v…
[all …]
/external/libese/apps/weaver/include/ese/app/
Dweaver.h74 EseAppResult ese_weaver_session_open(struct EseInterface *ese, struct EseWeaverSession *session);
82 EseAppResult ese_weaver_session_close(struct EseWeaverSession *session);
88 EseAppResult ese_weaver_get_num_slots(struct EseWeaverSession *session, uint32_t *numSlots);
98 EseAppResult ese_weaver_write(struct EseWeaverSession *session, uint32_t slotId,
114 EseAppResult ese_weaver_read(struct EseWeaverSession *session, uint32_t slotId,
122 EseAppResult ese_weaver_erase_value(struct EseWeaverSession *session, uint32_t slotId);
/external/libese/apps/boot/
Dboot.c45 EseAppResult check_apdu_status(uint8_t code[2]) { in check_apdu_status()
66 ESE_API EseAppResult ese_boot_session_open(struct EseInterface *ese, in ese_boot_session_open()
96 EseAppResult ret; in ese_boot_session_open()
137 ESE_API EseAppResult ese_boot_session_close(struct EseBootSession *session) { in ese_boot_session_close()
159 EseAppResult ret; in ese_boot_session_close()
169 ESE_API EseAppResult ese_boot_lock_xget(struct EseBootSession *session, in ese_boot_lock_xget()
217 EseAppResult ret = check_apdu_status(&reply[0]); in ese_boot_lock_xget()
230 ESE_API EseAppResult ese_boot_lock_get(struct EseBootSession *session, in ese_boot_lock_get()
260 EseAppResult ret = check_apdu_status(&reply[rx_len - 2]); in ese_boot_lock_get()
285 EseAppResult ese_boot_meta_clear(struct EseBootSession *session) { in ese_boot_meta_clear()
[all …]
Dese_boot_tool.cpp59 void handle_error(struct EseInterface *ese, EseAppResult result) {
139 EseAppResult res; in handle_production()
167 EseAppResult res; in handle_state()
236 EseAppResult res; in handle_verify_key()
269 EseAppResult res; in handle_lock_state()
393 EseAppResult res; in handle_rollback()
449 EseAppResult res = ese_boot_session_open(&ese, &session); in main()
DREADME.md253 EseAppResult is an enum that all `ese_boot_*` functions return. The
/external/libese/apps/weaver/
Dweaver.c53 EseAppResult check_apdu_status(uint8_t code[2]) { in check_apdu_status()
74 ESE_API EseAppResult ese_weaver_session_open(struct EseInterface *ese, in ese_weaver_session_open()
104 EseAppResult ret; in ese_weaver_session_open()
145 ESE_API EseAppResult
168 EseAppResult ret; in ese_weaver_session_close()
178 ESE_API EseAppResult ese_weaver_get_num_slots(struct EseWeaverSession *session, in ese_weaver_get_num_slots()
208 EseAppResult ret = check_apdu_status(rx_buf); in ese_weaver_get_num_slots()
220 ESE_API EseAppResult ese_weaver_write(struct EseWeaverSession *session, in ese_weaver_write()
274 ESE_API EseAppResult ese_weaver_read(struct EseWeaverSession *session, in ese_weaver_read()
333 EseAppResult ret = check_apdu_status(rx_buf); in ese_weaver_read()
[all …]
/external/libese/esed/
DOemLock.cpp58 EseAppResult res = ese_boot_session_open(mEse.ese_interface(), &session); in setOemUnlockAllowedByCarrier()
91 EseAppResult res = ese_boot_session_open(mEse.ese_interface(), &session); in isOemUnlockAllowedByCarrier()
132 EseAppResult res = ese_boot_session_open(mEse.ese_interface(), &session); in setOemUnlockAllowedByDevice()
161 EseAppResult res = ese_boot_session_open(mEse.ese_interface(), &session); in isOemUnlockAllowedByDevice()
DWeaver.cpp46 EseAppResult res = ese_weaver_session_open(mEse.ese_interface(), &ws); in getConfig()
/external/libese/apps/include/ese/app/
Dresult.h37 } EseAppResult; typedef