Searched refs:mpa_num (Results 1 – 7 of 7) sorted by relevance
| /rk3399_rockchip-uboot/include/rockchip/ |
| H A D | crypto_mpa.h | 12 struct mpa_num { struct 18 int rk_mpa_alloc(struct mpa_num **mpa, void *data, u32 word_size); argument 19 void rk_mpa_free(struct mpa_num **mpa);
|
| H A D | crypto_ecc.h | 78 struct mpa_num *x; /*!< the point's X coordinate */ 79 struct mpa_num *y; /*!< the point's Y coordinate */
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_mpa.c | 10 int rk_mpa_alloc(struct mpa_num **mpa, void *data, u32 word_size) in rk_mpa_alloc() 14 struct mpa_num *tmp_mpa = NULL; in rk_mpa_alloc() 51 void rk_mpa_free(struct mpa_num **mpa) in rk_mpa_free() 53 struct mpa_num *tmp_mpa = NULL; in rk_mpa_free()
|
| H A D | crypto_v2_pka.c | 786 static int mpa_highest_bit_index(const struct mpa_num *src) in mpa_highest_bit_index() 810 struct mpa_num *m_a, *m_b, *m_c; in rk_abs_add() 812 m_a = (struct mpa_num *)a; in rk_abs_add() 813 m_b = (struct mpa_num *)b; in rk_abs_add() 814 m_c = (struct mpa_num *)c; in rk_abs_add() 847 struct mpa_num *m_a, *m_b, *m_c; in rk_mod() 849 m_a = (struct mpa_num *)a; in rk_mod() 850 m_b = (struct mpa_num *)b; in rk_mod() 851 m_c = (struct mpa_num *)c; in rk_mod() 887 struct mpa_num *tmpa; in rk_exptmod() [all …]
|
| H A D | crypto_ecc.c | 234 static int rk_ecp_load_data(u32 *dst, struct mpa_num *src) in rk_ecp_load_data() 367 struct mpa_num *bn_hash = NULL; in rockchip_ecc_verify()
|
| H A D | crypto_ce.c | 951 struct mpa_num *mpa_m = NULL, *mpa_e = NULL, *mpa_n = NULL; in rockchip_crypto_rsa_verify() 952 struct mpa_num *mpa_c = NULL, *mpa_result = NULL; in rockchip_crypto_rsa_verify() 1012 struct mpa_num *bn_sign = NULL; in rockchip_crypto_ec_verify()
|
| H A D | crypto_v2.c | 1459 struct mpa_num *mpa_m = NULL, *mpa_e = NULL, *mpa_n = NULL; in rockchip_crypto_rsa_verify() 1460 struct mpa_num *mpa_c = NULL, *mpa_result = NULL; in rockchip_crypto_rsa_verify() 1520 struct mpa_num *bn_sign = NULL; in rockchip_crypto_ec_verify()
|