Home
last modified time | relevance | path

Searched refs:ldr_ctx (Results 1 – 2 of 2) sorted by relevance

/external/tpm2-tss/src/tss2-tcti/
Dtctildr.c189 TSS2_TCTILDR_CONTEXT *ldr_ctx = tctildr_context_cast (tctiContext); in tctildr_transmit() local
190 if (ldr_ctx == NULL) { in tctildr_transmit()
193 return Tss2_Tcti_Transmit (ldr_ctx->tcti, command_size, command_buffer); in tctildr_transmit()
202 TSS2_TCTILDR_CONTEXT *ldr_ctx = tctildr_context_cast (tctiContext); in tctildr_receive() local
203 if (ldr_ctx == NULL) { in tctildr_receive()
206 return Tss2_Tcti_Receive (ldr_ctx->tcti, in tctildr_receive()
215 TSS2_TCTILDR_CONTEXT *ldr_ctx = tctildr_context_cast (tctiContext); in tctildr_cancel() local
216 if (ldr_ctx == NULL) { in tctildr_cancel()
219 return Tss2_Tcti_Cancel (ldr_ctx->tcti); in tctildr_cancel()
227 TSS2_TCTILDR_CONTEXT *ldr_ctx = tctildr_context_cast (tctiContext); in tctildr_get_poll_handles() local
[all …]
/external/tpm2-tss/test/unit/
Dtctildr-tcti.c99 TSS2_TCTILDR_CONTEXT *ldr_ctx; in tctildr_setup() local
102 ldr_ctx = calloc (1, sizeof (TSS2_TCTILDR_CONTEXT)); in tctildr_setup()
103 TSS2_TCTI_MAGIC (ldr_ctx) = TCTILDR_MAGIC; in tctildr_setup()
104 TSS2_TCTI_VERSION (ldr_ctx) = TCTI_VERSION; in tctildr_setup()
105 TSS2_TCTI_TRANSMIT (ldr_ctx) = tctildr_transmit; in tctildr_setup()
106 TSS2_TCTI_RECEIVE (ldr_ctx) = tctildr_receive; in tctildr_setup()
107 TSS2_TCTI_CANCEL (ldr_ctx) = tctildr_cancel; in tctildr_setup()
108 TSS2_TCTI_GET_POLL_HANDLES (ldr_ctx) = tctildr_get_poll_handles; in tctildr_setup()
109 TSS2_TCTI_SET_LOCALITY (ldr_ctx) = tctildr_set_locality; in tctildr_setup()
110 TSS2_TCTI_MAKE_STICKY (ldr_ctx) = tctildr_make_sticky; in tctildr_setup()
[all …]