Searched refs:MP_OKAY (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/wpa/src/tls/
H A Dlibtommath.c101 #define MP_OKAY 0 /* ok result */ macro
240 if ((res = mp_grow (c, max + 1)) != MP_OKAY) {
303 return MP_OKAY;
318 if ((res = mp_grow (c, max)) != MP_OKAY) {
370 return MP_OKAY;
396 return MP_OKAY;
545 if ((res = mp_init (&t)) != MP_OKAY) {
549 if ((res = mp_mul (a, b, &t)) != MP_OKAY) {
565 if ((res = mp_init (&t)) != MP_OKAY) {
569 if ((res = mp_div (a, b, NULL, &t)) != MP_OKAY) {
[all...]
H A Dbignum.c35 if (mp_init((mp_int *) n) != MP_OKAY) {
82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) {
143 if (mp_add((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) {
161 if (mp_sub((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) {
179 if (mp_mul((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) {
199 != MP_OKAY) {
219 != MP_OKAY) {
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dcrypto_wolfssl.c1016 if (!a || mp_init(a) != MP_OKAY) {
1036 if (mp_read_unsigned_bin(a, buf, len) != MP_OKAY) {
1109 (mp_int *) r) == MP_OKAY ? 0 : -1;
1118 (mp_int *) r) == MP_OKAY ? 0 : -1;
1131 (mp_int *) r) == MP_OKAY ? 0 : -1;
1143 (mp_int *) r) == MP_OKAY ? 0 : -1;
1155 (mp_int *) r) == MP_OKAY ? 0 : -1;
1167 NULL) == MP_OKAY ? 0 : -1;
1180 (mp_int *) d) == MP_OKAY ? 0 : -1;
1187 if (mp_copy((mp_int *) a, (mp_int *) r) != MP_OKAY)
[all...]

Completed in 193 milliseconds