Searched refs:reducer (Results 1 – 2 of 2) sorted by relevance
/net-tools-3.5.0/tinydtls-0.8.2/ecc/ |
D | ecc.c | 137 static int fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result… in fieldAdd() argument 141 add(result, reducer, tempas, arrayLength); in fieldAdd() 333 static int fieldAddAndDivide(const uint32_t *x, const uint32_t *modulus, const uint32_t *reducer, u… in fieldAddAndDivide() argument 342 add(result, reducer, tempas, 8); in fieldAddAndDivide() 353 static void fieldInv(const uint32_t *A, const uint32_t *modulus, const uint32_t *reducer, uint32_t … in fieldInv() argument 375 fieldAddAndDivide(x1,modulus,reducer,tempm); /* tempm=x1+p */ in fieldInv() 386 fieldAddAndDivide(x2,modulus,reducer,tempm); /* tempm=x1+p */ in fieldInv() 649 int ecc_fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result) in ecc_fieldAdd() argument 651 return fieldAdd(x, y, reducer, result); in ecc_fieldAdd() 669 void ecc_fieldInv(const uint32_t *A, const uint32_t *modulus, const uint32_t *reducer, uint32_t *B) in ecc_fieldInv() argument [all …]
|
D | ecc.h | 71 int ecc_fieldAdd(const uint32_t *x, const uint32_t *y, const uint32_t *reducer, uint32_t *result); 76 void ecc_fieldInv(const uint32_t *A, const uint32_t *modulus, const uint32_t *reducer, uint32_t *B);
|