Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/common/
Dauth.c237 u8 *transformed_key; in nvme_auth_transform_key() local
245 transformed_key = kmemdup(key->key, key->len, GFP_KERNEL); in nvme_auth_transform_key()
246 return transformed_key ? transformed_key : ERR_PTR(-ENOMEM); in nvme_auth_transform_key()
266 transformed_key = kzalloc(crypto_shash_digestsize(key_tfm), GFP_KERNEL); in nvme_auth_transform_key()
267 if (!transformed_key) { in nvme_auth_transform_key()
285 ret = crypto_shash_final(shash, transformed_key); in nvme_auth_transform_key()
292 return transformed_key; in nvme_auth_transform_key()
295 kfree_sensitive(transformed_key); in nvme_auth_transform_key()