Lines Matching refs:y
67 MPI x, y; in sm2_ec_ctx_init() local
77 y = mpi_scanval(ecp->g_y); in sm2_ec_ctx_init()
78 if (!x || !y) in sm2_ec_ctx_init()
95 mpi_set(ec->G->y, y); in sm2_ec_ctx_init()
114 mpi_free(y); in sm2_ec_ctx_init()
138 MPI x, y; in sm2_ecc_os2ec() local
161 y = mpi_read_raw_data(buf + 1 + n, n); in sm2_ecc_os2ec()
162 if (!y) in sm2_ecc_os2ec()
166 mpi_normalize(y); in sm2_ecc_os2ec()
168 mpi_set(result->y, y); in sm2_ecc_os2ec()
173 mpi_free(y); in sm2_ecc_os2ec()
245 MPI x, y; in sm2_z_digest_update_point() local
249 y = 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()
253 !sm2_z_digest_update(desc, y, pbytes)) in sm2_z_digest_update_point()
257 mpi_free(y); in sm2_z_digest_update_point()