Home
last modified time | relevance | path

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

/trusty/kernel/lib/trusty/include/lib/trusty/
Dtrusty_app.h240 static inline void* trusty_als_get(struct trusty_app* app, int slot_id) { in trusty_als_get() argument
241 uint slot = slot_id - 1; in trusty_als_get()
247 int slot_id, in trusty_als_set() argument
249 uint slot = slot_id - 1; in trusty_als_set()
/trusty/hardware/nxp/app/hwcrypto/
Dhwkey_srv.c118 const char* slot_id, in _handle_slots() argument
129 if (strcmp(slots->key_id, slot_id)) in _handle_slots()
147 const char* slot_id) { in hwkey_handle_get_keyslot_cmd() argument
151 msg->header.status = _handle_slots(ctx, slot_id, key_slots, key_slot_cnt, in hwkey_handle_get_keyslot_cmd()
157 msg->header.status = _handle_slots(ctx, slot_id, test_key_slots, in hwkey_handle_get_keyslot_cmd()
/trusty/user/base/lib/hwkey/include/lib/hwkey/
Dhwkey.h58 const char* slot_id,
/trusty/user/base/lib/hwkey/
Dhwkey.c172 const char* slot_id, in hwkey_get_keyslot_data() argument
175 if (slot_id == NULL || data == NULL || data_size == NULL || in hwkey_get_keyslot_data()
185 return send_req(session, &msg, (uint8_t*)slot_id, strlen(slot_id), data, in hwkey_get_keyslot_data()
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs109 slot_id: &CStr, in get_keyslot_data()
112 let slot_id = slot_id.to_bytes(); in get_keyslot_data() localVariable
116 if slot_id.len() <= 0 { in get_keyslot_data()
135 self.0.send(&HwkeyMsg { msg: req_msg, request: slot_id })?; in get_keyslot_data()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c175 const char* slot_id, in _handle_slots() argument
186 if (strcmp(slots->key_id, slot_id)) in _handle_slots()
206 return get_opaque_key(&ctx->uuid, slot_id, kbuf, kbuf_len, klen); in _handle_slots()
321 const char* slot_id) { in hwkey_handle_get_keyslot_cmd() argument
325 hdr->header.status = _handle_slots(ctx, slot_id, key_slots, key_slot_cnt, in hwkey_handle_get_keyslot_cmd()