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.c287 unsigned int shash_len) in nvmet_auth_host_hash() argument
306 if (shash_len != nvme_auth_hmac_hash_len(ctrl->shash_id)) { in nvmet_auth_host_hash()
308 shash_len, nvme_auth_hmac_hash_len(ctrl->shash_id)); in nvmet_auth_host_hash()
314 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
323 challenge, shash_len); in nvmet_auth_host_hash()
331 nvme_auth_hmac_update(&hmac, challenge, shash_len); in nvmet_auth_host_hash()
359 unsigned int shash_len) in nvmet_auth_ctrl_hash() argument
378 if (shash_len != nvme_auth_hmac_hash_len(ctrl->shash_id)) { in nvmet_auth_ctrl_hash()
380 shash_len, nvme_auth_hmac_hash_len(ctrl->shash_id)); in nvmet_auth_ctrl_hash()
386 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
[all …]