Searched refs:EC_POINT (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Dec_lcl.h119 int (*point_init) (EC_POINT *);
120 void (*point_finish) (EC_POINT *);
121 void (*point_clear_finish) (EC_POINT *);
122 int (*point_copy) (EC_POINT *, const EC_POINT *);
131 int (*point_set_to_infinity) (const EC_GROUP *, EC_POINT *);
133 EC_POINT *, const BIGNUM *x,
137 const EC_POINT *, BIGNUM *x,
140 int (*point_set_affine_coordinates) (const EC_GROUP *, EC_POINT *,
143 int (*point_get_affine_coordinates) (const EC_GROUP *, const EC_POINT *,
[all...]
H A Dec_print.c60 const EC_POINT *point,
86 EC_POINT *EC_POINT_bn2point(const EC_GROUP *group,
87 const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx)
91 EC_POINT *ret;
127 const EC_POINT *point,
165 EC_POINT *EC_POINT_hex2point(const EC_GROUP *group,
166 const char *buf, EC_POINT *point, BN_CTX *ctx)
168 EC_POINT *ret = NULL;
H A Dec.h129 typedef struct ec_point_st EC_POINT; typedef in typeref:struct:ec_point_st
228 * \param generator EC_POINT object with the generator.
234 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
241 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
408 /* EC_POINT functions */
411 /** Creates a new EC_POINT object for the specified EC_GROUP
413 * \return newly created EC_POINT object or NULL if an error occurred
415 EC_POINT *EC_POINT_new(const EC_GROUP *group);
417 /** Frees a EC_POINT object
418 * \param point EC_POINT objec
[all...]
H A Dec_lib.c270 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
301 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group)
664 /* functions for EC_POINT objects */
666 EC_POINT *EC_POINT_new(const EC_GROUP *group)
668 EC_POINT *ret;
695 void EC_POINT_free(EC_POINT *point)
705 void EC_POINT_clear_free(EC_POINT *point)
718 int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src)
733 EC_POINT *EC_POINT_du
[all...]
H A Dec2_smpl.c329 /* Initializes an EC_POINT. */
330 int ec_GF2m_simple_point_init(EC_POINT *point)
338 /* Frees an EC_POINT. */
339 void ec_GF2m_simple_point_finish(EC_POINT *point)
346 /* Clears and frees an EC_POINT. */
347 void ec_GF2m_simple_point_clear_finish(EC_POINT *point)
356 * Copy the contents of one EC_POINT into another. Assumes dest is
359 int ec_GF2m_simple_point_copy(EC_POINT *dest, const EC_POINT *src)
373 * Set an EC_POINT t
[all...]
H A Dec_mult.c84 EC_POINT **points; /* array with pre-calculated multiples of
85 * generator: 'num' pointers to EC_POINT
142 EC_POINT **p;
164 EC_POINT **p;
330 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
331 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
335 const EC_POINT *generator = NULL;
336 EC_POINT *tmp = NULL;
349 EC_POINT **val = NULL; /* precomputation */
350 EC_POINT **
[all...]
H A Dec_oct.c72 EC_POINT *point, const BIGNUM *x,
108 EC_POINT *point, const BIGNUM *x,
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.c361 int ec_GFp_simple_point_init(EC_POINT *point)
371 void ec_GFp_simple_point_finish(EC_POINT *point)
378 void ec_GFp_simple_point_clear_finish(EC_POINT *point)
386 int ec_GFp_simple_point_copy(EC_POINT *dest, const EC_POINT *src)
400 EC_POINT *point)
408 EC_POINT *point,
469 const EC_POINT *point,
519 EC_POINT *point,
537 const EC_POINT *poin
[all...]
H A Dec_check.c64 EC_POINT *point = NULL;
H A Dec2_mult.c264 EC_POINT *r,
266 const EC_POINT *point,
374 int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r,
376 const EC_POINT *points[], const BIGNUM *scalars[],
382 EC_POINT *p = NULL;
383 EC_POINT *acc = NULL;
H A Dec2_oct.c77 * Calculates and sets the affine coordinates of an EC_POINT from the given
93 EC_POINT *point,
169 * Converts an EC_POINT to an octet string. If buf is NULL, the encoded
173 size_t ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point,
294 * Converts an octet string representation to an EC_POINT. Note that the
297 int ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
/freebsd-10-stable/crypto/openssh/
H A Dbufec.c33 const EC_POINT *point)
46 const EC_POINT *point)
54 EC_POINT *point)
67 EC_POINT *point)
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.h43 # define EC_POINT void macro
48 # define EC_POINT void macro
212 const EC_POINT *, const EC_POINT *, const BIGNUM *, u_char *, size_t *);
237 # undef EC_POINT macro
H A Dkexecdh.c58 const EC_POINT *client_dh_pub,
59 const EC_POINT *server_dh_pub,
H A Dsshkey.h39 # define EC_POINT void macro
46 # define EC_POINT 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 *);
223 # undef EC_POINT macro
227 # undef EC_POINT macro
H A Dpacket.h28 # define EC_POINT void macro
34 # define EC_POINT 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);
200 # undef EC_POINT macro
204 # undef EC_POINT macro
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)
113 EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v));
192 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g)
H A Dkexecdhs.c65 EC_POINT *client_public;
68 const EC_POINT *public_key;
H A Dkey.h80 int key_ec_validate_public(const EC_GROUP *, const EC_POINT *);
/freebsd-10-stable/crypto/openssl/crypto/ecdh/
H A Dech_key.c72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
H A Dech_locl.h67 int (*compute_key) (void *key, size_t outlen, const EC_POINT *pub_key,
H A Dech_ossl.c81 static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key,
108 static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
114 EC_POINT *tmp = NULL;
H A Decdh.h94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
/freebsd-10-stable/contrib/wpa/src/eap_common/
H A Deap_pwd_common.h23 EC_POINT *pwe;

Completed in 206 milliseconds

123