Searched refs:ecc_order_m (Results 1 – 1 of 1) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/ecc/ |
D | ecc.c | 89 static const uint32_t ecc_order_m[9] = {0xFC632551, 0xF3B9CAC2, 0xA7179E84, 0xBCE6FAAD, variable 278 if (length == arrayLength && isGreater(A, ecc_order_m, arrayLength) <= 0) { in fieldModO() 292 fieldMult(q1_q3, ecc_order_m, q2_tmp, 8); in fieldModO() 298 while (isGreater(result, ecc_order_m, 9) >= 0) in fieldModO() 299 sub(result, ecc_order_m, result, 9); in fieldModO() 563 fieldInv(k, ecc_order_m, ecc_order_r, tmp2); in ecc_ecdsa_sign() 607 fieldInv(s, ecc_order_m, ecc_order_r, w); in ecc_ecdsa_validate() 633 return isGreater(ecc_order_m, priv_key, arrayLength) == 1; in ecc_is_valid_key()
|