Home
last modified time | relevance | path

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

/openbmc/qemu/hw/misc/
H A Daspeed_hace.c328 uint8_t *digest_buf, in hash_write_digest_and_unmap_iov() argument
337 digest_buf, digest_len)) { in hash_write_digest_and_unmap_iov()
344 hace_hexdump("digest", (char *)digest_buf, digest_len); in hash_write_digest_and_unmap_iov()
357 g_autofree uint8_t *digest_buf = NULL; in hash_execute_non_acc_mode() local
361 if (qcrypto_hash_bytesv(algo, iov, iov_idx, &digest_buf, in hash_execute_non_acc_mode()
370 hash_write_digest_and_unmap_iov(s, iov, iov_idx, digest_buf, digest_len); in hash_execute_non_acc_mode()
377 g_autofree uint8_t *digest_buf = NULL; in hash_execute_acc_mode() local
401 if (qcrypto_hash_finalize_bytes(s->hash_ctx, &digest_buf, in hash_execute_acc_mode()
416 hash_write_digest_and_unmap_iov(s, iov, iov_idx, digest_buf, digest_len); in hash_execute_acc_mode()
/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/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()