Lines Matching defs:hki
307 struct cc_hkey_info hki;
316 if (keylen != sizeof(hki)) {
321 memcpy(&hki, key, keylen);
326 keylen = hki.keylen;
336 switch (cc_slot_to_key_type(hki.hw_key1)) {
343 ctx_p->hw.key1_slot = cc_slot_to_hw_key(hki.hw_key1);
346 hki.hw_key1);
352 if (hki.hw_key1 == hki.hw_key2) {
354 hki.hw_key1, hki.hw_key2);
358 ctx_p->hw.key2_slot = cc_slot_to_hw_key(hki.hw_key2);
361 hki.hw_key2);
383 ctx_p->cpp.slot = cc_slot_to_cpp_key(hki.hw_key1);
394 dev_err(dev, "Unsupported protected key (%d)\n", hki.hw_key1);