Searched refs:EC_GROUP (Results 1 - 25 of 61) sorted by relevance

123

/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Dec_lcl.h101 int (*group_init) (EC_GROUP *);
102 void (*group_finish) (EC_GROUP *);
103 void (*group_clear_finish) (EC_GROUP *);
104 int (*group_copy) (EC_GROUP *, const EC_GROUP *);
107 int (*group_set_curve) (EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
109 int (*group_get_curve) (const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b,
112 int (*group_get_degree) (const EC_GROUP *);
114 int (*group_check_discriminant) (const EC_GROUP *, BN_CTX *);
131 int (*point_set_to_infinity) (const EC_GROUP *, EC_POIN
[all...]
H A Dec.h127 EC_GROUP; typedef in typeref:struct:ec_group_st
181 /* EC_GROUP functions */
184 /** Creates a new EC_GROUP object
186 * \return newly created EC_GROUP object or NULL in case of an error.
188 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
190 /** Frees a EC_GROUP object
191 * \param group EC_GROUP object to be freed.
193 void EC_GROUP_free(EC_GROUP *group);
195 /** Clears and frees a EC_GROUP object
196 * \param group EC_GROUP objec
[all...]
H A Dec_cvt.c75 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
79 EC_GROUP *ret;
149 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a,
153 EC_GROUP *ret;
H A Dec_lib.c73 /* functions for EC_GROUP objects */
75 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth)
77 EC_GROUP *ret;
117 void EC_GROUP_free(EC_GROUP *group)
138 void EC_GROUP_clear_free(EC_GROUP *group)
164 int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src)
236 EC_GROUP *EC_GROUP_dup(const EC_GROUP *a)
238 EC_GROUP *
[all...]
H A Decp_mont.c122 int ec_GFp_mont_group_init(EC_GROUP *group)
132 void ec_GFp_mont_group_finish(EC_GROUP *group)
145 void ec_GFp_mont_group_clear_finish(EC_GROUP *group)
158 int ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src)
195 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p,
253 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
264 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
275 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r,
286 int ec_GFp_mont_field_decode(const EC_GROUP *grou
[all...]
H A Dec2_smpl.c136 * Initialize a GF(2^m)-based EC_GROUP structure. Note that all other members
139 int ec_GF2m_simple_group_init(EC_GROUP *group)
148 * Free a GF(2^m)-based EC_GROUP structure. Note that all other members are
151 void ec_GF2m_simple_group_finish(EC_GROUP *group)
159 * Clear and free a GF(2^m)-based EC_GROUP structure. Note that all other
162 void ec_GF2m_simple_group_clear_finish(EC_GROUP *group)
176 * Copy a GF(2^m)-based EC_GROUP structure. Note that all other members are
179 int ec_GF2m_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src)
207 /* Set the curve parameters of an EC_GROUP structur
[all...]
H A Dec_print.c59 BIGNUM *EC_POINT_point2bn(const EC_GROUP *group,
86 EC_POINT *EC_POINT_bn2point(const EC_GROUP *group,
126 char *EC_POINT_point2hex(const EC_GROUP *group,
165 EC_POINT *EC_POINT_hex2point(const EC_GROUP *group,
H A Decp_nist.c124 int ec_GFp_nist_group_copy(EC_GROUP *dest, const EC_GROUP *src)
131 int ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p,
170 int ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
196 int ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
H A Dec_oct.c71 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
107 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group,
135 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point,
166 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point,
H A Decp_smpl.c139 int ec_GFp_simple_group_init(EC_GROUP *group)
148 void ec_GFp_simple_group_finish(EC_GROUP *group)
155 void ec_GFp_simple_group_clear_finish(EC_GROUP *group)
162 int ec_GFp_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src)
176 int ec_GFp_simple_group_set_curve(EC_GROUP *group,
236 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
282 int ec_GFp_simple_group_get_degree(const EC_GROUP *group)
287 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx)
399 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *grou
[all...]
H A Dec_ameth.c71 const EC_GROUP *group;
151 EC_GROUP *group;
217 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec);
254 const EC_GROUP *group;
357 const EC_GROUP *group;
384 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec));
395 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec),
416 const EC_GROUP *group;
H A Dec_asn1.c65 int EC_GROUP_get_basis_type(const EC_GROUP *group)
87 int EC_GROUP_get_trinomial_basis(const EC_GROUP *group, unsigned int *k)
107 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1,
283 static int ec_asn1_group2fieldid(const EC_GROUP *, X9_62_FIELDID *);
285 static int ec_asn1_group2curve(const EC_GROUP *, X9_62_CURVE *);
287 * ec_asn1_parameters2group() creates a EC_GROUP object from a ECPARAMETERS
290 static EC_GROUP *ec_asn1_parameters2group(const ECPARAMETERS *);
292 * ec_asn1_group2parameters() creates a ECPARAMETERS object from a EC_GROUP
295 static ECPARAMETERS *ec_asn1_group2parameters(const EC_GROUP *,
298 * ec_asn1_pkparameters2group() creates a EC_GROUP objec
[all...]
H A Dec_check.c59 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
H A Dec2_mult.c84 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z,
125 static int gf2m_Madd(const EC_GROUP *group, const BIGNUM *x, BIGNUM *x1,
173 static int gf2m_Mxy(const EC_GROUP *group, const BIGNUM *x, const BIGNUM *y,
263 static int ec_GF2m_montgomery_point_multiply(const EC_GROUP *group,
374 int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r,
453 int ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx)
458 int ec_GF2m_have_precompute_mult(const EC_GROUP *group)
H A Dec_pmeth.c72 EC_GROUP *gen_group;
177 const EC_GROUP *group;
203 EC_GROUP *group;
H A Dec2_oct.c92 int ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group,
173 size_t ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point,
297 int ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
/freebsd-10-stable/crypto/openssh/
H A Dbufec.c32 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
45 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve,
53 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
66 buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
H A Dbuffer.h92 int buffer_put_ecpoint_ret(Buffer *, const EC_GROUP *, const EC_POINT *);
93 void buffer_put_ecpoint(Buffer *, const EC_GROUP *, const EC_POINT *);
94 int buffer_get_ecpoint_ret(Buffer *, const EC_GROUP *, EC_POINT *);
95 void buffer_get_ecpoint(Buffer *, const EC_GROUP *, EC_POINT *);
H A Dkex.h42 # define EC_GROUP void macro
47 # define EC_GROUP void macro
163 const EC_GROUP *ec_group; /* ECDH */
210 int kex_ecdh_hash(int, const EC_GROUP *, const char *, const char *,
236 # undef EC_GROUP macro
H A Dsshkey.h38 # define EC_GROUP void macro
45 # define EC_GROUP void macro
154 int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *);
177 void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *);
222 # undef EC_GROUP macro
226 # undef EC_GROUP macro
H A Dpacket.h27 # define EC_GROUP void macro
33 # define EC_GROUP void macro
175 int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g);
186 int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g);
199 # undef EC_GROUP macro
203 # undef EC_GROUP macro
H A Dkexecdh.c52 const EC_GROUP *ec_group,
H A Dkey.h80 int key_ec_validate_public(const EC_GROUP *, const EC_POINT *);
H A Dsshbuf-getput-crypto.c76 get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g)
90 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g)
192 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g)
/freebsd-10-stable/contrib/wpa/src/eap_common/
H A Deap_pwd_common.h22 EC_GROUP *group;

Completed in 300 milliseconds

123