Lines Matching refs:eo_nbw
358 unsigned int eo_nbw) in write_eo_data() argument
363 if ((eo_nbw < OP_NBW_FROM_SIZE(data_size)) || (eo_nbw > MAX_EO_NBW)) { in write_eo_data()
369 for (word_index = 0U; word_index < eo_nbw; word_index++) { in write_eo_data()
399 unsigned int eo_nbw = get_ecc_op_nbword(cid); in stm32_pka_ecdsa_verif_configure_curve() local
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()
412 eo_nbw); 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()
423 ret = write_eo_data(base + _PKA_RAM_XG, curve_def[cid].xg, curve_def[cid].xg_size, eo_nbw); in stm32_pka_ecdsa_verif_configure_curve()
428 ret = write_eo_data(base + _PKA_RAM_YG, curve_def[cid].yg, curve_def[cid].yg_size, eo_nbw); in stm32_pka_ecdsa_verif_configure_curve()
618 unsigned int eo_nbw = get_ecc_op_nbword(cid); in stm32_pka_ecdsa_verif() local
650 ret = write_eo_data(base + _PKA_RAM_XQ, pk_x_ptr, pk_x_size, eo_nbw); in stm32_pka_ecdsa_verif()
655 ret = write_eo_data(base + _PKA_RAM_YQ, pk_y_ptr, pk_y_size, eo_nbw); in stm32_pka_ecdsa_verif()
661 ret = write_eo_data(base + _PKA_RAM_HASH_Z, hash, hash_size, eo_nbw); in stm32_pka_ecdsa_verif()
667 ret = write_eo_data(base + _PKA_RAM_SIGN_R, sig_r_ptr, sig_r_size, eo_nbw); in stm32_pka_ecdsa_verif()
672 ret = write_eo_data(base + _PKA_RAM_SIGN_S, sig_s_ptr, sig_s_size, eo_nbw); in stm32_pka_ecdsa_verif()