Lines Matching full:curve
1262 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() local
1265 if (unlikely(!curve)) in hpre_ecdh_fill_curve()
1272 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1273 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1274 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1275 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1276 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1277 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1650 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() local
1658 * the same as the software curve-25519 that exists in crypto. in hpre_curve25519_fill_curve()
1666 curve = ecc_get_curve25519(); in hpre_curve25519_fill_curve()
1668 /* fill curve parameters */ in hpre_curve25519_fill_curve()
1669 fill_curve_param(p, curve->p, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1670 fill_curve_param(p + sz, curve->a, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1672 fill_curve_param(p + shift + sz, curve->g.x, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1830 const struct ecc_curve *curve; in hpre_curve25519_src_init() local
1858 curve = ecc_get_curve25519(); in hpre_curve25519_src_init()
1860 fill_curve_param(p, curve->p, CURVE25519_KEY_SIZE, curve->g.ndigits); in hpre_curve25519_src_init()