Home
last modified time | relevance | path

Searched refs:sign_len (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/board/freescale/common/
H A Dfsl_validate.c723 if (get_key_len(img) == 2 * hdr->sign_len) { in read_validate_esbc_client_header()
725 if (!((hdr->sign_len == KEY_SIZE_BYTES / 4) || in read_validate_esbc_client_header()
726 (hdr->sign_len == KEY_SIZE_BYTES / 2) || in read_validate_esbc_client_header()
727 (hdr->sign_len == KEY_SIZE_BYTES))) in read_validate_esbc_client_header()
733 memcpy(&img->img_sign, esbc + hdr->psign, hdr->sign_len); in read_validate_esbc_client_header()
754 if (!(memcmp(s, k, hdr->sign_len) < 0)) in read_validate_esbc_client_header()
811 ret = rsa_mod_exp(mod_exp_dev, img->img_sign, img->hdr.sign_len, in calculate_cmp_img_sig()
822 img->hdr.sign_len); in calculate_cmp_img_sig()
/openbmc/u-boot/include/
H A Dfsl_validate.h48 u32 sign_len; /* length of the signature in bytes */ member
120 u32 sign_len; /* length of the signature in bytes */ member