Searched refs:mp_copy (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/wpa/src/tls/ |
H A D | libtommath.c | 162 static int mp_copy(mp_int * a, mp_int * b); 783 if ((res = mp_copy (b, &y)) != MP_OKAY) { in mp_invmod_slow() 794 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in mp_invmod_slow() 797 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in mp_invmod_slow() 1026 res = mp_copy (a, c); in mp_div_2d() 1046 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_div_2d() 1100 return mp_copy (b, a); in mp_init_copy() 1121 static int mp_copy (mp_int * a, mp_int * b) in mp_copy() function 1303 if ((res = mp_copy (a, b)) != MP_OKAY) { in mp_abs() 1383 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mul_2d() [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_wolfssl.c | 1531 if (mp_copy((mp_int *) a, (mp_int *) r) != MP_OKAY) in crypto_bignum_rshift() 1854 return mp_copy(((ecc_point *) p)->x, (mp_int *) x) == MP_OKAY ? 0 : -1; in crypto_ec_point_x()
|