/external/openssl/crypto/ecdh/ |
D | ech_lib.c | 99 ECDH_DATA *ecdh; in ECDH_set_method() local 101 ecdh = ecdh_check(eckey); in ECDH_set_method() 103 if (ecdh == NULL) in ECDH_set_method() 107 mtmp = ecdh->meth; in ECDH_set_method() 112 if (ecdh->engine) in ECDH_set_method() 114 ENGINE_finish(ecdh->engine); in ECDH_set_method() 115 ecdh->engine = NULL; in ECDH_set_method() 118 ecdh->meth = meth; in ECDH_set_method() 232 ECDH_DATA *ecdh; in ECDH_set_ex_data() local 233 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 | 887 EC_KEY *ecdh=NULL, *ecdhp; in dtls1_send_server_key_exchange() local 1020 if (s->s3->tmp.ecdh != NULL) in dtls1_send_server_key_exchange() 1022 EC_KEY_free(s->s3->tmp.ecdh); in dtls1_send_server_key_exchange() 1033 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in dtls1_send_server_key_exchange() 1039 s->s3->tmp.ecdh=ecdh; in dtls1_send_server_key_exchange() 1040 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() 1041 (EC_KEY_get0_private_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() 1044 if(!EC_KEY_generate_key(ecdh)) in dtls1_send_server_key_exchange() 1051 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in dtls1_send_server_key_exchange() 1052 (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 171 d1_enc.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 191 d1_lib.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 210 d1_meth.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 229 d1_pkt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 250 d1_srvr.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 270 kssl.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h 288 s23_clnt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h [all …]
|
D | s3_lib.c | 2161 if (s->s3->tmp.ecdh != NULL) in ssl3_free() 2162 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_free() 2207 if (s->s3->tmp.ecdh != NULL) in ssl3_clear() 2209 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_clear() 2210 s->s3->tmp.ecdh = NULL; in ssl3_clear() 2366 EC_KEY *ecdh = NULL; in ssl3_ctrl() local 2378 ecdh = (EC_KEY *)parg; in ssl3_ctrl() 2381 if (!EC_KEY_generate_key(ecdh)) in ssl3_ctrl() 2383 EC_KEY_free(ecdh); in ssl3_ctrl() 2390 s->cert->ecdh_tmp = ecdh; in ssl3_ctrl() [all …]
|
D | s3_srvr.c | 813 if (s->s3->tmp.ecdh != NULL) in ssl3_check_client_hello() 815 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_check_client_hello() 816 s->s3->tmp.ecdh = NULL; in ssl3_check_client_hello() 1470 EC_KEY *ecdh=NULL, *ecdhp; in ssl3_send_server_key_exchange() local 1602 if (s->s3->tmp.ecdh != NULL) in ssl3_send_server_key_exchange() 1614 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in ssl3_send_server_key_exchange() 1620 s->s3->tmp.ecdh=ecdh; in ssl3_send_server_key_exchange() 1621 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1622 (EC_KEY_get0_private_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1625 if(!EC_KEY_generate_key(ecdh)) in ssl3_send_server_key_exchange() [all …]
|
D | s3_clnt.c | 1246 EC_KEY *ecdh = NULL; in ssl3_get_key_exchange() local 1500 if ((ecdh=EC_KEY_new()) == NULL) in ssl3_get_key_exchange() 1531 if (EC_KEY_set_group(ecdh, ngroup) == 0) in ssl3_get_key_exchange() 1538 group = EC_KEY_get0_group(ecdh); in ssl3_get_key_exchange() 1587 EC_KEY_set_public_key(ecdh, srvr_ecpoint); in ssl3_get_key_exchange() 1588 s->session->sess_cert->peer_ecdh_tmp=ecdh; in ssl3_get_key_exchange() 1589 ecdh=NULL; in ssl3_get_key_exchange() 1732 if (ecdh != NULL) in ssl3_get_key_exchange() 1733 EC_KEY_free(ecdh); in ssl3_get_key_exchange()
|
D | ssl.h | 1511 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \ argument 1512 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1520 #define SSL_set_tmp_ecdh(ssl,ecdh) \ argument 1521 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1854 EC_KEY *(*ecdh)(SSL *ssl,int is_export, 1857 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
|
D | ssltest.c | 484 EC_KEY *ecdh = NULL; in main() local 883 ecdh = EC_KEY_new_by_curve_name(nid); in main() 884 if (ecdh == NULL) in main() 890 SSL_CTX_set_tmp_ecdh(s_ctx, ecdh); in main() 892 EC_KEY_free(ecdh); in main()
|
D | ssl3.h | 494 EC_KEY *ecdh; /* holds short lived ECDH key */ member
|
D | ssl_lib.c | 3087 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() 3090 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH_CB,(void (*)(void))ecdh); in SSL_CTX_set_tmp_ecdh_callback() 3093 void SSL_set_tmp_ecdh_callback(SSL *ssl,EC_KEY *(*ecdh)(SSL *ssl,int is_export, in SSL_set_tmp_ecdh_callback() 3096 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 | 1511 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \ argument 1512 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1520 #define SSL_set_tmp_ecdh(ssl,ecdh) \ argument 1521 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1854 EC_KEY *(*ecdh)(SSL *ssl,int is_export, 1857 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
|
D | ssl3.h | 494 EC_KEY *ecdh; /* holds short lived ECDH key */ member
|
/external/openssl/apps/ |
D | s_server.c | 1564 EC_KEY *ecdh=NULL; in MAIN() local 1576 ecdh = EC_KEY_new_by_curve_name(nid); in MAIN() 1577 if (ecdh == NULL) in MAIN() 1585 if (ecdh != NULL) in MAIN() 1592 ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in MAIN() 1593 if (ecdh == NULL) in MAIN() 1601 SSL_CTX_set_tmp_ecdh(ctx,ecdh); in MAIN() 1604 SSL_CTX_set_tmp_ecdh(ctx2,ecdh); in MAIN() 1606 EC_KEY_free(ecdh); in MAIN()
|
/external/openssl/patches/ |
D | crypto_Android.mk | 242 ecdh/ech_err.c \ 243 ecdh/ech_key.c \ 244 ecdh/ech_lib.c \ 245 ecdh/ech_ossl.c \
|
/external/openssl/crypto/ |
D | Android.mk | 242 ecdh/ech_err.c \ 243 ecdh/ech_key.c \ 244 ecdh/ech_lib.c \ 245 ecdh/ech_ossl.c \
|
/external/openssl/ |
D | openssl.config | 104 crypto/ecdh/Makefile \
|