Searched refs:hki (Results 1 – 1 of 1) sorted by relevance
304 struct cc_hkey_info hki; in cc_cipher_sethkey() local313 if (keylen != sizeof(hki)) { in cc_cipher_sethkey()318 memcpy(&hki, key, keylen); in cc_cipher_sethkey()323 keylen = hki.keylen; in cc_cipher_sethkey()333 switch (cc_slot_to_key_type(hki.hw_key1)) { in cc_cipher_sethkey()340 ctx_p->hw.key1_slot = cc_slot_to_hw_key(hki.hw_key1); in cc_cipher_sethkey()343 hki.hw_key1); in cc_cipher_sethkey()349 if (hki.hw_key1 == hki.hw_key2) { in cc_cipher_sethkey()351 hki.hw_key1, hki.hw_key2); in cc_cipher_sethkey()355 ctx_p->hw.key2_slot = cc_slot_to_hw_key(hki.hw_key2); in cc_cipher_sethkey()[all …]