Home
last modified time | relevance | path

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

/trusty/hardware/nxp/app/hwcrypto/
Dhwkey_srv.c37 struct hwkey_chan_ctx { struct
100 static void hwkey_ctx_close(struct hwkey_chan_ctx* ctx) { in hwkey_ctx_close()
108 static int hwkey_send_rsp(struct hwkey_chan_ctx* ctx, in hwkey_send_rsp()
117 static uint32_t _handle_slots(struct hwkey_chan_ctx* ctx, in _handle_slots()
145 static int hwkey_handle_get_keyslot_cmd(struct hwkey_chan_ctx* ctx, in hwkey_handle_get_keyslot_cmd()
174 static int hwkey_handle_derive_key_cmd(struct hwkey_chan_ctx* ctx, in hwkey_handle_derive_key_cmd()
208 static int hwkey_chan_handle_msg(struct hwkey_chan_ctx* ctx) { in hwkey_chan_handle_msg()
248 struct hwkey_chan_ctx* ctx = priv; in hwkey_chan_handler()
289 struct hwkey_chan_ctx* ctx = calloc(1, sizeof(*ctx)); in hwkey_port_handler()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c38 struct hwkey_chan_ctx { struct
56 struct hwkey_chan_ctx* owner; argument
99 static void hwkey_ctx_close(struct hwkey_chan_ctx* ctx) { in hwkey_ctx_close()
115 static int hwkey_send_rsp(struct hwkey_chan_ctx* ctx, in hwkey_send_rsp()
155 static uint32_t insert_handle_node(struct hwkey_chan_ctx* ctx, in insert_handle_node()
174 static uint32_t _handle_slots(struct hwkey_chan_ctx* ctx, in _handle_slots()
319 static int hwkey_handle_get_keyslot_cmd(struct hwkey_chan_ctx* ctx, in hwkey_handle_get_keyslot_cmd()
365 static int hwkey_handle_derive_key_cmd(struct hwkey_chan_ctx* ctx, in hwkey_handle_derive_key_cmd()
414 struct hwkey_chan_ctx* ctx, in hwkey_handle_derive_versioned_key_cmd()
510 static int hwkey_chan_handle_msg(struct hwkey_chan_ctx* ctx) { in hwkey_chan_handle_msg()
[all …]