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

1234

/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dec_key.h88 /* EC_KEY_new returns a fresh |EC_KEY| object or NULL on error. */
89 OPENSSL_EXPORT EC_KEY *EC_KEY_new(void);
93 OPENSSL_EXPORT EC_KEY *EC_KEY_new_method(const ENGINE *engine);
95 /* EC_KEY_new_by_curve_name returns a fresh EC_KEY for group specified by |nid|
97 OPENSSL_EXPORT EC_KEY *EC_KEY_new_by_curve_name(int nid);
100 OPENSSL_EXPORT void EC_KEY_free(EC_KEY *key);
103 OPENSSL_EXPORT EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
106 OPENSSL_EXPORT EC_KEY *EC_KEY_du
[all...]
H A Decdsa.h78 unsigned int *sig_len, EC_KEY *key);
86 size_t sig_len, EC_KEY *key);
90 OPENSSL_EXPORT size_t ECDSA_size(const EC_KEY *key);
114 size_t digest_len, EC_KEY *key);
122 const ECDSA_SIG *sig, EC_KEY *key);
135 OPENSSL_EXPORT int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
143 EC_KEY *eckey);
150 const BIGNUM *rp, EC_KEY *eckey);
H A Decdh.h86 const EC_POINT *pub_key, EC_KEY *priv_key,
/external/openssl/crypto/ecdh/
H A Dech_locl.h68 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
71 int (*init)(EC_KEY *eckey);
72 int (*finish)(EC_KEY *eckey);
88 int (*init)(EC_KEY *);
96 ECDH_DATA *ecdh_check(EC_KEY *);
H A Decdh.h92 int ECDH_set_method(EC_KEY *, const ECDH_METHOD *);
94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
99 int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg);
100 void *ECDH_get_ex_data(EC_KEY *d, int idx);
H A Dech_key.c73 EC_KEY *eckey,
H A Dech_lib.c109 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth)
214 ECDH_DATA *ecdh_check(EC_KEY *key)
257 int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg)
266 void *ECDH_get_ex_data(EC_KEY *d, int idx)
/external/openssl/crypto/ecdsa/
H A Decs_locl.h72 const BIGNUM *inv, const BIGNUM *rp, EC_KEY *eckey);
73 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx,
77 const ECDSA_SIG *sig, EC_KEY *eckey);
79 int (*init)(EC_KEY *eckey);
80 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.h115 * \param eckey EC_KEY object containing a private EC key
118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
127 * \param eckey EC_KEY object containing a private EC key
131 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
138 * \param eckey EC_KEY object containing a public EC key
143 const ECDSA_SIG *sig, EC_KEY* eckey);
158 * \param eckey EC_KEY object
162 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth);
165 * \param eckey EC_KEY object
168 int ECDSA_size(const EC_KEY *ecke
[all...]
H A Decs_sign.c63 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey)
69 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey)
78 *sig, unsigned int *siglen, EC_KEY *eckey)
85 EC_KEY *eckey)
100 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
H A Decs_vrf.c70 const ECDSA_SIG *sig, EC_KEY *eckey)
84 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
/external/openssl/include/openssl/
H A Decdsa.h115 * \param eckey EC_KEY object containing a private EC key
118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
127 * \param eckey EC_KEY object containing a private EC key
131 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
138 * \param eckey EC_KEY object containing a public EC key
143 const ECDSA_SIG *sig, EC_KEY* eckey);
158 * \param eckey EC_KEY object
162 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth);
165 * \param eckey EC_KEY object
168 int ECDSA_size(const EC_KEY *ecke
[all...]
H A Decdh.h92 int ECDH_set_method(EC_KEY *, const ECDH_METHOD *);
94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
99 int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg);
100 void *ECDH_get_ex_data(EC_KEY *d, int idx);
H A Dec.h212 * form src to the newly created EC_KEY object
705 /* EC_KEY functions */
708 typedef struct ec_key_st EC_KEY; typedef in typeref:struct:ec_key_st
718 /** Creates a new EC_KEY object.
719 * \return EC_KEY object or NULL if an error occurred.
721 EC_KEY *EC_KEY_new(void);
723 int EC_KEY_get_flags(const EC_KEY *key);
725 void EC_KEY_set_flags(EC_KEY *key, int flags);
727 void EC_KEY_clear_flags(EC_KEY *key, int flags);
729 /** Creates a new EC_KEY objec
[all...]
/external/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));
95 EC_KEY *EC_KEY_new_by_curve_name(int nid)
97 EC_KEY *ret = EC_KEY_new();
109 void EC_KEY_free(EC_KEY *r)
117 REF_PRINT("EC_KEY",r);
137 OPENSSL_cleanse((void *)r, sizeof(EC_KEY));
142 EC_KEY *EC_KEY_cop
[all...]
H A Dec.h212 * form src to the newly created EC_KEY object
705 /* EC_KEY functions */
708 typedef struct ec_key_st EC_KEY; typedef in typeref:struct:ec_key_st
718 /** Creates a new EC_KEY object.
719 * \return EC_KEY object or NULL if an error occurred.
721 EC_KEY *EC_KEY_new(void);
723 int EC_KEY_get_flags(const EC_KEY *key);
725 void EC_KEY_set_flags(EC_KEY *key, int flags);
727 void EC_KEY_clear_flags(EC_KEY *key, int flags);
729 /** Creates a new EC_KEY objec
[all...]
H A Dec_ameth.c68 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key)
105 EC_KEY *ec_key = pkey->pkey.ec;
139 static EC_KEY *eckey_type2param(int ptype, void *pval)
141 EC_KEY *eckey = NULL;
195 EC_KEY *eckey = NULL;
245 EC_KEY *eckey = NULL;
314 EC_KEY *ec_key;
428 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, int ktype)
528 EC_KEY *eckey;
565 EC_KEY *e
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/ec/
H A Dec_key.c79 EC_KEY *EC_KEY_new(void) { return EC_KEY_new_method(NULL); }
81 EC_KEY *EC_KEY_new_method(const ENGINE *engine) {
82 EC_KEY *ret = (EC_KEY *)OPENSSL_malloc(sizeof(EC_KEY));
88 memset(ret, 0, sizeof(EC_KEY));
121 EC_KEY *EC_KEY_new_by_curve_name(int nid) {
122 EC_KEY *ret = EC_KEY_new();
134 void EC_KEY_free(EC_KEY *r) {
162 OPENSSL_cleanse((void *)r, sizeof(EC_KEY));
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/pem/
H A Dpem_all.c123 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
227 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey)
229 EC_KEY *dtmp;
242 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb,
256 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY, ECPrivateKey)
259 IMPLEMENT_PEM_rw(EC_PUBKEY, EC_KEY, PEM_STRING_PUBLIC, EC_PUBKEY)
263 EC_KEY *PEM_read_ECPrivateKe
[all...]
/external/openssl/crypto/pem/
H A Dpem_all.c137 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
353 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey)
355 EC_KEY *dtmp;
368 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb,
382 int PEM_write_bio_ECPrivateKey(BIO *bp, EC_KEY *x, const EVP_CIPHER *enc,
406 int PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc,
431 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKE
[all...]
/external/chromium_org/crypto/
H A Dscoped_openssl_types.h43 typedef ScopedOpenSSL<EC_KEY, EC_KEY_free>::Type ScopedEC_KEY;
47 typedef ScopedOpenSSL<EC_KEY, EC_KEY_free>::Type ScopedEC_KEY;
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dx_all.c349 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey)
351 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_EC_PUBKEY,fp,eckey);
354 int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey)
356 return ASN1_i2d_fp_of_const(EC_KEY,i2d_EC_PUBKEY,fp,eckey);
359 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey)
361 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_ECPrivateKey,fp,eckey);
364 int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey)
366 return ASN1_i2d_fp_of_const(EC_KEY,i2d_ECPrivateKe
[all...]
/external/openssl/crypto/x509/
H A Dx_all.c343 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey)
345 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_EC_PUBKEY,fp,eckey);
348 int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey)
350 return ASN1_i2d_fp_of(EC_KEY,i2d_EC_PUBKEY,fp,eckey);
353 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey)
355 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_ECPrivateKey,fp,eckey);
358 int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey)
360 return ASN1_i2d_fp_of(EC_KEY,i2d_ECPrivateKe
[all...]
/external/chromium_org/net/quic/crypto/
H A Dp256_key_exchange.h62 P256KeyExchange(EC_KEY* private_key, const uint8* public_key);
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dp_ec_asn1.c69 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key) {
90 EC_KEY *ec_key = pkey->pkey.ec;
130 static EC_KEY *eckey_type2param(int ptype, void *pval) {
131 EC_KEY *eckey = NULL;
180 EC_KEY *eckey = NULL;
228 EC_KEY *eckey = NULL;
291 EC_KEY *ec_key;
387 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, int ktype) {
493 EC_KEY *eckey;
528 EC_KEY *e
[all...]

Completed in 4638 milliseconds

1234