Home
last modified time | relevance | path

Searched refs:ctrl_key (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/kernel/debug/kdb/
H A Dkdb_keyboard.c41 static int ctrl_key; in kdb_get_kbd_char() local
89 ctrl_key = 1; in kdb_get_kbd_char()
91 ctrl_key = 0; in kdb_get_kbd_char()
159 if (!shift_lock && !shift_key && !ctrl_key) { in kdb_get_kbd_char()
163 } else if (ctrl_key && key_maps[4]) { in kdb_get_kbd_char()
/openbmc/linux/drivers/nvme/target/
H A Dauth.c191 nvme_auth_free_key(ctrl->ctrl_key); in nvmet_setup_auth()
193 ctrl->ctrl_key = NULL; in nvmet_setup_auth()
199 if (IS_ERR(ctrl->ctrl_key)) { in nvmet_setup_auth()
200 ret = PTR_ERR(ctrl->ctrl_key); in nvmet_setup_auth()
201 ctrl->ctrl_key = NULL; in nvmet_setup_auth()
205 ctrl->ctrl_key->hash > 0 ? in nvmet_setup_auth()
207 (int)ctrl->ctrl_key->len, ctrl->ctrl_key->key); in nvmet_setup_auth()
250 if (ctrl->ctrl_key) { in nvmet_destroy_auth()
251 nvme_auth_free_key(ctrl->ctrl_key); in nvmet_destroy_auth()
252 ctrl->ctrl_key = NULL; in nvmet_destroy_auth()
[all …]
H A Dfabrics-cmd-auth.c405 if (!ctrl->ctrl_key) { in nvmet_auth_success1()
H A Dnvmet.h227 struct nvme_dhchap_key *ctrl_key; member
/openbmc/linux/drivers/nvme/host/
H A Dauth.c40 u8 *ctrl_key; member
277 if (!chap->ctrl_key) { in nvme_auth_process_dhchap_challenge()
314 if (ctrl->ctrl_key) { in nvme_auth_set_dhchap_reply_data()
656 kfree_sensitive(chap->ctrl_key); in nvme_auth_reset_dhchap()
657 chap->ctrl_key = NULL; in nvme_auth_reset_dhchap()
808 if (ctrl->ctrl_key) { in nvme_queue_auth_work()
955 &ctrl->ctrl_key); in nvme_auth_init_ctrl()
978 nvme_auth_free_key(ctrl->ctrl_key); in nvme_auth_init_ctrl()
979 ctrl->ctrl_key = NULL; in nvme_auth_init_ctrl()
1006 if (ctrl->ctrl_key) { in nvme_auth_free()
[all …]
H A Dsysfs.c502 struct nvme_dhchap_key *key, *ctrl_key; in nvme_ctrl_dhchap_ctrl_secret_store() local
512 ctrl_key = ctrl->ctrl_key; in nvme_ctrl_dhchap_ctrl_secret_store()
514 ctrl->ctrl_key = key; in nvme_ctrl_dhchap_ctrl_secret_store()
516 nvme_auth_free_key(ctrl_key); in nvme_ctrl_dhchap_ctrl_secret_store()
H A Dnvme.h374 struct nvme_dhchap_key *ctrl_key; member
/openbmc/linux/include/linux/
H A Dnvme-auth.h38 u8 *ctrl_key, size_t ctrl_key_len,
/openbmc/linux/drivers/nvme/common/
H A Dauth.c431 u8 *ctrl_key, size_t ctrl_key_len, in nvme_auth_gen_shared_secret() argument
444 sg_init_one(&src, ctrl_key, ctrl_key_len); in nvme_auth_gen_shared_secret()