/tf-a-ffa_el3_spmc/plat/arm/board/common/ |
A D | board_arm_trusted_boot.c | 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() 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 D | juno_trusted_boot.c | 25 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 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/rde1edge/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/rdv1/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/rdv1mc/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/sgi575/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/sgm775/ |
A D | sgm775_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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/tc/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/rdn1edge/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/rdn2/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/diphda/common/ |
A D | diphda_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()
|
/tf-a-ffa_el3_spmc/drivers/nxp/auth/csf_hdr_parser/ |
A 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()
|
A 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()
|
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/rpi/common/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/socionext/uniphier/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/qemu/common/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/imx/imx7/common/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/imx/imx8m/imx8mm/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey960/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/nxp/common/tbbr/ |
A 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()
|
/tf-a-ffa_el3_spmc/plat/arm/board/fvp/ |
A D | fvp_trusted_boot.c | 32 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 D | csf_hdr.h | 79 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 D | crypto_mod.c | 140 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()
|