Searched refs:EC_KEY (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10-stable/crypto/openssl/crypto/ecdh/
H A Dech_locl.h68 EC_KEY *ecdh, void *(*KDF) (const void *in,
72 int (*init) (EC_KEY *eckey);
73 int (*finish) (EC_KEY *eckey);
90 int (*init) (EC_KEY *);
98 ECDH_DATA *ecdh_check(EC_KEY *);
H A Decdh.h92 int ECDH_set_method(EC_KEY *, const ECDH_METHOD *);
95 EC_KEY *ecdh, void *(*KDF) (const void *in, size_t inlen,
101 int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg);
102 void *ECDH_get_ex_data(EC_KEY *d, int idx);
H A Dech_key.c73 EC_KEY *eckey,
H A Dech_lib.c108 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth)
208 ECDH_DATA *ecdh_check(EC_KEY *key)
249 int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg)
258 void *ECDH_get_ex_data(EC_KEY *d, int idx)
H A Dech_ossl.c82 EC_KEY *ecdh,
109 EC_KEY *ecdh,
/freebsd-10-stable/crypto/openssl/crypto/ecdsa/
H A Decs_locl.h72 EC_KEY *eckey);
73 int (*ecdsa_sign_setup) (EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
76 const ECDSA_SIG *sig, EC_KEY *eckey);
78 int (*init) (EC_KEY *eckey);
79 int (*finish) (EC_KEY *eckey);
96 int (*init) (EC_KEY *);
107 * \param eckey pointer to a EC_KEY object
110 ECDSA_DATA *ecdsa_check(EC_KEY *eckey);
H A Decdsa.h114 * \param eckey EC_KEY object containing a private EC key
118 EC_KEY *eckey);
127 * \param eckey EC_KEY object containing a private EC key
132 EC_KEY *eckey);
139 * \param eckey EC_KEY object containing a public EC key
144 const ECDSA_SIG *sig, EC_KEY *eckey);
159 * \param eckey EC_KEY object
163 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth);
166 * \param eckey EC_KEY object
169 int ECDSA_size(const EC_KEY *ecke
[all...]
H A Decs_sign.c62 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey)
69 EC_KEY *eckey)
78 *sig, unsigned int *siglen, EC_KEY *eckey)
85 const BIGNUM *r, EC_KEY *eckey)
99 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
H A Decs_vrf.c72 const ECDSA_SIG *sig, EC_KEY *eckey)
87 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
H A Decs_lib.c95 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth)
186 ECDSA_DATA *ecdsa_check(EC_KEY *key)
220 int ECDSA_size(const EC_KEY *r)
261 int ECDSA_set_ex_data(EC_KEY *d, int idx, void *arg)
270 void *ECDSA_get_ex_data(EC_KEY *d, int idx)
H A Decs_ossl.c66 EC_KEY *eckey);
67 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
70 const ECDSA_SIG *sig, EC_KEY *eckey);
90 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
215 EC_KEY *eckey)
330 const ECDSA_SIG *sig, EC_KEY *eckey)
/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Dec_key.c71 EC_KEY *EC_KEY_new(void)
73 EC_KEY *ret;
75 ret = (EC_KEY *)OPENSSL_malloc(sizeof(EC_KEY));
93 EC_KEY *EC_KEY_new_by_curve_name(int nid)
95 EC_KEY *ret = EC_KEY_new();
106 void EC_KEY_free(EC_KEY *r)
115 REF_PRINT("EC_KEY", r);
135 OPENSSL_cleanse((void *)r, sizeof(EC_KEY));
140 EC_KEY *EC_KEY_cop
[all...]
H A Dec.h208 * form src to the newly created EC_KEY object
729 /* EC_KEY functions */
732 typedef struct ec_key_st EC_KEY; typedef in typeref:struct:ec_key_st
742 /** Creates a new EC_KEY object.
743 * \return EC_KEY object or NULL if an error occurred.
745 EC_KEY *EC_KEY_new(void);
747 int EC_KEY_get_flags(const EC_KEY *key);
749 void EC_KEY_set_flags(EC_KEY *key, int flags);
751 void EC_KEY_clear_flags(EC_KEY *key, int flags);
753 /** Creates a new EC_KEY objec
[all...]
H A Dec_ameth.c69 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key)
103 EC_KEY *ec_key = pkey->pkey.ec;
136 static EC_KEY *eckey_type2param(int ptype, void *pval)
138 EC_KEY *eckey = NULL;
185 EC_KEY *eckey = NULL;
233 EC_KEY *eckey = NULL;
298 EC_KEY *ec_key;
408 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, int ktype)
500 EC_KEY *eckey;
535 EC_KEY *e
[all...]
H A Deck_prn.c86 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off)
101 int ECParameters_print_fp(FILE *fp, const EC_KEY *x)
117 int EC_KEY_print(BIO *bp, const EC_KEY *x, int off)
122 if (!pk || !EVP_PKEY_set1_EC_KEY(pk, (EC_KEY *)x))
129 int ECParameters_print(BIO *bp, const EC_KEY *x)
134 if (!pk || !EVP_PKEY_set1_EC_KEY(pk, (EC_KEY *)x))
H A Dec_pmeth.c123 EC_KEY *ec = ctx->pkey->pkey.ec;
152 EC_KEY *ec = ctx->pkey->pkey.ec;
261 EC_KEY *ec = NULL;
281 EC_KEY *ec = NULL;
/freebsd-10-stable/crypto/openssl/crypto/pem/
H A Dpem_all.c137 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
334 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey)
336 EC_KEY *dtmp;
350 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb,
361 int PEM_write_bio_ECPrivateKey(BIO *bp, EC_KEY *x, const EVP_CIPHER *enc,
383 int PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc,
405 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKE
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dsshkey.h37 # define EC_KEY void macro
44 # define EC_KEY void macro
105 EC_KEY *ecdsa;
152 int sshkey_ecdsa_key_to_nid(EC_KEY *);
155 int sshkey_ec_validate_private(const EC_KEY *);
178 void sshkey_dump_ec_key(const EC_KEY *);
221 # undef EC_KEY macro
225 # undef EC_KEY macro
H A Dkex.h41 # define EC_KEY void macro
46 # define EC_KEY void macro
162 EC_KEY *ec_client_key; /* ECDH */
235 # undef EC_KEY macro
H A Dpacket.h26 # define EC_KEY void macro
32 # define EC_KEY void macro
198 # undef EC_KEY macro
202 # undef EC_KEY macro
H A Dkey.h81 int key_ec_validate_private(const EC_KEY *);
/freebsd-10-stable/crypto/openssl/crypto/x509/
H A Dx_all.c344 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey)
346 return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_EC_PUBKEY, fp, eckey);
349 int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey)
351 return ASN1_i2d_fp_of(EC_KEY, i2d_EC_PUBKEY, fp, eckey);
354 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey)
356 return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_ECPrivateKey, fp, eckey);
359 int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey)
361 return ASN1_i2d_fp_of(EC_KEY, i2d_ECPrivateKe
[all...]
/freebsd-10-stable/crypto/openssl/engines/ccgost/
H A Dgost_lcl.h194 int fill_GOST2001_params(EC_KEY *eckey, int nid);
196 int gost2001_keygen(EC_KEY *ec);
199 DSA_SIG *gost2001_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey);
204 DSA_SIG *sig, EC_KEY *ec);
205 int gost2001_compute_public(EC_KEY *ec);
H A Dgost_ameth.c137 EC_KEY *ec = EVP_PKEY_get0(pkey);
168 EC_KEY *ec = EVP_PKEY_get0(pkey);
199 EC_KEY *ec = EVP_PKEY_get0((EVP_PKEY *)pkey);
447 EC_KEY_get0_public_key((EC_KEY *)EVP_PKEY_get0((EVP_PKEY *)pkey));
448 group = EC_KEY_get0_group((EC_KEY *)EVP_PKEY_get0((EVP_PKEY *)pkey));
510 const EC_KEY *ec = EVP_PKEY_get0((EVP_PKEY *)pk);
546 EC_KEY *eto = EVP_PKEY_get0(to);
547 const EC_KEY *efrom = EVP_PKEY_get0((EVP_PKEY *)from);
727 const EC_KEY *ec = EVP_PKEY_get0((EVP_PKEY *)pk);
797 const EC_KEY *e
[all...]
/freebsd-10-stable/crypto/openssl/crypto/asn1/
H A Dx_pubkey.c305 EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length)
308 EC_KEY *key;
326 int i2d_EC_PUBKEY(EC_KEY *a, unsigned char **pp)

Completed in 209 milliseconds

123