Home
last modified time | relevance | path

Searched refs:nvme_auth_hmac_update (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/nvme/target/
H A Dauth.c328 nvme_auth_hmac_update(&hmac, challenge, shash_len); in nvmet_auth_host_hash()
331 nvme_auth_hmac_update(&hmac, buf, 4); in nvmet_auth_host_hash()
334 nvme_auth_hmac_update(&hmac, buf, 2); in nvmet_auth_host_hash()
337 nvme_auth_hmac_update(&hmac, buf, 1); in nvmet_auth_host_hash()
338 nvme_auth_hmac_update(&hmac, "HostHost", 8); in nvmet_auth_host_hash()
340 nvme_auth_hmac_update(&hmac, ctrl->hostnqn, strlen(ctrl->hostnqn)); in nvmet_auth_host_hash()
341 nvme_auth_hmac_update(&hmac, buf, 1); in nvmet_auth_host_hash()
342 nvme_auth_hmac_update(&hmac, ctrl->subsys->subsysnqn, in nvmet_auth_host_hash()
397 nvme_auth_hmac_update(&hmac, challenge, shash_len); in nvmet_auth_ctrl_hash()
400 nvme_auth_hmac_update(&hmac, buf, 4); in nvmet_auth_ctrl_hash()
[all …]
/linux/drivers/nvme/common/
H A Dauth.c251 void nvme_auth_hmac_update(struct nvme_auth_hmac_ctx *hmac, const u8 *data, in nvme_auth_hmac_update() function
268 EXPORT_SYMBOL_GPL(nvme_auth_hmac_update);
297 nvme_auth_hmac_update(&hmac, data, data_len); in nvme_auth_hmac()
347 nvme_auth_hmac_update(&hmac, nqn, strlen(nqn)); in nvme_auth_transform_key()
348 nvme_auth_hmac_update(&hmac, "NVMe-over-Fabrics", 17); in nvme_auth_transform_key()
502 nvme_auth_hmac_update(&hmac, c1, hash_len); in nvme_auth_generate_psk()
503 nvme_auth_hmac_update(&hmac, c2, hash_len); in nvme_auth_generate_psk()
588 nvme_auth_hmac_update(&hmac, hostnqn, strlen(hostnqn)); in nvme_auth_generate_digest()
589 nvme_auth_hmac_update(&hmac, " ", 1); in nvme_auth_generate_digest()
590 nvme_auth_hmac_update(&hmac, subsysnqn, strlen(subsysnqn)); in nvme_auth_generate_digest()
[all …]
/linux/drivers/nvme/host/
H A Dauth.c458 nvme_auth_hmac_update(&hmac, challenge, chap->hash_len); in nvme_auth_dhchap_setup_host_response()
461 nvme_auth_hmac_update(&hmac, buf, 4); in nvme_auth_dhchap_setup_host_response()
464 nvme_auth_hmac_update(&hmac, buf, 2); in nvme_auth_dhchap_setup_host_response()
467 nvme_auth_hmac_update(&hmac, buf, 1); in nvme_auth_dhchap_setup_host_response()
468 nvme_auth_hmac_update(&hmac, "HostHost", 8); in nvme_auth_dhchap_setup_host_response()
469 nvme_auth_hmac_update(&hmac, ctrl->opts->host->nqn, in nvme_auth_dhchap_setup_host_response()
472 nvme_auth_hmac_update(&hmac, buf, 1); in nvme_auth_dhchap_setup_host_response()
473 nvme_auth_hmac_update(&hmac, ctrl->opts->subsysnqn, in nvme_auth_dhchap_setup_host_response()
530 nvme_auth_hmac_update(&hmac, challenge, chap->hash_len); in nvme_auth_dhchap_setup_ctrl_response()
533 nvme_auth_hmac_update(&hmac, buf, 4); in nvme_auth_dhchap_setup_ctrl_response()
[all …]
/linux/include/linux/
H A Dnvme-auth.h36 void nvme_auth_hmac_update(struct nvme_auth_hmac_ctx *hmac, const u8 *data,