Searched refs:hki (Results 1 – 1 of 1) sorted by relevance
307 struct cc_hkey_info hki; in cc_cipher_sethkey() local316 if (keylen != sizeof(hki)) { in cc_cipher_sethkey()321 memcpy(&hki, key, keylen); in cc_cipher_sethkey()326 keylen = hki.keylen; in cc_cipher_sethkey()336 switch (cc_slot_to_key_type(hki.hw_key1)) { in cc_cipher_sethkey()343 ctx_p->hw.key1_slot = cc_slot_to_hw_key(hki.hw_key1); in cc_cipher_sethkey()346 hki.hw_key1); in cc_cipher_sethkey()352 if (hki.hw_key1 == hki.hw_key2) { in cc_cipher_sethkey()354 hki.hw_key1, hki.hw_key2); in cc_cipher_sethkey()358 ctx_p->hw.key2_slot = cc_slot_to_hw_key(hki.hw_key2); in cc_cipher_sethkey()[all …]