Home
last modified time | relevance | path

Searched refs:curve_def (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_pka.c256 static const struct curve_parameters curve_def[] = { variable
869 return OP_NBW_FROM_LEN(curve_def[cid].n_len); in get_ecc_op_nbword()
879 io_write64(base + pka_ram[op][N_LEN], curve_def[cid].n_len); in stm32_pka_configure_curve()
881 io_write64(base + pka_ram[op][P_LEN], curve_def[cid].p_len); in stm32_pka_configure_curve()
883 io_write64(base + pka_ram[op][A_SIGN], curve_def[cid].a_sign); in stm32_pka_configure_curve()
885 res = write_eo_data(base + pka_ram[op][COEFF_A], curve_def[cid].a.val, in stm32_pka_configure_curve()
886 curve_def[cid].a.size, eo_nbw); in stm32_pka_configure_curve()
892 curve_def[cid].b.val, curve_def[cid].b.size, in stm32_pka_configure_curve()
900 curve_def[cid].n.val, curve_def[cid].n.size, in stm32_pka_configure_curve()
906 res = write_eo_data(base + pka_ram[op][VAL_P], curve_def[cid].p.val, in stm32_pka_configure_curve()
[all …]