Lines Matching refs:x
67 MPI x, y; in sm2_ec_ctx_init() local
76 x = mpi_scanval(ecp->g_x); in sm2_ec_ctx_init()
78 if (!x || !y) in sm2_ec_ctx_init()
94 mpi_set(ec->G->x, x); in sm2_ec_ctx_init()
113 mpi_free(x); in sm2_ec_ctx_init()
138 MPI x, y; in sm2_ecc_os2ec() local
158 x = mpi_read_raw_data(buf + 1, n); in sm2_ecc_os2ec()
159 if (!x) in sm2_ecc_os2ec()
165 mpi_normalize(x); in sm2_ecc_os2ec()
167 mpi_set(result->x, x); in sm2_ecc_os2ec()
175 mpi_free(x); in sm2_ecc_os2ec()
245 MPI x, y; in sm2_z_digest_update_point() local
248 x = mpi_new(0); in sm2_z_digest_update_point()
251 if (!mpi_ec_get_affine(x, y, point, ec) && in sm2_z_digest_update_point()
252 !sm2_z_digest_update(desc, x, pbytes) && in sm2_z_digest_update_point()
256 mpi_free(x); in sm2_z_digest_update_point()