Home
last modified time | relevance | path

Searched refs:host_response (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_uart.c88 struct ec_host_response *host_response; in cros_ec_uart_rx_bytes() local
116 if (resp->size >= sizeof(*host_response) && resp->exp_len == 0) { in cros_ec_uart_rx_bytes()
117 host_response = (struct ec_host_response *)resp->data; in cros_ec_uart_rx_bytes()
118 resp->exp_len = host_response->data_len + sizeof(*host_response); in cros_ec_uart_rx_bytes()
122 if (resp->size >= sizeof(*host_response) && resp->size == resp->exp_len) { in cros_ec_uart_rx_bytes()
136 struct ec_host_response *host_response; in cros_ec_uart_pkt_xfer() local
173 host_response = (struct ec_host_response *)ec_dev->din; in cros_ec_uart_pkt_xfer()
174 ec_msg->result = host_response->result; in cros_ec_uart_pkt_xfer()
176 if (host_response->data_len > ec_msg->insize) { in cros_ec_uart_pkt_xfer()
178 host_response->data_len, ec_msg->insize); in cros_ec_uart_pkt_xfer()
[all …]
/linux-6.6.21/drivers/nvme/target/
Dauth.c270 u8 *challenge = req->sq->dhchap_c1, *host_response; in nvmet_auth_host_hash() local
294 host_response = nvme_auth_transform_key(ctrl->host_key, ctrl->hostnqn); in nvmet_auth_host_hash()
295 if (IS_ERR(host_response)) { in nvmet_auth_host_hash()
296 ret = PTR_ERR(host_response); in nvmet_auth_host_hash()
300 ret = crypto_shash_setkey(shash_tfm, host_response, in nvmet_auth_host_hash()
368 kfree_sensitive(host_response); in nvmet_auth_host_hash()
/linux-6.6.21/drivers/nvme/host/
Dauth.c39 u8 *host_response; member
431 if (!chap->host_response) { in nvme_auth_dhchap_setup_host_response()
432 chap->host_response = nvme_auth_transform_key(ctrl->host_key, in nvme_auth_dhchap_setup_host_response()
434 if (IS_ERR(chap->host_response)) { in nvme_auth_dhchap_setup_host_response()
435 ret = PTR_ERR(chap->host_response); in nvme_auth_dhchap_setup_host_response()
436 chap->host_response = NULL; in nvme_auth_dhchap_setup_host_response()
445 chap->host_response, ctrl->host_key->len); in nvme_auth_dhchap_setup_host_response()
651 kfree_sensitive(chap->host_response); in nvme_auth_reset_dhchap()
652 chap->host_response = NULL; in nvme_auth_reset_dhchap()