Searched refs:mp_int (Results 1 – 2 of 2) sorted by relevance
/device/soc/winnermicro/wm800/board/platform/inc/ |
D | libtommath.h | 123 } mp_int; typedef 132 int mp_init_multi(mp_int *mp, ...); 135 void mp_clear_multi(mp_int *mp, ...); 137 int mp_lshd(mp_int *a, int b); 138 void mp_set(mp_int *a, mp_digit b); 139 void mp_clamp(mp_int *a); 140 void mp_exch(mp_int *a, mp_int *b); 141 void mp_rshd(mp_int *a, int b); 142 void mp_zero(mp_int *a); 143 int mp_mod_2d(mp_int *a, int b, mp_int *c); [all …]
|
/device/soc/winnermicro/wm800/board/platform/common/crypto/ |
D | wm_crypto_hard.c | 78 #define pstm_set(a, b) mp_set((mp_int *)(a), (b)) 79 #define pstm_init(pool, a) wpa_mp_init((mp_int *)(a)) 80 #define pstm_count_bits(a) mp_count_bits((mp_int *)(a)) 81 #define pstm_init_for_read_unsigned_bin(pool, a, len) mp_init_for_read_unsigned_bin((mp_int *)(a), … 82 #define pstm_read_unsigned_bin(a, b, c) mp_read_unsigned_bin((mp_int *)(a), (b), (c)) 83 #define pstm_copy(a, b) mp_copy((mp_int *)(a), (mp_int *)(b)) 84 #define pstm_clear(a) mp_clear((mp_int *)(a)) 85 #define pstm_clamp(a) mp_clamp((mp_int *)(a)) 86 #define pstm_mulmod(pool, a, b, c, d) mp_mulmod((mp_int *)(a), (mp_int *)(b), (mp_int *)(c), (mp_in… 87 #define pstm_exptmod(pool, G, X, P, Y) mp_exptmod((mp_int *)(G), (mp_int *)(X), (mp_int *)(P), (mp_… [all …]
|