Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dauth.c280 unsigned int shash_len) in nvmet_auth_host_hash() argument
299 if (shash_len != nvme_auth_hmac_hash_len(ctrl->shash_id)) { in nvmet_auth_host_hash()
301 shash_len, nvme_auth_hmac_hash_len(ctrl->shash_id)); in nvmet_auth_host_hash()
307 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
316 challenge, shash_len); in nvmet_auth_host_hash()
325 nvme_auth_hmac_update(&hmac, challenge, shash_len); in nvmet_auth_host_hash()
353 unsigned int shash_len) in nvmet_auth_ctrl_hash() argument
372 if (shash_len != nvme_auth_hmac_hash_len(ctrl->shash_id)) { in nvmet_auth_ctrl_hash()
374 shash_len, nvme_auth_hmac_hash_len(ctrl->shash_id)); in nvmet_auth_ctrl_hash()
380 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
[all …]