Home
last modified time | relevance | path

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

/hardware/st/secure_element2/secure_element/1.0/esehal/src/se-gto/
Dlibse-gto.h41 struct se_gto_ctx;
47 typedef void se_gto_log_fn (struct se_gto_ctx *ctx, const char *s);
61 int se_gto_new(struct se_gto_ctx **ctx);
69 int se_gto_open(struct se_gto_ctx *ctx);
76 int se_gto_close(struct se_gto_ctx *ctx);
86 int se_gto_get_log_level(struct se_gto_ctx *ctx);
101 void se_gto_set_log_level(struct se_gto_ctx *ctx, int level);
112 se_gto_log_fn *se_gto_get_log_fn(struct se_gto_ctx *ctx);
119 void se_gto_set_log_fn(struct se_gto_ctx *ctx, se_gto_log_fn *fn);
121 void *se_gto_get_userdata(struct se_gto_ctx *ctx);
[all …]
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Dlibse-gto.c43 se_gto_get_userdata(struct se_gto_ctx *ctx) in se_gto_get_userdata()
52 se_gto_set_userdata(struct se_gto_ctx *ctx, void *userdata) in se_gto_set_userdata()
83 log_stderr(struct se_gto_ctx *ctx, const char *s) in log_stderr()
90 se_gto_new(struct se_gto_ctx **c) in se_gto_new()
93 struct se_gto_ctx *ctx; in se_gto_new()
95 ctx = calloc(1, sizeof(struct se_gto_ctx)); in se_gto_new()
120 se_gto_get_log_level(struct se_gto_ctx *ctx) in se_gto_get_log_level()
126 se_gto_set_log_level(struct se_gto_ctx *ctx, int level) in se_gto_set_log_level()
136 se_gto_get_log_fn(struct se_gto_ctx *ctx) in se_gto_get_log_fn()
142 se_gto_set_log_fn(struct se_gto_ctx *ctx, se_gto_log_fn *fn) in se_gto_set_log_fn()
[all …]
Dlog.h49 void vsay(struct se_gto_ctx *ctx, const char *fmt, va_list args);
53 say(struct se_gto_ctx *ctx, const char *fmt, ...) { in say()
73 nosay(struct se_gto_ctx *ctx, const char *fmt, ...) {}
76 nosay(struct se_gto_ctx *ctx, const char *fmt, ...) {} in nosay()
79 void log_teardown(struct se_gto_ctx *ctx);
Dtransport.h27 struct se_gto_ctx;
30 int transport_setup(struct se_gto_ctx *ctx);
31 int transport_teardown(struct se_gto_ctx *ctx);
Dspi.h27 int spi_setup(struct se_gto_ctx *ctx);
28 int spi_teardown(struct se_gto_ctx *ctx);
Dlog.c40 vsay(struct se_gto_ctx *ctx, const char *fmt, va_list args) in vsay()
79 log_teardown(struct se_gto_ctx *ctx) in log_teardown()
Dspi.c39 spi_setup(struct se_gto_ctx *ctx) in spi_setup()
69 spi_teardown(struct se_gto_ctx *ctx) in spi_teardown()
Dlibse-gto-private.h39 struct se_gto_ctx { struct
/hardware/st/secure_element2/secure_element/1.0/
DSecureElement.h59 …static int run_apdu(struct se_gto_ctx *ctx, const uint8_t *apdu, uint8_t *resp, int n, int verbose…
DSecureElement.cpp50 static struct se_gto_ctx *ctx;
517 SecureElement::run_apdu(struct se_gto_ctx *ctx, const uint8_t *apdu, uint8_t *resp, int n, int verb… in run_apdu()
/hardware/st/secure_element2/secure_element/1.1/
DSecureElement.h63 …static int run_apdu(struct se_gto_ctx *ctx, const uint8_t *apdu, uint8_t *resp, int n, int verbose…
DSecureElement.cpp50 static struct se_gto_ctx *ctx;
549 SecureElement::run_apdu(struct se_gto_ctx *ctx, const uint8_t *apdu, uint8_t *resp, int n, int verb… in run_apdu()
/hardware/st/secure_element2/secure_element/1.2/
DSecureElement.h64 …static int run_apdu(struct se_gto_ctx *ctx, const uint8_t *apdu, uint8_t *resp, int n, int verbose…
DSecureElement.cpp50 static struct se_gto_ctx *ctx;
551 SecureElement::run_apdu(struct se_gto_ctx *ctx, const uint8_t *apdu, uint8_t *resp, int n, int verb… in run_apdu()