/freebsd-10-stable/crypto/openssl/crypto/ec/ |
H A D | ec_lcl.h | 101 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 D | ec.h | 127 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 D | ec_cvt.c | 75 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 D | ec_lib.c | 73 /* 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 D | ecp_mont.c | 122 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 D | ec2_smpl.c | 136 * 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 D | ec_print.c | 59 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 D | ecp_nist.c | 124 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 D | ec_oct.c | 71 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 D | ecp_smpl.c | 139 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 D | ec_ameth.c | 71 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 D | ec_asn1.c | 65 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 D | ec_check.c | 59 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
|
H A D | ec2_mult.c | 84 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 D | ec_pmeth.c | 72 EC_GROUP *gen_group; 177 const EC_GROUP *group; 203 EC_GROUP *group;
|
H A D | ec2_oct.c | 92 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 D | bufec.c | 32 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 D | buffer.h | 92 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 D | kex.h | 42 # 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 D | sshkey.h | 38 # 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 D | packet.h | 27 # 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 D | kexecdh.c | 52 const EC_GROUP *ec_group,
|
H A D | key.h | 80 int key_ec_validate_public(const EC_GROUP *, const EC_POINT *);
|
H A D | sshbuf-getput-crypto.c | 76 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 D | eap_pwd_common.h | 22 EC_GROUP *group;
|