Home
last modified time | relevance | path

Searched refs:key_len (Results 1 – 25 of 43) sorted by relevance

12

/trusted-firmware-a-3.7.0/plat/arm/board/common/
Dboard_arm_trusted_boot.c58 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/
Djuno_trusted_boot.c24 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/
Dplat_bl_common.c83 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/
Drdn2_trusted_boot.c22 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/
Drde1edge_trusted_boot.c22 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/
Drdn1edge_trusted_boot.c22 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/
Drdv1_trusted_boot.c22 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/
Drdv1mc_trusted_boot.c22 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/
Dsgi575_trusted_boot.c22 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/
Dtc_trusted_boot.c22 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/
Dmorello_trusted_boot.c50 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/
Dn1sdp_trusted_boot.c49 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/
Dcorstone1000_trusted_boot.c28 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/
Dplat_img_parser.c37 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()
Dcsf_hdr_parser.c35 #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/
Dqemu_trusted_boot.c11 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/
Drpi3_trusted_boot.c11 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/
Dimx7_trusted_boot.c11 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/
Dimx8mm_trusted_boot.c11 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/
Dimx8mp_trusted_boot.c11 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/
Duniphier_tbbr.c11 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/
Dsq_tbbr.c11 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/
Dhikey960_tbbr.c11 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/
Dhikey_tbbr.c11 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/
Dcsf_tbbr.c28 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()

12