Searched refs:ecdh (Results 1 - 25 of 30) sorted by relevance

12

/external/openssl/crypto/ecdh/
H A Dech_key.c1 /* crypto/ecdh/ecdh_key.c */
79 ECDH_DATA *ecdh = ecdh_check(eckey); local
80 if (ecdh == NULL)
82 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
H A Dech_lib.c1 /* crypto/ecdh/ech_lib.c */
111 ECDH_DATA *ecdh; local
113 ecdh = ecdh_check(eckey);
115 if (ecdh == NULL)
119 mtmp = ecdh->meth;
124 if (ecdh->engine)
126 ENGINE_finish(ecdh->engine);
127 ecdh->engine = NULL;
130 ecdh->meth = meth;
252 ECDH_DATA *ecdh; local
261 ECDH_DATA *ecdh; local
[all...]
H A Dech_locl.h1 /* crypto/ecdh/ech_locl.h */
59 #include <openssl/ecdh.h>
68 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
H A Dech_err.c1 /* crypto/ecdh/ech_err.c */
63 #include <openssl/ecdh.h>
H A Dech_ossl.c1 /* crypto/ecdh/ech_ossl.c */
83 EC_KEY *ecdh,
109 EC_KEY *ecdh,
132 priv_key = EC_KEY_get0_private_key(ecdh);
139 group = EC_KEY_get0_group(ecdh);
108 ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) argument
H A Decdh.h1 /* crypto/ecdh/ecdh.h */
94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
H A Decdhtest.c1 /* crypto/ecdh/ecdhtest.c */
93 #include <openssl/ecdh.h>
/external/openssl/include/openssl/
H A Decdh.h1 /* crypto/ecdh/ecdh.h */
94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
H A Dssl.h1641 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \
1642 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
1650 #define SSL_set_tmp_ecdh(ssl,ecdh) \
1651 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
2027 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
2030 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
H A Dssl3.h510 EC_KEY *ecdh; /* holds short lived ECDH key */ member in struct:ssl3_state_st::__anon9922
/external/openssh/
H A Dkexecdh.c39 #include <openssl/ecdh.h>
H A Dkexecdhc.c47 #include <openssl/ecdh.h>
H A Dkexecdhs.c49 #include <openssl/ecdh.h>
/external/openssl/crypto/err/
H A Derr_all.c81 #include <openssl/ecdh.h>
/external/openssl/ssl/
H A Dd1_srvr.c1035 EC_KEY *ecdh=NULL, *ecdhp; local
1168 if (s->s3->tmp.ecdh != NULL)
1170 EC_KEY_free(s->s3->tmp.ecdh);
1181 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL)
1187 s->s3->tmp.ecdh=ecdh;
1188 if ((EC_KEY_get0_public_key(ecdh) == NULL) ||
1189 (EC_KEY_get0_private_key(ecdh) == NULL) ||
1192 if(!EC_KEY_generate_key(ecdh))
1199 if (((group = EC_KEY_get0_group(ecdh))
[all...]
H A DMakefile112 bio_ssl.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
130 d1_both.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
151 d1_clnt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
172 d1_enc.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
193 d1_lib.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
213 d1_meth.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
233 d1_pkt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
253 d1_srtp.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
274 d1_srvr.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
295 kssl.o: ../include/openssl/ecdh
[all...]
H A Ds3_srvr.c902 if (s->s3->tmp.ecdh != NULL)
904 EC_KEY_free(s->s3->tmp.ecdh);
905 s->s3->tmp.ecdh = NULL;
1567 EC_KEY *ecdh=NULL, *ecdhp; local
1700 if (s->s3->tmp.ecdh != NULL)
1712 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL)
1718 s->s3->tmp.ecdh=ecdh;
1719 if ((EC_KEY_get0_public_key(ecdh) == NULL) ||
1720 (EC_KEY_get0_private_key(ecdh)
[all...]
H A Ds3_lib.c2984 if (s->s3->tmp.ecdh != NULL)
2985 EC_KEY_free(s->s3->tmp.ecdh);
3034 if (s->s3->tmp.ecdh != NULL)
3036 EC_KEY_free(s->s3->tmp.ecdh);
3037 s->s3->tmp.ecdh = NULL;
3202 EC_KEY *ecdh = NULL; local
3214 ecdh = (EC_KEY *)parg;
3217 if (!EC_KEY_generate_key(ecdh))
3219 EC_KEY_free(ecdh);
3226 s->cert->ecdh_tmp = ecdh;
3505 EC_KEY *ecdh = NULL; local
[all...]
H A Ds3_clnt.c1336 EC_KEY *ecdh = NULL; local
1670 if ((ecdh=EC_KEY_new()) == NULL)
1701 if (EC_KEY_set_group(ecdh, ngroup) == 0)
1708 group = EC_KEY_get0_group(ecdh);
1757 EC_KEY_set_public_key(ecdh, srvr_ecpoint);
1758 s->session->sess_cert->peer_ecdh_tmp=ecdh;
1759 ecdh=NULL;
1909 if (ecdh != NULL)
1910 EC_KEY_free(ecdh);
H A Dssl.h1641 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \
1642 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
1650 #define SSL_set_tmp_ecdh(ssl,ecdh) \
1651 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
2027 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
2030 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
H A Dssl3.h510 EC_KEY *ecdh; /* holds short lived ECDH key */ member in struct:ssl3_state_st::__anon9935
H A Dssltest.c537 EC_KEY *ecdh = NULL; local
986 ecdh = EC_KEY_new_by_curve_name(nid);
987 if (ecdh == NULL)
993 SSL_CTX_set_tmp_ecdh(s_ctx, ecdh);
995 EC_KEY_free(ecdh);
/external/openssl/apps/
H A Ds_server.c1687 EC_KEY *ecdh=NULL; local
1699 ecdh = EC_KEY_new_by_curve_name(nid);
1700 if (ecdh == NULL)
1708 if (ecdh != NULL)
1715 ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
1716 if (ecdh == NULL)
1724 SSL_CTX_set_tmp_ecdh(ctx,ecdh);
1727 SSL_CTX_set_tmp_ecdh(ctx2,ecdh);
1729 EC_KEY_free(ecdh);
/external/openssl/
H A DCrypto.mk285 crypto/ecdh/ech_err.c \
286 crypto/ecdh/ech_key.c \
287 crypto/ecdh/ech_lib.c \
288 crypto/ecdh/ech_ossl.c \
/external/openssl/crypto/engine/
H A Dengine.h85 #include <openssl/ecdh.h>

Completed in 320 milliseconds

12