Searched refs:tfm (Results 1 – 1 of 1) sorted by relevance
708 struct crypto_shash *tfm; in kexec_calculate_store_digests() local723 tfm = crypto_alloc_shash("sha256", 0, 0); in kexec_calculate_store_digests()724 if (IS_ERR(tfm)) { in kexec_calculate_store_digests()725 ret = PTR_ERR(tfm); in kexec_calculate_store_digests()729 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in kexec_calculate_store_digests()741 desc->tfm = tfm; in kexec_calculate_store_digests()815 kfree(tfm); in kexec_calculate_store_digests()