Lines Matching refs:transformed_key
282 struct nvme_dhchap_key *transformed_key; in nvmet_auth_host_hash() local
306 transformed_key = nvme_auth_transform_key(ctrl->host_key, in nvmet_auth_host_hash()
308 if (IS_ERR(transformed_key)) { in nvmet_auth_host_hash()
309 ret = PTR_ERR(transformed_key); in nvmet_auth_host_hash()
313 ret = crypto_shash_setkey(shash_tfm, transformed_key->key, in nvmet_auth_host_hash()
314 transformed_key->len); in nvmet_auth_host_hash()
382 nvme_auth_free_key(transformed_key); in nvmet_auth_host_hash()
396 struct nvme_dhchap_key *transformed_key; in nvmet_auth_ctrl_hash() local
420 transformed_key = nvme_auth_transform_key(ctrl->ctrl_key, in nvmet_auth_ctrl_hash()
422 if (IS_ERR(transformed_key)) { in nvmet_auth_ctrl_hash()
423 ret = PTR_ERR(transformed_key); in nvmet_auth_ctrl_hash()
427 ret = crypto_shash_setkey(shash_tfm, transformed_key->key, in nvmet_auth_ctrl_hash()
428 transformed_key->len); in nvmet_auth_ctrl_hash()
493 nvme_auth_free_key(transformed_key); in nvmet_auth_ctrl_hash()