Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-ima.c181 char *target_metadata_buf = NULL, *target_data_buf = NULL, *digest_buf = NULL; in dm_ima_measure_on_table_load() local
329 digest_buf = dm_ima_alloc((digest_size*2) + hash_alg_prefix_len + 1, GFP_KERNEL, noio); in dm_ima_measure_on_table_load()
331 if (!digest_buf) in dm_ima_measure_on_table_load()
334 snprintf(digest_buf, hash_alg_prefix_len + 1, "%s:", DM_IMA_TABLE_HASH_ALG); in dm_ima_measure_on_table_load()
337 snprintf((digest_buf + hash_alg_prefix_len + (i*2)), 3, "%02x", digest[i]); in dm_ima_measure_on_table_load()
342 table->md->ima.inactive_table.hash = digest_buf; in dm_ima_measure_on_table_load()
343 table->md->ima.inactive_table.hash_len = strlen(digest_buf); in dm_ima_measure_on_table_load()
355 kfree(digest_buf); in dm_ima_measure_on_table_load()
/openbmc/qemu/hw/misc/
H A Daspeed_hace.c192 g_autofree uint8_t *digest_buf = NULL; in do_hash_operation() local
268 if (qcrypto_hash_bytesv(algo, iov, i, &digest_buf, &digest_len, NULL) < 0) { in do_hash_operation()
275 digest_buf, digest_len)) { in do_hash_operation()
/openbmc/u-boot/lib/libavb/
H A Davb_slot_verify.c975 uint8_t digest_buf[AVB_SHA512_DIGEST_SIZE]; in load_and_verify_vbmeta() local
1022 ret = read_persistent_digest(ops, part_name, digest_len, digest_buf); in load_and_verify_vbmeta()
1030 digest_buf, in load_and_verify_vbmeta()
/openbmc/linux/fs/overlayfs/
H A Doverlayfs.h510 u8 *digest_buf, int *buf_length);
/openbmc/u-boot/cmd/
H A Dotp.c1899 static int otp_verify_image(u8 *src_buf, u32 length, u8 *digest_buf, int version) in otp_verify_image() argument
1917 if (!memcmp(digest_buf, digest_ret, digest_len)) in otp_verify_image()