Home
last modified time | relevance | path

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

/mcuboot-latest/boot/bootutil/include/bootutil/crypto/
Dsha.h38 #define IMAGE_HASH_SIZE (64) macro
41 #define IMAGE_HASH_SIZE (48) macro
44 #define IMAGE_HASH_SIZE (32) macro
/mcuboot-latest/boot/bootutil/src/
Dimage_ed25519.c128 if (hlen != IMAGE_HASH_SIZE) { in bootutil_verify_sig()
133 FIH_CALL(bootutil_verify, fih_rc, hash, IMAGE_HASH_SIZE, sig, in bootutil_verify_sig()
Dimage_validate.c264 # define KEY_BUF_SIZE IMAGE_HASH_SIZE
281 uint8_t hash[IMAGE_HASH_SIZE]; in bootutil_find_key()
283 if (keyhash_len > IMAGE_HASH_SIZE) { in bootutil_find_key()
306 uint8_t hash[IMAGE_HASH_SIZE]; in bootutil_find_key()
307 uint8_t key_hash[IMAGE_HASH_SIZE]; in bootutil_find_key()
511 uint8_t hash[IMAGE_HASH_SIZE]; in bootutil_img_validate()
533 memcpy(out_hash, hash, IMAGE_HASH_SIZE); in bootutil_img_validate()
Dboot_record.c137 uint8_t image_hash[IMAGE_HASH_SIZE]; in boot_save_boot_status()
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c85 #define IMAGE_HASH_SIZE (64) macro
88 #define IMAGE_HASH_SIZE (48) macro
91 #define IMAGE_HASH_SIZE (32) macro
105 #define BOOT_SERIAL_HASH_SIZE_MAX (IMAGE_HASH_SIZE + 4)
285 uint8_t hash[IMAGE_HASH_SIZE]; in bs_list()
502 uint8_t hash[IMAGE_HASH_SIZE]; in bs_set()
1637 if (len != IMAGE_HASH_SIZE) { in boot_serial_get_hash()