Searched refs:digest (Results 1 – 2 of 2) sorted by relevance
712 char *digest; in kexec_calculate_store_digests() local747 digest = kzalloc(SHA256_DIGEST_SIZE, GFP_KERNEL); in kexec_calculate_store_digests()748 if (!digest) { in kexec_calculate_store_digests()794 ret = crypto_shash_final(desc, digest); in kexec_calculate_store_digests()803 digest, SHA256_DIGEST_SIZE, 0); in kexec_calculate_store_digests()809 kfree(digest); in kexec_calculate_store_digests()
267 u32 digest[SHA_DIGEST_WORDS]; in bpf_prog_calc_tag() local280 sha_init(digest); in bpf_prog_calc_tag()323 sha_transform(digest, todo, ws); in bpf_prog_calc_tag()327 result = (__force __be32 *)digest; in bpf_prog_calc_tag()329 result[i] = cpu_to_be32(digest[i]); in bpf_prog_calc_tag()