Home
last modified time | relevance | path

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

12

/tf-a-ffa_el3_spmc/plat/arm/board/common/
A Dboard_arm_trusted_boot.c66 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()
102 *key_len = arm_rotpk_hash_end - arm_rotpk_header; in arm_get_rotpk_info_dev()
118 assert(key_len != NULL); in arm_get_rotpk_info_cc()
125 *key_len = sizeof(rotpk_hash_der); in arm_get_rotpk_info_cc()
137 return arm_get_rotpk_info_cc(key_ptr, key_len, flags); in get_rotpk_info()
142 return arm_get_rotpk_info_dev(key_ptr, key_len, flags); in get_rotpk_info()
154 unsigned int *key_len, unsigned int *flags) in arm_get_rotpk_info() argument
156 return get_rotpk_info(key_ptr, key_len, flags); in arm_get_rotpk_info()
171 return get_rotpk_info(key_ptr, key_len, flags); in arm_get_rotpk_info()
[all …]
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/plat/arm/board/sgm775/
A Dsgm775_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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/plat/arm/board/diphda/common/
A Ddiphda_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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/
A Dfvp_trusted_boot.c32 int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in plat_get_rotpk_info() argument
35 return arm_get_rotpk_info(cookie, key_ptr, key_len, flags); in plat_get_rotpk_info()
/tf-a-ffa_el3_spmc/include/drivers/nxp/auth/csf_hdr_parser/
A Dcsf_hdr.h79 uint32_t key_len; /* pub key length in bytes */ member
125 uint32_t key_len; member
148 int validate_esbc_header(void *img_hdr, void **img_key, uint32_t *key_len,
/tf-a-ffa_el3_spmc/drivers/auth/
A Dcrypto_mod.c140 size_t len, const void *key, unsigned int key_len, in crypto_mod_auth_decrypt() argument
149 assert(key_len != 0U); in crypto_mod_auth_decrypt()
156 key_len, key_flags, iv, iv_len, tag, in crypto_mod_auth_decrypt()

Completed in 78 milliseconds

12