Home
last modified time | relevance | path

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

12

/arm-trusted-firmware-2.8.0/plat/arm/board/common/
A Dboard_arm_trusted_boot.c68 assert(key_len != NULL); in arm_get_rotpk_info_regs()
89 *key_len = (unsigned int)sizeof(rotpk_hash_der); in arm_get_rotpk_info_regs()
104 *key_len = arm_rotpk_hash_end - arm_rotpk_header; in arm_get_rotpk_info_dev()
120 assert(key_len != NULL); in arm_get_rotpk_info_cc()
127 *key_len = sizeof(rotpk_hash_der); in arm_get_rotpk_info_cc()
156 unsigned int *key_len, unsigned int *flags) in arm_get_rotpk_info() argument
158 return get_rotpk_info(key_ptr, key_len, flags); in arm_get_rotpk_info()
173 return get_rotpk_info(key_ptr, key_len, flags); in arm_get_rotpk_info()
178 *key_len = arm_protpk_hash_end - arm_protpk_hash; in arm_get_rotpk_info()
199 return get_rotpk_info(key_ptr, key_len, flags); in arm_get_rotpk_info()
[all …]
/arm-trusted-firmware-2.8.0/plat/arm/board/juno/
A Djuno_trusted_boot.c25 static int juno_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len, in juno_get_rotpk_info_regs() argument
33 assert(key_len != NULL); in juno_get_rotpk_info_regs()
89 *key_len = (unsigned int)sizeof(rotpk_hash_der); in juno_get_rotpk_info_regs()
109 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_cc(key_ptr, key_len, flags); in plat_get_rotpk_info()
118 return arm_get_rotpk_info_dev(key_ptr, key_len, flags); in plat_get_rotpk_info()
120 return juno_get_rotpk_info_regs(key_ptr, key_len, flags); in plat_get_rotpk_info()
/arm-trusted-firmware-2.8.0/plat/common/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/rde1edge/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/rdn1edge/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/rdn2/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/rdv1/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/rdv1mc/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/sgi575/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/tc/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/morello/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/corstone1000/common/
A 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()
/arm-trusted-firmware-2.8.0/plat/arm/board/n1sdp/
A 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()
/arm-trusted-firmware-2.8.0/drivers/nxp/auth/csf_hdr_parser/
A 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()
A 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()
/arm-trusted-firmware-2.8.0/plat/qemu/common/
A 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()
/arm-trusted-firmware-2.8.0/plat/rpi/common/
A 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()
/arm-trusted-firmware-2.8.0/plat/socionext/synquacer/
A 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()
/arm-trusted-firmware-2.8.0/plat/socionext/uniphier/
A 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()
/arm-trusted-firmware-2.8.0/plat/hisilicon/hikey/
A 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()
/arm-trusted-firmware-2.8.0/plat/hisilicon/hikey960/
A 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()
/arm-trusted-firmware-2.8.0/plat/imx/imx7/common/
A 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()
/arm-trusted-firmware-2.8.0/plat/imx/imx8m/imx8mm/
A 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()
/arm-trusted-firmware-2.8.0/plat/imx/imx8m/imx8mp/
A 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()
/arm-trusted-firmware-2.8.0/plat/nxp/common/tbbr/
A 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()

Completed in 25 milliseconds

12