Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 2 of 2) sorted by relevance

/hostap-latest/src/tls/
Dlibtommath.c120 mp_digit *dp; member
126 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO)
127 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO)
248 tmpa = a->dp; in s_mp_add()
251 tmpb = b->dp; in s_mp_add()
254 tmpc = c->dp; in s_mp_add()
275 *tmpc = x->dp[i] + u; in s_mp_add()
322 tmpa = a->dp; in s_mp_sub()
323 tmpb = b->dp; in s_mp_sub()
324 tmpc = c->dp; in s_mp_sub()
[all …]
/hostap-latest/src/crypto/
Dcrypto_wolfssl.c1685 if (!e->key->dp) { in crypto_ec_init()
1686 LOG_WOLF_ERROR_FUNC_NULL(e->key->dp); in crypto_ec_init()
1689 err = mp_read_radix(e->g->x, e->key->dp->Gx, MP_RADIX_HEX); in crypto_ec_init()
1694 err = mp_read_radix(e->g->y, e->key->dp->Gy, MP_RADIX_HEX); in crypto_ec_init()
1717 err = mp_read_radix(&e->a, e->key->dp->Af, 16); in crypto_ec_init()
1722 err = mp_read_radix(&e->b, e->key->dp->Bf, 16); in crypto_ec_init()
1727 err = mp_read_radix(&e->prime, e->key->dp->prime, 16); in crypto_ec_init()
1732 err = mp_read_radix(&e->order, e->key->dp->order, 16); in crypto_ec_init()
1916 if (mp_read_unsigned_bin(point->x, val, e->key->dp->size) != MP_OKAY) in crypto_ec_point_from_bin()
1918 val += e->key->dp->size; in crypto_ec_point_from_bin()
[all …]