Lines Matching refs:shash_len
264 unsigned int shash_len) in nvmet_auth_host_hash() argument
286 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_host_hash()
288 __func__, shash_len, in nvmet_auth_host_hash()
306 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
315 challenge, shash_len); in nvmet_auth_host_hash()
334 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_host_hash()
375 unsigned int shash_len) in nvmet_auth_ctrl_hash() argument
397 if (shash_len != crypto_shash_digestsize(shash_tfm)) { in nvmet_auth_ctrl_hash()
399 __func__, shash_len, in nvmet_auth_ctrl_hash()
418 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
427 challenge, shash_len); in nvmet_auth_ctrl_hash()
443 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_ctrl_hash()