Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_pka.c188 static const uint32_t pka_ram[PKA_OP_LAST][PKA_RAM_INDEX_LAST] = { variable
879 io_write64(base + pka_ram[op][N_LEN], curve_def[cid].n_len); in stm32_pka_configure_curve()
880 if (pka_ram[op][P_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()
890 if (pka_ram[op][COEFF_B]) { in stm32_pka_configure_curve()
891 res = write_eo_data(base + pka_ram[op][COEFF_B], in stm32_pka_configure_curve()
898 if (pka_ram[op][PRIME_N]) { in stm32_pka_configure_curve()
899 res = write_eo_data(base + pka_ram[op][PRIME_N], in stm32_pka_configure_curve()
[all …]