Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 4 of 4) sorted by relevance

/trusty/hardware/nxp/app/hwcrypto/
Dhwkey_srv.c119 const struct hwkey_keyslot* slots, in _handle_slots() argument
124 if (!slots) in _handle_slots()
127 for (unsigned int i = 0; i < slot_cnt; i++, slots++) { in _handle_slots()
129 if (strcmp(slots->key_id, slot_id)) in _handle_slots()
133 if (memcmp(&ctx->uuid, slots->uuid, sizeof(uuid_t)) == 0) { in _handle_slots()
134 if (slots->handler) { in _handle_slots()
135 return slots->handler(slots, kbuf, kbuf_len, klen); in _handle_slots()
/trusty/user/base/lib/trusty-std/src/
Dclone_ext.rs92 let slots = guard.vec.spare_capacity_mut(); in try_to_vec() localVariable
95 for (i, b) in s.iter().enumerate().take(slots.len()) { in try_to_vec()
97 slots[i].write(b.clone()); in try_to_vec()
/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c176 const struct hwkey_keyslot* slots, in _handle_slots() argument
181 if (!slots) in _handle_slots()
184 for (unsigned int i = 0; i < slot_cnt; i++, slots++) { in _handle_slots()
186 if (strcmp(slots->key_id, slot_id)) in _handle_slots()
190 if (memcmp(&ctx->uuid, slots->uuid, sizeof(uuid_t)) == 0) { in _handle_slots()
191 if (slots->handler) { in _handle_slots()
192 if (is_opaque_handle(slots)) { in _handle_slots()
193 uint32_t rc = insert_handle_node(ctx, slots); in _handle_slots()
197 return slots->handler(slots, kbuf, kbuf_len, klen); in _handle_slots()
/trusty/vendor/google/aosp/scripts/
Dtest-map419 # because KM4 VTS leaks operation slots on Trusty (b/146083990).