• Home
  • Raw
  • Download

Lines Matching refs:uint32_t

36 void multiprecision_init(uint32_t* c) {  in multiprecision_init()
37 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) c[i] = 0; in multiprecision_init()
40 void multiprecision_copy(uint32_t* c, const uint32_t* a) { in multiprecision_copy()
41 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) c[i] = a[i]; in multiprecision_copy()
44 int multiprecision_compare(const uint32_t* a, const uint32_t* b) { in multiprecision_compare()
52 int multiprecision_iszero(const uint32_t* a) { in multiprecision_iszero()
53 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) in multiprecision_iszero()
59 uint32_t multiprecision_dword_bits(uint32_t a) { in multiprecision_dword_bits()
60 uint32_t i; in multiprecision_dword_bits()
67 uint32_t multiprecision_most_signdwords(const uint32_t* a) { in multiprecision_most_signdwords()
74 uint32_t multiprecision_most_signbits(const uint32_t* a) { in multiprecision_most_signbits()
83 uint32_t multiprecision_add(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_add()
84 uint32_t carrier; in multiprecision_add()
85 uint32_t temp; in multiprecision_add()
88 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_add()
100 uint32_t multiprecision_sub(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_sub()
101 uint32_t borrow; in multiprecision_sub()
102 uint32_t temp; in multiprecision_sub()
105 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_sub()
116 void multiprecision_lshift_mod(uint32_t* c, const uint32_t* a, const uint32_t* modp) { in multiprecision_lshift_mod()
117 uint32_t carrier = multiprecision_lshift(c, a); in multiprecision_lshift_mod()
126 void multiprecision_rshift(uint32_t* c, const uint32_t* a) { in multiprecision_rshift()
128 uint32_t b = 1; in multiprecision_rshift()
132 uint32_t carrier = 0; in multiprecision_rshift()
133 uint32_t temp; in multiprecision_rshift()
143 void multiprecision_mersenns_mult_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint… in multiprecision_mersenns_mult_mod()
144 uint32_t cc[2 * KEY_LENGTH_DWORDS_P256]; in multiprecision_mersenns_mult_mod()
151 void multiprecision_mersenns_squa_mod(uint32_t* c, const uint32_t* a, const uint32_t* modp) { in multiprecision_mersenns_squa_mod()
156 void multiprecision_add_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp… in multiprecision_add_mod()
157 uint32_t carrier = multiprecision_add(c, a, b); in multiprecision_add_mod()
166 void multiprecision_sub_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp… in multiprecision_sub_mod()
167 uint32_t borrow; in multiprecision_sub_mod()
174 uint32_t multiprecision_lshift(uint32_t* c, const uint32_t* a) { in multiprecision_lshift()
176 uint32_t b = 1; in multiprecision_lshift()
179 uint32_t carrier = 0; in multiprecision_lshift()
180 uint32_t temp; in multiprecision_lshift()
182 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_lshift()
192 void multiprecision_mult(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_mult()
193 uint32_t W; in multiprecision_mult()
194 uint32_t U; in multiprecision_mult()
195 uint32_t V; in multiprecision_mult()
201 for (uint32_t i = 0; i < KEY_LENGTH_DWORDS_P256; i++) { in multiprecision_mult()
203 for (uint32_t j = 0; j < KEY_LENGTH_DWORDS_P256; j++) { in multiprecision_mult()
219 void multiprecision_fast_mod_P256(uint32_t* c, const uint32_t* a, const uint32_t* modp) { in multiprecision_fast_mod_P256()
220 uint32_t A; in multiprecision_fast_mod_P256()
221 uint32_t B; in multiprecision_fast_mod_P256()
222 uint32_t C; in multiprecision_fast_mod_P256()
223 uint32_t D; in multiprecision_fast_mod_P256()
224 uint32_t E; in multiprecision_fast_mod_P256()
225 uint32_t F; in multiprecision_fast_mod_P256()
226 uint32_t G; in multiprecision_fast_mod_P256()
234 uint32_t U; in multiprecision_fast_mod_P256()
289 uint32_t UU; in multiprecision_fast_mod_P256()
306 uint32_t UU; in multiprecision_fast_mod_P256()
323 uint32_t UU; in multiprecision_fast_mod_P256()
348 uint32_t UU; in multiprecision_fast_mod_P256()
371 uint32_t UU; in multiprecision_fast_mod_P256()
392 uint32_t UU; in multiprecision_fast_mod_P256()
415 uint32_t UU; in multiprecision_fast_mod_P256()
451 void multiprecision_inv_mod(uint32_t* aminus, uint32_t* u, const uint32_t* modp) { in multiprecision_inv_mod()
452 uint32_t v[KEY_LENGTH_DWORDS_P256]; in multiprecision_inv_mod()
453 uint32_t A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod()
454 uint32_t C[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod()