Home
last modified time | relevance | path

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

/external/u-boot/include/
Dfsl_validate.h18 #define KEY_SIZE_BYTES (KEY_SIZE/8) macro
19 #define KEY_SIZE_WORDS (KEY_SIZE_BYTES/(WORD_SIZE))
167 u8 pkey[2 * KEY_SIZE_BYTES];
180 u8 pkey[2 * KEY_SIZE_BYTES];
239 u8 img_key[2 * KEY_SIZE_BYTES]; /* ESBC client key */
245 u8 img_sign[KEY_SIZE_BYTES]; /* ESBC client signature */
247 u8 img_encoded_hash[KEY_SIZE_BYTES]; /* EM wrt RSA PKCSv1.5 */
252 u8 img_encoded_hash_second[KEY_SIZE_BYTES];/* EM' wrt RSA PKCSv1.5 */
/external/u-boot/board/freescale/common/
Dfsl_validate.c26 #define CHECK_KEY_LEN(key_len) (((key_len) == 2 * KEY_SIZE_BYTES / 4) || \
27 ((key_len) == 2 * KEY_SIZE_BYTES / 2) || \
28 ((key_len) == 2 * KEY_SIZE_BYTES))
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()