Lines Matching refs:curve
40 * struct ecc_point - elliptic curve point in affine coordinates
55 * struct ecc_curve - definition of elliptic curve
57 * @name: Short name of the curve.
58 * @g: Generator point of the curve.
59 * @p: Prime number, if Barrett's reduction is used for this curve
63 * @n: Order of the curve group.
92 * ecc_get_curve() - Get a curve given its curve_id
93 * @curve_id: Id of the curve
95 * Returns pointer to the curve data, NULL if curve is not available
102 * @curve_id: id representing the curve to use
103 * @ndigits: curve's number of digits
104 * @private_key: private key to be used for the given curve
117 * @curve_id: id representing the curve to use
118 * @ndigits: curve number of digits
129 * @curve_id: id representing the curve to use
130 * @ndigits: curve's number of digits
131 * @private_key: pregenerated private key for the given curve
143 * @curve_id: id representing the curve to use
144 * @ndigits: curve's number of digits
162 * @curve: elliptic curve domain parameters
168 * Note: There is no check that the public key is in the correct elliptic curve
173 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
179 * @curve: elliptic curve domain parameters
187 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
263 * Note: Assumes that mod is big enough curve order.
276 * @curve: curve
278 * Returns result = x * p + x * q over the curve.
284 const struct ecc_curve *curve);