Searched refs:digest (Results 1 – 2 of 2) sorted by relevance
680 char *digest; in kexec_calculate_store_digests() local717 digest = kzalloc(SHA256_DIGEST_SIZE, GFP_KERNEL); in kexec_calculate_store_digests()718 if (!digest) { in kexec_calculate_store_digests()764 ret = crypto_shash_final(desc, digest); in kexec_calculate_store_digests()773 digest, SHA256_DIGEST_SIZE, 0); in kexec_calculate_store_digests()779 kfree(digest); in kexec_calculate_store_digests()
278 u32 digest[SHA1_DIGEST_WORDS]; in bpf_prog_calc_tag() local291 sha1_init(digest); in bpf_prog_calc_tag()334 sha1_transform(digest, todo, ws); in bpf_prog_calc_tag()338 result = (__force __be32 *)digest; in bpf_prog_calc_tag()340 result[i] = cpu_to_be32(digest[i]); in bpf_prog_calc_tag()