Lines Matching refs:point
1391 ecc_point *point = (ecc_point *) p;
1397 mp_forcezero(point->x);
1398 mp_forcezero(point->y);
1399 mp_forcezero(point->z);
1401 wc_ecc_del_point(point);
1413 const struct crypto_ec_point *point, u8 *x, u8 *y)
1415 ecc_point *p = (ecc_point *) point;
1446 ecc_point *point = NULL;
1452 point = wc_ecc_new_point();
1453 if (!point)
1456 if (mp_read_unsigned_bin(point->x, val, e->key.dp->size) != MP_OKAY)
1459 if (mp_read_unsigned_bin(point->y, val, e->key.dp->size) != MP_OKAY)
1461 mp_set(point->z, 1);
1466 wc_ecc_del_point(point);
1467 point = NULL;
1469 return (struct crypto_ec_point *) point;
1558 ecc_point *point = (ecc_point *) p;
1563 if (mp_sub(&e->prime, point->y, point->y) != MP_OKAY)
1741 ecc_point *point = NULL;
1752 point = wc_ecc_new_point();
1753 if (!point)
1757 ecdh->ec->key.idx, point);
1765 ret = wc_ecc_shared_secret_ex(&ecdh->ec->key, point,
1771 wc_ecc_del_point(point);