/external/openssl/crypto/ecdh/ |
D | ech_lib.c | 111 ECDH_DATA *ecdh; in ECDH_set_method() local 113 ecdh = ecdh_check(eckey); in ECDH_set_method() 115 if (ecdh == NULL) in ECDH_set_method() 119 mtmp = ecdh->meth; in ECDH_set_method() 124 if (ecdh->engine) in ECDH_set_method() 126 ENGINE_finish(ecdh->engine); in ECDH_set_method() 127 ecdh->engine = NULL; in ECDH_set_method() 130 ecdh->meth = meth; in ECDH_set_method() 252 ECDH_DATA *ecdh; in ECDH_set_ex_data() local 253 ecdh = ecdh_check(d); in ECDH_set_ex_data() [all …]
|
D | ech_key.c | 79 ECDH_DATA *ecdh = ecdh_check(eckey); in ECDH_compute_key() local 80 if (ecdh == NULL) in ECDH_compute_key() 82 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF); in ECDH_compute_key()
|
D | ech_ossl.c | 83 EC_KEY *ecdh, 109 EC_KEY *ecdh, in ecdh_compute_key() argument 132 priv_key = EC_KEY_get0_private_key(ecdh); in ecdh_compute_key() 139 group = EC_KEY_get0_group(ecdh); in ecdh_compute_key()
|
D | ech_locl.h | 68 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
|
D | ecdh.h | 94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
|
/external/openssl/ssl/ |
D | d1_srvr.c | 1035 EC_KEY *ecdh=NULL, *ecdhp; in dtls1_send_server_key_exchange() local 1168 if (s->s3->tmp.ecdh != NULL) in dtls1_send_server_key_exchange() 1170 EC_KEY_free(s->s3->tmp.ecdh); in dtls1_send_server_key_exchange() 1181 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in dtls1_send_server_key_exchange() 1187 s->s3->tmp.ecdh=ecdh; in dtls1_send_server_key_exchange() 1188 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() 1189 (EC_KEY_get0_private_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() 1192 if(!EC_KEY_generate_key(ecdh)) in dtls1_send_server_key_exchange() 1199 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in dtls1_send_server_key_exchange() 1200 (EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() [all …]
|
D | Makefile | 112 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.h ../include/openssl/ecdsa.h [all …]
|
D | s3_lib.c | 2984 if (s->s3->tmp.ecdh != NULL) in ssl3_free() 2985 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_free() 3034 if (s->s3->tmp.ecdh != NULL) in ssl3_clear() 3036 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_clear() 3037 s->s3->tmp.ecdh = NULL; in ssl3_clear() 3202 EC_KEY *ecdh = NULL; in ssl3_ctrl() local 3214 ecdh = (EC_KEY *)parg; in ssl3_ctrl() 3217 if (!EC_KEY_generate_key(ecdh)) in ssl3_ctrl() 3219 EC_KEY_free(ecdh); in ssl3_ctrl() 3226 s->cert->ecdh_tmp = ecdh; in ssl3_ctrl() [all …]
|
D | s3_srvr.c | 902 if (s->s3->tmp.ecdh != NULL) in ssl3_check_client_hello() 904 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_check_client_hello() 905 s->s3->tmp.ecdh = NULL; in ssl3_check_client_hello() 1567 EC_KEY *ecdh=NULL, *ecdhp; in ssl3_send_server_key_exchange() local 1700 if (s->s3->tmp.ecdh != NULL) in ssl3_send_server_key_exchange() 1712 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in ssl3_send_server_key_exchange() 1718 s->s3->tmp.ecdh=ecdh; in ssl3_send_server_key_exchange() 1719 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1720 (EC_KEY_get0_private_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1723 if(!EC_KEY_generate_key(ecdh)) in ssl3_send_server_key_exchange() [all …]
|
D | s3_clnt.c | 1336 EC_KEY *ecdh = NULL; in ssl3_get_key_exchange() local 1670 if ((ecdh=EC_KEY_new()) == NULL) in ssl3_get_key_exchange() 1701 if (EC_KEY_set_group(ecdh, ngroup) == 0) in ssl3_get_key_exchange() 1708 group = EC_KEY_get0_group(ecdh); in ssl3_get_key_exchange() 1757 EC_KEY_set_public_key(ecdh, srvr_ecpoint); in ssl3_get_key_exchange() 1758 s->session->sess_cert->peer_ecdh_tmp=ecdh; in ssl3_get_key_exchange() 1759 ecdh=NULL; in ssl3_get_key_exchange() 1909 if (ecdh != NULL) in ssl3_get_key_exchange() 1910 EC_KEY_free(ecdh); in ssl3_get_key_exchange()
|
D | ssl.h | 1641 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \ argument 1642 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1650 #define SSL_set_tmp_ecdh(ssl,ecdh) \ argument 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,
|
D | ssltest.c | 537 EC_KEY *ecdh = NULL; in main() local 986 ecdh = EC_KEY_new_by_curve_name(nid); in main() 987 if (ecdh == NULL) in main() 993 SSL_CTX_set_tmp_ecdh(s_ctx, ecdh); in main() 995 EC_KEY_free(ecdh); in main()
|
D | ssl3.h | 510 EC_KEY *ecdh; /* holds short lived ECDH key */ member
|
D | ssl_lib.c | 3150 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,EC_KEY *(*ecdh)(SSL *ssl,int is_export, in SSL_CTX_set_tmp_ecdh_callback() 3153 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH_CB,(void (*)(void))ecdh); in SSL_CTX_set_tmp_ecdh_callback() 3156 void SSL_set_tmp_ecdh_callback(SSL *ssl,EC_KEY *(*ecdh)(SSL *ssl,int is_export, in SSL_set_tmp_ecdh_callback() 3159 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH_CB,(void (*)(void))ecdh); in SSL_set_tmp_ecdh_callback()
|
/external/openssl/crypto/err/ |
D | openssl.ec | 32 L ECDH crypto/ecdh/ecdh.h crypto/ecdh/ech_err.c
|
/external/openssl/include/openssl/ |
D | ecdh.h | 94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
|
D | ssl.h | 1641 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \ argument 1642 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1650 #define SSL_set_tmp_ecdh(ssl,ecdh) \ argument 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,
|
D | ssl3.h | 510 EC_KEY *ecdh; /* holds short lived ECDH key */ member
|
/external/openssl/apps/ |
D | s_server.c | 1687 EC_KEY *ecdh=NULL; in MAIN() local 1699 ecdh = EC_KEY_new_by_curve_name(nid); in MAIN() 1700 if (ecdh == NULL) in MAIN() 1708 if (ecdh != NULL) in MAIN() 1715 ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in MAIN() 1716 if (ecdh == NULL) in MAIN() 1724 SSL_CTX_set_tmp_ecdh(ctx,ecdh); in MAIN() 1727 SSL_CTX_set_tmp_ecdh(ctx2,ecdh); in MAIN() 1729 EC_KEY_free(ecdh); in MAIN()
|
/external/openssl/ |
D | Crypto.mk | 285 crypto/ecdh/ech_err.c \ 286 crypto/ecdh/ech_key.c \ 287 crypto/ecdh/ech_lib.c \ 288 crypto/ecdh/ech_ossl.c \
|
D | openssl.config | 111 crypto/ecdh/Makefile \
|
/external/openssh/ |
D | sshd_config.0 | 333 ``ecdh-sha2-nistp256'', ``ecdh-sha2-nistp384'', 334 ``ecdh-sha2-nistp521'', ``diffie-hellman-group-exchange-sha256'',
|
D | ssh_config.0 | 414 ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
|
D | configure.ac | 2251 #include <openssl/ecdh.h>
|