Searched refs:MOD (Results 1 – 2 of 2) sorted by relevance
/system/core/libmincrypt/ |
D | p256.c | 110 static p256_digit subM(const p256_int* MOD, in subM() argument 118 borrow -= P256_DIGIT(MOD, i) & mask; in subM() 127 static p256_digit addM(const p256_int* MOD, in addM() argument 135 carry += P256_DIGIT(MOD, i) & mask; in addM() 143 void p256_modmul(const p256_int* MOD, in p256_modmul() argument 169 top_reducer = mulAdd(MOD, top, 0, reducer); in p256_modmul() 177 top = subM(MOD, top, tmp + i, ~(top - 1)); in p256_modmul() 187 addM(MOD, 0, tmp, subM(MOD, 0, tmp, -1)); in p256_modmul() 291 void p256_modinv_vartime(const p256_int* MOD, in p256_modinv_vartime() argument 296 p256_int U = *MOD; in p256_modinv_vartime() [all …]
|
/system/core/include/mincrypt/ |
D | p256.h | 69 const p256_int* MOD, 75 const p256_int* MOD, 84 const p256_int* MOD, 92 const p256_int* MOD,
|