Searched refs:key_tfm (Results 1 – 1 of 1) sorted by relevance
235 struct crypto_shash *key_tfm; in nvme_auth_transform_key() local254 key_tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_transform_key()255 if (IS_ERR(key_tfm)) in nvme_auth_transform_key()256 return (u8 *)key_tfm; in nvme_auth_transform_key()259 crypto_shash_descsize(key_tfm), in nvme_auth_transform_key()266 transformed_key = kzalloc(crypto_shash_digestsize(key_tfm), GFP_KERNEL); in nvme_auth_transform_key()272 shash->tfm = key_tfm; in nvme_auth_transform_key()273 ret = crypto_shash_setkey(key_tfm, key->key, key->len); in nvme_auth_transform_key()290 crypto_free_shash(key_tfm); in nvme_auth_transform_key()299 crypto_free_shash(key_tfm); in nvme_auth_transform_key()