• Home
  • Raw
  • Download

Lines Matching refs:uint32_t

30 void multiprecision_init(uint32_t* c) {  in multiprecision_init()
31 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) c[i] = 0; in multiprecision_init()
34 void multiprecision_copy(uint32_t* c, uint32_t* a) { in multiprecision_copy()
35 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) c[i] = a[i]; in multiprecision_copy()
38 int multiprecision_compare(uint32_t* a, uint32_t* b) { in multiprecision_compare()
46 int multiprecision_iszero(uint32_t* a) { in multiprecision_iszero()
47 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) in multiprecision_iszero()
53 uint32_t multiprecision_dword_bits(uint32_t a) { in multiprecision_dword_bits()
54 uint32_t i; in multiprecision_dword_bits()
61 uint32_t multiprecision_most_signdwords(uint32_t* a) { in multiprecision_most_signdwords()
68 uint32_t multiprecision_most_signbits(uint32_t* a) { in multiprecision_most_signbits()
78 uint32_t multiprecision_add(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_add()
79 uint32_t carrier; in multiprecision_add()
80 uint32_t temp; in multiprecision_add()
83 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_add()
95 uint32_t multiprecision_sub(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_sub()
96 uint32_t borrow; in multiprecision_sub()
97 uint32_t temp; in multiprecision_sub()
100 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_sub()
111 void multiprecision_lshift_mod(uint32_t* c, uint32_t* a) { in multiprecision_lshift_mod()
112 uint32_t carrier; in multiprecision_lshift_mod()
113 uint32_t* modp = curve_p256.p; in multiprecision_lshift_mod()
124 void multiprecision_rshift(uint32_t* c, uint32_t* a) { in multiprecision_rshift()
126 uint32_t b = 1; in multiprecision_rshift()
130 uint32_t carrier = 0; in multiprecision_rshift()
131 uint32_t temp; in multiprecision_rshift()
141 void multiprecision_mersenns_mult_mod(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_mersenns_mult_mod()
142 uint32_t cc[2 * KEY_LENGTH_DWORDS_P256]; in multiprecision_mersenns_mult_mod()
149 void multiprecision_mersenns_squa_mod(uint32_t* c, uint32_t* a) { in multiprecision_mersenns_squa_mod()
154 void multiprecision_add_mod(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_add_mod()
155 uint32_t carrier; in multiprecision_add_mod()
156 uint32_t* modp = curve_p256.p; in multiprecision_add_mod()
167 void multiprecision_sub_mod(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_sub_mod()
168 uint32_t borrow; in multiprecision_sub_mod()
169 uint32_t* modp = curve_p256.p; in multiprecision_sub_mod()
176 uint32_t multiprecision_lshift(uint32_t* c, uint32_t* a) { in multiprecision_lshift()
178 uint32_t b = 1; in multiprecision_lshift()
181 uint32_t carrier = 0; in multiprecision_lshift()
182 uint32_t temp; in multiprecision_lshift()
184 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_lshift()
194 void multiprecision_mult(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_mult()
195 uint32_t W; in multiprecision_mult()
196 uint32_t U; in multiprecision_mult()
197 uint32_t V; in multiprecision_mult()
203 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_mult()
205 for (uint32_t j = 0; j < KEY_LENGTH_DWORDS_P256; j++) { in multiprecision_mult()
221 void multiprecision_fast_mod_P256(uint32_t* c, uint32_t* a) { in multiprecision_fast_mod_P256()
222 uint32_t A; in multiprecision_fast_mod_P256()
223 uint32_t B; in multiprecision_fast_mod_P256()
224 uint32_t C; in multiprecision_fast_mod_P256()
225 uint32_t D; in multiprecision_fast_mod_P256()
226 uint32_t E; in multiprecision_fast_mod_P256()
227 uint32_t F; in multiprecision_fast_mod_P256()
228 uint32_t G; in multiprecision_fast_mod_P256()
236 uint32_t U; in multiprecision_fast_mod_P256()
237 uint32_t* modp = curve_p256.p; in multiprecision_fast_mod_P256()
292 uint32_t UU; in multiprecision_fast_mod_P256()
309 uint32_t UU; in multiprecision_fast_mod_P256()
326 uint32_t UU; in multiprecision_fast_mod_P256()
351 uint32_t UU; in multiprecision_fast_mod_P256()
374 uint32_t UU; in multiprecision_fast_mod_P256()
395 uint32_t UU; in multiprecision_fast_mod_P256()
418 uint32_t UU; in multiprecision_fast_mod_P256()
454 void multiprecision_inv_mod(uint32_t* aminus, uint32_t* u) { in multiprecision_inv_mod()
455 uint32_t v[KEY_LENGTH_DWORDS_P256]; in multiprecision_inv_mod()
456 uint32_t A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod()
457 uint32_t C[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod()
458 uint32_t* modp = curve_p256.p; in multiprecision_inv_mod()