Searched refs:sec_image (Results 1 – 2 of 2) sorted by relevance
/openbmc/openbmc/meta-aspeed/classes/ |
H A D | socsec-sign.bbclass | 66 --sec_image ${DEPLOYDIR}/${SPL_IMAGE} \
|
/openbmc/u-boot/cmd/ |
H A D | otp.c | 2529 static int sb_sha(struct sb_info *si, u8 *sec_image, u32 sign_image_size, u8 *digest_ret) in sb_sha() argument 2536 do_hash(sec_image, sign_image_size, "sha256", digest_ret); in sb_sha() 2539 do_hash(sec_image, sign_image_size, "sha384", digest_ret); in sb_sha() 2542 do_hash(sec_image, sign_image_size, "sha512", digest_ret); in sb_sha() 2551 static int mode2_verify(u8 *sec_image, u32 sign_image_size, in mode2_verify() argument 2617 u8 *sec_image; in otp_verify_boot_image() local 2643 sec_image = (u8 *)addr; in otp_verify_boot_image() 2644 sh = (struct sb_header *)(sec_image + si.header_offset); in otp_verify_boot_image() 2645 signature = sec_image + sh->signature_offset; in otp_verify_boot_image() 2687 ret = sb_sha(&si, sec_image, sh->sign_image_size, digest); in otp_verify_boot_image() [all …]
|