Searched refs:mp_cmp_d (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecp_jac.c | 110 if (mp_cmp_d(pz, 1) == 0) { 262 if (mp_cmp_d(pz, 1) == 0) { 291 if (mp_cmp_d(pz, 1) == 0) {
|
/illumos-gate/usr/src/common/mpi/ |
H A D | mpi.h | 311 int mp_cmp_d(const mp_int *a, mp_digit d);
|
H A D | mpi.c | 1338 if(mp_cmp_d(a, 1) <= 0) 1661 /* {{{ mp_cmp_d(a, d) */ 1664 mp_cmp_d(a, d) 1669 int mp_cmp_d(const mp_int *a, mp_digit d) function 1678 } /* end mp_cmp_d() */ 1733 you can always use mp_cmp_d(), and for zero, there is mp_cmp_z(). 2125 if (mp_cmp_d(&f, 1) == MP_EQ) { /* f == 1 */ 2275 if (mp_cmp_d(&g, 1) != MP_EQ) {
|
Completed in 69 milliseconds