Lines Matching refs:a
39 const char *a, *b; /* The coefficients. For Twisted Edwards member
55 .a = "0xfffffffeffffffffffffffffffffffffffffffff00000000fffffffffffffffc",
66 MPI p, a, b; in sm2_ec_ctx_init() local
71 a = mpi_scanval(ecp->a); in sm2_ec_ctx_init()
73 if (!p || !a || !b) in sm2_ec_ctx_init()
108 mpi_ec_init(ec, ecp->model, ecp->dialect, 0, p, a, b); in sm2_ec_ctx_init()
117 mpi_free(a); in sm2_ec_ctx_init()
285 if (sm2_z_digest_update(desc, ec->a, pbytes) || in sm2_compute_z_digest()
394 MPI a; in sm2_set_pub_key() local
398 a = mpi_read_raw_data(key, keylen); in sm2_set_pub_key()
399 if (!a) in sm2_set_pub_key()
402 mpi_normalize(a); in sm2_set_pub_key()
403 rc = sm2_ecc_os2ec(ec->Q, a); in sm2_set_pub_key()
404 mpi_free(a); in sm2_set_pub_key()