/trusted-firmware-a-3.7.0/plat/arm/board/common/ |
D | board_arm_trusted_boot.c | 58 int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_regs() argument 66 assert(key_len != NULL); in arm_get_rotpk_info_regs() 87 *key_len = (unsigned int)sizeof(rotpk_hash_der); in arm_get_rotpk_info_regs() 95 int arm_get_rotpk_info_dev(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_dev() argument 99 *key_len = arm_rotpk_hash_end - arm_rotpk_header; in arm_get_rotpk_info_dev() 107 int arm_get_rotpk_info_dev(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_dev() argument 111 *key_len = arm_rotpk_key_end - arm_rotpk_key; in arm_get_rotpk_info_dev() 120 static int get_rotpk_info(void **key_ptr, unsigned int *key_len, in get_rotpk_info() argument 124 return arm_get_rotpk_info_dev(key_ptr, key_len, flags); in get_rotpk_info() 126 return arm_get_rotpk_info_regs(key_ptr, key_len, flags); in get_rotpk_info() [all …]
|
/trusted-firmware-a-3.7.0/plat/arm/board/juno/ |
D | juno_trusted_boot.c | 24 static int juno_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len, in juno_get_rotpk_info_regs() argument 32 assert(key_len != NULL); in juno_get_rotpk_info_regs() 88 *key_len = (unsigned int)sizeof(rotpk_hash_der); in juno_get_rotpk_info_regs() 108 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 113 return arm_get_rotpk_info_dev(key_ptr, key_len, flags); in plat_get_rotpk_info() 115 return juno_get_rotpk_info_regs(key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/common/ |
D | plat_bl_common.c | 83 size_t *key_len, unsigned int *flags, in plat_get_enc_key_info() argument 93 assert(*key_len >= sizeof(dummy_key)); in plat_get_enc_key_info() 95 *key_len = sizeof(dummy_key); in plat_get_enc_key_info() 96 memcpy(key, dummy_key, *key_len); in plat_get_enc_key_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/rdn2/ |
D | rdn2_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/rde1edge/ |
D | rde1edge_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/rdn1edge/ |
D | rdn1edge_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/rdv1/ |
D | rdv1_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/rdv1mc/ |
D | rdv1mc_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/sgi575/ |
D | sgi575_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/tc/ |
D | tc_trusted_boot.c | 22 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 25 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/morello/ |
D | morello_trusted_boot.c | 50 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 53 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/n1sdp/ |
D | n1sdp_trusted_boot.c | 49 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 52 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/arm/board/corstone1000/common/ |
D | corstone1000_trusted_boot.c | 28 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 31 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/drivers/nxp/auth/csf_hdr_parser/ |
D | plat_img_parser.c | 37 uint32_t key_len; variable 63 ZERO_AND_CLEAN(key_len); in clear_temp_vars() 97 ret = validate_esbc_header(img, &img_key, &key_len, &img_sign, in check_integrity() 151 *param_len = (unsigned int)key_len; in get_auth_param()
|
D | csf_hdr_parser.c | 35 #define CHECK_KEY_LEN(key_len) (((key_len) == 2 * RSA_1K_KEY_SZ_BYTES) || \ argument 36 ((key_len) == 2 * RSA_2K_KEY_SZ_BYTES) || \ 37 ((key_len) == 2 * RSA_4K_KEY_SZ_BYTES)) 115 ret = hash_update(algo, ctx, srktbl[i].pkey, srktbl[i].key_len); in deploy_rotpk_hash_table() 252 if (CHECK_KEY_LEN(srktbl[i].key_len) == 0) { in get_key() 279 *len = srktbl[key_num - 1].key_len; in get_key() 297 int validate_esbc_header(void *img_hdr, void **img_key, uint32_t *key_len, in validate_esbc_header() argument 362 *key_len = klen; in validate_esbc_header()
|
/trusted-firmware-a-3.7.0/plat/qemu/common/ |
D | qemu_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = qemu_rotpk_hash_end - qemu_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/rpi/common/ |
D | rpi3_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = rpi3_rotpk_hash_end - rpi3_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/imx/imx7/common/ |
D | imx7_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = imx7_rotpk_hash_end - imx7_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/imx/imx8m/imx8mm/ |
D | imx8mm_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = imx8mm_rotpk_hash_end - imx8mm_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/imx/imx8m/imx8mp/ |
D | imx8mp_trusted_boot.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = imx8mp_rotpk_hash_end - imx8mp_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/socionext/uniphier/ |
D | uniphier_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = uniphier_rotpk_hash_end - uniphier_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/socionext/synquacer/ |
D | sq_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = sq_rotpk_hash_end - sq_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey960/ |
D | hikey960_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = hikey960_rotpk_hash_end - hikey960_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey/ |
D | hikey_tbbr.c | 11 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 15 *key_len = hikey_rotpk_hash_end - hikey_rotpk_hash; in plat_get_rotpk_info()
|
/trusted-firmware-a-3.7.0/plat/nxp/common/tbbr/ |
D | csf_tbbr.c | 28 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument 61 *key_len = num_rotpk_hash_entries; in plat_get_rotpk_info()
|