Home
last modified time | relevance | path

Searched refs:hwkey_derive_versioned_msg (Results 1 – 6 of 6) sorted by relevance

/trusty/user/base/interface/hwkey/include/interface/hwkey/
Dhwkey.h286 struct hwkey_derive_versioned_msg { struct
307 const struct hwkey_derive_versioned_msg* msg) { in hwkey_derive_versioned_msg_compatible_with_unversioned() argument
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs185 const HEADER_SIZE: usize = mem::size_of::<hwkey_derive_versioned_msg>(); in derive()
213 let req_msg = hwkey_derive_versioned_msg { in derive()
538 msg: hwkey_derive_versioned_msg,
624 let header_size = mem::size_of::<hwkey_derive_versioned_msg>(); in deserialize()
632 let msg = unsafe { &*(bytes.as_ptr() as *const hwkey_derive_versioned_msg) }; in deserialize() constant
Dtest.rs418 const HEADER_SIZE: usize = mem::size_of::<hwkey_derive_versioned_msg>(); in test_hwkey_derive_large_payload()
/trusty/user/base/lib/hwkey/
Dhwkey.c247 HWKEY_MAX_MSG_SIZE - sizeof(struct hwkey_derive_versioned_msg); in hwkey_derive_versioned()
256 struct hwkey_derive_versioned_msg req_msg = { in hwkey_derive_versioned()
283 struct hwkey_derive_versioned_msg resp_msg = {0}; in hwkey_derive_versioned()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c415 struct hwkey_derive_versioned_msg* msg, in hwkey_handle_derive_versioned_key_cmd()
559 if (req_data_len < sizeof(struct hwkey_derive_versioned_msg)) { in hwkey_chan_handle_msg()
565 ctx, (struct hwkey_derive_versioned_msg*)req_data, in hwkey_chan_handle_msg()
566 req_data + sizeof(struct hwkey_derive_versioned_msg), in hwkey_chan_handle_msg()
567 req_data_len - sizeof(struct hwkey_derive_versioned_msg)); in hwkey_chan_handle_msg()
/trusty/user/app/sample/hwcrypto-unittest/
Dmain.c772 HWKEY_MAX_MSG_SIZE - sizeof(struct hwkey_derive_versioned_msg); in TEST_F()