Home
last modified time | relevance | path

Searched refs:hwkey_msg (Results 1 – 5 of 5) sorted by relevance

/trusty/user/base/interface/hwkey/include/interface/hwkey/
Dhwkey.h173 struct hwkey_msg { struct
179 STATIC_ASSERT(sizeof(struct hwkey_msg) == 20); argument
/trusty/hardware/nxp/app/hwcrypto/
Dhwkey_srv.c109 struct hwkey_msg* rsp_msg, in hwkey_send_rsp()
146 struct hwkey_msg* msg, in hwkey_handle_get_keyslot_cmd()
175 struct hwkey_msg* msg, in hwkey_handle_derive_key_cmd()
211 struct hwkey_msg msg; in hwkey_chan_handle_msg()
334 sizeof(struct hwkey_msg) + HWKEY_MAX_PAYLOAD_SIZE, in hwkey_start_service()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c116 struct hwkey_msg* rsp_hdr, in hwkey_send_rsp()
320 struct hwkey_msg* hdr, in hwkey_handle_get_keyslot_cmd()
366 struct hwkey_msg* hdr, in hwkey_handle_derive_key_cmd()
535 if (req_data_len < sizeof(struct hwkey_msg)) { in hwkey_chan_handle_msg()
541 ctx, (struct hwkey_msg*)req_data, in hwkey_chan_handle_msg()
542 (const char*)(req_data + sizeof(struct hwkey_msg))); in hwkey_chan_handle_msg()
546 if (req_data_len < sizeof(struct hwkey_msg)) { in hwkey_chan_handle_msg()
552 ctx, (struct hwkey_msg*)req_data, in hwkey_chan_handle_msg()
553 req_data + sizeof(struct hwkey_msg), in hwkey_chan_handle_msg()
554 req_data_len - sizeof(struct hwkey_msg)); in hwkey_chan_handle_msg()
/trusty/user/base/lib/hwkey/
Dhwkey.c72 struct hwkey_msg* msg, in send_req()
180 struct hwkey_msg msg = { in hwkey_get_keyslot_data()
199 struct hwkey_msg msg = { in hwkey_derive()
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs128 let req_msg = hwkey_msg { in get_keyslot_data()
515 msg: hwkey_msg,
587 let header_size = mem::size_of::<hwkey_msg>(); in deserialize()
596 let msg = unsafe { &*(bytes.as_ptr() as *const hwkey_msg) }; in deserialize() constant