Searched refs:curve_def (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/st/crypto/ |
| H A D | stm32_pka.c | 125 static const struct curve_parameters curve_def[] = { variable 388 if (cid >= ARRAY_SIZE(curve_def)) { in get_ecc_op_nbword() 393 return OP_NBW_FROM_LEN(curve_def[cid].n_len); in get_ecc_op_nbword() 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() 411 curve_def[cid].n, div_round_up(curve_def[cid].n_len, UINT8_LEN), in stm32_pka_ecdsa_verif_configure_curve() 417 ret = write_eo_data(base + _PKA_RAM_P, curve_def[cid].p, in stm32_pka_ecdsa_verif_configure_curve() 418 div_round_up(curve_def[cid].p_len, UINT8_LEN), eo_nbw); in stm32_pka_ecdsa_verif_configure_curve() [all …]
|