Searched refs:ec (Results 1 – 10 of 10) sorted by relevance
138 struct roc_ae_ec_ctx *ec = &sess->ec_ctx; in cnxk_ae_fill_ec_params() local140 switch (xform->ec.curve_id) { in cnxk_ae_fill_ec_params()142 ec->curveid = ROC_AE_EC_ID_P192; in cnxk_ae_fill_ec_params()145 ec->curveid = ROC_AE_EC_ID_P224; in cnxk_ae_fill_ec_params()148 ec->curveid = ROC_AE_EC_ID_P256; in cnxk_ae_fill_ec_params()151 ec->curveid = ROC_AE_EC_ID_P384; in cnxk_ae_fill_ec_params()154 ec->curveid = ROC_AE_EC_ID_P521; in cnxk_ae_fill_ec_params()722 struct roc_ae_ec_ctx *ec, in cnxk_ae_dequeue_ecdsa_op() argument725 int prime_len = ec_grp[ec->curveid]->prime.length; in cnxk_ae_dequeue_ecdsa_op()739 struct roc_ae_ec_ctx *ec, in cnxk_ae_dequeue_ecpm_op() argument[all …]
226 switch (xform->ec.curve_id) { in get_ecdsa_verify_function()246 switch (xform->ec.curve_id) { in get_ecdsa_function()266 switch (xform->ec.curve_id) { in get_ecpm_function()
132 struct cpt_asym_ec_ctx *ec = &sess->ec_ctx; in cpt_fill_ec_params() local134 switch (xform->ec.curve_id) { in cpt_fill_ec_params()136 ec->curveid = CPT_EC_ID_P192; in cpt_fill_ec_params()139 ec->curveid = CPT_EC_ID_P224; in cpt_fill_ec_params()142 ec->curveid = CPT_EC_ID_P256; in cpt_fill_ec_params()145 ec->curveid = CPT_EC_ID_P384; in cpt_fill_ec_params()148 ec->curveid = CPT_EC_ID_P521; in cpt_fill_ec_params()
72 poll_stats->ec = 0; in enter_normal_state()89 poll_stats->ec = 0; in enter_busy_state()225 s->edpi_av[s->ec++ % BINS_AV] = cur_edpi; in update_stats()
83 uint32_t ec; member
196 switch (xform->ec.curve_id) { in pick_curve()
1128 qat_session->xform.ec.curve_id = xform->ec.curve_id; in session_set_ecdsa()
529 struct rte_crypto_ec_xform ec; member
802 struct cpt_asym_ec_ctx *ec) in otx_cpt_asym_dequeue_ecdsa_op() argument805 int prime_len = ec_grp[ec->curveid].prime.length; in otx_cpt_asym_dequeue_ecdsa_op()821 struct cpt_asym_ec_ctx *ec) in otx_cpt_asym_dequeue_ecpm_op() argument823 int prime_len = ec_grp[ec->curveid].prime.length; in otx_cpt_asym_dequeue_ecpm_op()
1834 xform.ec.curve_id = input_params.curve; in test_ecdsa_sign_verify()2036 xform.ec.curve_id = input_params.curve; in test_ecpm()