Searched refs:r2modn (Results 1 – 3 of 3) sorted by relevance
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_pka.h | 48 struct stm32_pka_bn *r2modn); 49 TEE_Result stm32_pka_ecc_compute_montgomery(struct stm32_pka_bn *r2modn, 52 const struct stm32_pka_bn *r2modn,
|
| H A D | ecc.c | 365 struct stm32_pka_bn r2modn = { }; in is_point_on_curve() local 367 res = stm32_pka_get_max_size(&r2modn.size, NULL, cid); in is_point_on_curve() 371 r2modn.val = calloc(1, r2modn.size); in is_point_on_curve() 372 if (!r2modn.val) in is_point_on_curve() 375 res = stm32_pka_ecc_compute_montgomery(&r2modn, cid); in is_point_on_curve() 379 res = stm32_pka_is_point_on_curve(point, &r2modn, cid); in is_point_on_curve() 381 free(r2modn.val); in is_point_on_curve()
|
| H A D | stm32_pka.c | 1017 struct stm32_pka_bn *r2modn) in stm32_pka_compute_montgomery() argument 1023 if (!n_len || !n || !r2modn) in stm32_pka_compute_montgomery() 1058 res = stm32_pka_compute_r2modn_ret(base, r2modn, eo_nbw); in stm32_pka_compute_montgomery() 1072 TEE_Result stm32_pka_ecc_compute_montgomery(struct stm32_pka_bn *r2modn, in stm32_pka_ecc_compute_montgomery() argument 1076 curve_def[cid].p_len, r2modn); in stm32_pka_ecc_compute_montgomery() 1119 const struct stm32_pka_bn *r2modn, in stm32_pka_is_point_on_curve() argument 1149 res = write_eo_data(base + _PKA_RAM_ONCURVE_R2MODN, r2modn->val, in stm32_pka_is_point_on_curve() 1150 r2modn->size, eo_nbw); in stm32_pka_is_point_on_curve()
|