Lines Matching refs:point
475 EC_POINT *point = NULL; in ossl_ec_key_public_check() local
481 point = EC_POINT_new(eckey->group); in ossl_ec_key_public_check()
482 if (point == NULL) in ossl_ec_key_public_check()
491 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx)) { in ossl_ec_key_public_check()
495 if (!EC_POINT_is_at_infinity(eckey->group, point)) { in ossl_ec_key_public_check()
501 EC_POINT_free(point); in ossl_ec_key_public_check()
532 EC_POINT *point = NULL; in ossl_ec_key_pairwise_check() local
542 point = EC_POINT_new(eckey->group); in ossl_ec_key_pairwise_check()
543 if (point == NULL) in ossl_ec_key_pairwise_check()
547 if (!EC_POINT_mul(eckey->group, point, eckey->priv_key, NULL, NULL, ctx)) { in ossl_ec_key_pairwise_check()
551 if (EC_POINT_cmp(eckey->group, point, eckey->pub_key, ctx) != 0) { in ossl_ec_key_pairwise_check()
557 EC_POINT_free(point); in ossl_ec_key_pairwise_check()
603 EC_POINT *point = NULL; in EC_KEY_set_public_key_affine_coordinates() local
615 point = EC_POINT_new(key->group); in EC_KEY_set_public_key_affine_coordinates()
617 if (point == NULL) in EC_KEY_set_public_key_affine_coordinates()
625 if (!EC_POINT_set_affine_coordinates(key->group, point, x, y, ctx)) in EC_KEY_set_public_key_affine_coordinates()
627 if (!EC_POINT_get_affine_coordinates(key->group, point, tx, ty, ctx)) in EC_KEY_set_public_key_affine_coordinates()
640 if (!EC_KEY_set_public_key(key, point)) in EC_KEY_set_public_key_affine_coordinates()
651 EC_POINT_free(point); in EC_KEY_set_public_key_affine_coordinates()