Searched refs:cid (Results 1 – 7 of 7) sorted by relevance
| /rk3399_ARM-atf/drivers/st/crypto/ |
| H A D | stm32_pka.c | 386 static unsigned int get_ecc_op_nbword(enum stm32_pka_ecdsa_curve_id cid) in get_ecc_op_nbword() argument 388 if (cid >= ARRAY_SIZE(curve_def)) { in get_ecc_op_nbword() 389 ERROR("CID %u is out of boundaries\n", cid); in get_ecc_op_nbword() 393 return OP_NBW_FROM_LEN(curve_def[cid].n_len); in get_ecc_op_nbword() 396 static int stm32_pka_ecdsa_verif_configure_curve(uintptr_t base, enum stm32_pka_ecdsa_curve_id cid) in stm32_pka_ecdsa_verif_configure_curve() argument 399 unsigned int eo_nbw = get_ecc_op_nbword(cid); in stm32_pka_ecdsa_verif_configure_curve() 401 mmio_write_64(base + _PKA_RAM_N_LEN, curve_def[cid].n_len); in stm32_pka_ecdsa_verif_configure_curve() 402 mmio_write_64(base + _PKA_RAM_P_LEN, curve_def[cid].p_len); in stm32_pka_ecdsa_verif_configure_curve() 403 mmio_write_64(base + _PKA_RAM_A_SIGN, curve_def[cid].a_sign); in stm32_pka_ecdsa_verif_configure_curve() 405 ret = write_eo_data(base + _PKA_RAM_A, curve_def[cid].a, curve_def[cid].a_size, eo_nbw); in stm32_pka_ecdsa_verif_configure_curve() [all …]
|
| /rk3399_ARM-atf/plat/imx/imx8m/ |
| H A D | imx_hab.c | 67 void* (*authenticate_image)(uint8_t cid, long ivt_offset, void **start, 70 enum hab_status (*run_csf)(const uint8_t *csf, uint8_t cid, uint32_t srkmask); 76 void* (*authenticate_image_no_dcd)(uint8_t cid, long ivt_offset, void **start, 79 enum hab_status (*authenticate_container)(uint8_t cid, long ivt_offset, void **start,
|
| /rk3399_ARM-atf/plat/st/common/ |
| H A D | stm32mp_crypto_lib.c | 188 enum stm32_pka_ecdsa_curve_id cid; in verify_signature() local 193 cid = PKA_NIST_P256; in verify_signature() 201 cid = PKA_BRAINPOOL_P256T1; in verify_signature() 223 BOOT_API_ECDSA_PUB_KEY_LEN_IN_BYTES / 2U, cid); in verify_signature() 239 uint32_t cid; in crypto_convert_pk() local 246 cid = curve_id; /* we want value of curve_id (1 or 2) in a uint32_t */ in crypto_convert_pk() 248 memcpy(st_pk, &cid, sizeof(cid)); in crypto_convert_pk() 249 memcpy(st_pk + sizeof(cid), plain_pk, len); in crypto_convert_pk() 252 *hashed_pk_len = (unsigned int)(len + sizeof(cid)); in crypto_convert_pk()
|
| /rk3399_ARM-atf/include/drivers/st/ |
| H A D | stm32_pka.h | 31 enum stm32_pka_ecdsa_curve_id cid);
|
| /rk3399_ARM-atf/drivers/arm/mhu/ |
| H A D | mhu_v2_x.c | 77 volatile uint32_t cid[4]; member 127 volatile uint32_t cid[4]; member
|
| /rk3399_ARM-atf/plat/intel/soc/common/include/ |
| H A D | socfpga_mailbox.h | 378 #define MBOX_GET_TRANS_ID(cid, jib) (((cid) << 4) | (jib)) argument
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/ |
| H A D | pm_api_clock.c | 2745 const enum clock_id cid; member 2756 .cid = CLK_IOPLL_INT, 2763 .cid = CLK_RPLL_INT, 2770 .cid = CLK_APLL_INT, 2777 .cid = CLK_VPLL_INT, 2784 .cid = CLK_DPLL_INT, 2805 if (pm_plls[i].cid == clock_id) { in pm_clock_get_pll()
|