Lines Matching defs:hki
304 struct cc_hkey_info hki;
313 if (keylen != sizeof(hki)) {
318 memcpy(&hki, key, keylen);
323 keylen = hki.keylen;
333 switch (cc_slot_to_key_type(hki.hw_key1)) {
340 ctx_p->hw.key1_slot = cc_slot_to_hw_key(hki.hw_key1);
343 hki.hw_key1);
349 if (hki.hw_key1 == hki.hw_key2) {
351 hki.hw_key1, hki.hw_key2);
355 ctx_p->hw.key2_slot = cc_slot_to_hw_key(hki.hw_key2);
358 hki.hw_key2);
380 ctx_p->cpp.slot = cc_slot_to_cpp_key(hki.hw_key1);
391 dev_err(dev, "Unsupported protected key (%d)\n", hki.hw_key1);