/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() 259 ECDH_DATA *ecdh; in ECDH_set_ex_data() local 260 ecdh = ecdh_check(d); in ECDH_set_ex_data() [all …]
|
D | ech_key.c | 76 ECDH_DATA *ecdh = ecdh_check(eckey); in ECDH_compute_key() local 77 if (ecdh == NULL) in ECDH_compute_key() 79 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/chromium_org/third_party/boringssl/src/crypto/ecdh/ |
D | CMakeLists.txt | 4 ecdh target 8 ecdh.c
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | s3_lib.c | 1015 if (s->s3->tmp.ecdh != NULL) in ssl3_free() 1016 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_free() 1052 if (s->s3->tmp.ecdh != NULL) in ssl3_clear() 1054 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_clear() 1055 s->s3->tmp.ecdh = NULL; in ssl3_clear() 1189 EC_KEY *ecdh = NULL; in ssl3_ctrl() local 1201 ecdh = (EC_KEY *)parg; in ssl3_ctrl() 1204 if (!EC_KEY_generate_key(ecdh)) in ssl3_ctrl() 1206 EC_KEY_free(ecdh); in ssl3_ctrl() 1213 s->cert->ecdh_tmp = ecdh; in ssl3_ctrl() [all …]
|
D | s3_srvr.c | 1273 EC_KEY *ecdh=NULL, *ecdhp; in ssl3_send_server_key_exchange() local 1388 if (s->s3->tmp.ecdh != NULL) in ssl3_send_server_key_exchange() 1401 ecdh = ecdhp; in ssl3_send_server_key_exchange() 1402 else if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in ssl3_send_server_key_exchange() 1408 s->s3->tmp.ecdh=ecdh; in ssl3_send_server_key_exchange() 1409 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1410 (EC_KEY_get0_private_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1413 if(!EC_KEY_generate_key(ecdh)) in ssl3_send_server_key_exchange() 1420 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in ssl3_send_server_key_exchange() 1421 (EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() [all …]
|
D | s3_clnt.c | 1154 EC_KEY *ecdh = NULL; in ssl3_get_server_key_exchange() local 1397 if ((ecdh=EC_KEY_new()) == NULL) in ssl3_get_server_key_exchange() 1408 if (EC_KEY_set_group(ecdh, ngroup) == 0) in ssl3_get_server_key_exchange() 1415 group = EC_KEY_get0_group(ecdh); in ssl3_get_server_key_exchange() 1450 EC_KEY_set_public_key(ecdh, srvr_ecpoint); in ssl3_get_server_key_exchange() 1451 s->session->sess_cert->peer_ecdh_tmp=ecdh; in ssl3_get_server_key_exchange() 1452 ecdh=NULL; in ssl3_get_server_key_exchange() 1571 if (ecdh != NULL) in ssl3_get_server_key_exchange() 1572 EC_KEY_free(ecdh); in ssl3_get_server_key_exchange()
|
/external/openssl/ssl/ |
D | d1_srvr.c | 1052 EC_KEY *ecdh=NULL, *ecdhp; in dtls1_send_server_key_exchange() local 1185 if (s->s3->tmp.ecdh != NULL) in dtls1_send_server_key_exchange() 1187 EC_KEY_free(s->s3->tmp.ecdh); in dtls1_send_server_key_exchange() 1198 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in dtls1_send_server_key_exchange() 1204 s->s3->tmp.ecdh=ecdh; in dtls1_send_server_key_exchange() 1205 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() 1206 (EC_KEY_get0_private_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() 1209 if(!EC_KEY_generate_key(ecdh)) in dtls1_send_server_key_exchange() 1216 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in dtls1_send_server_key_exchange() 1217 (EC_KEY_get0_public_key(ecdh) == NULL) || in dtls1_send_server_key_exchange() [all …]
|
D | s3_lib.c | 3024 if (s->s3->tmp.ecdh != NULL) in ssl3_free() 3025 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_free() 3079 if (s->s3->tmp.ecdh != NULL) in ssl3_clear() 3081 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_clear() 3082 s->s3->tmp.ecdh = NULL; in ssl3_clear() 3264 EC_KEY *ecdh = NULL; in ssl3_ctrl() local 3276 ecdh = (EC_KEY *)parg; in ssl3_ctrl() 3279 if (!EC_KEY_generate_key(ecdh)) in ssl3_ctrl() 3281 EC_KEY_free(ecdh); in ssl3_ctrl() 3288 s->cert->ecdh_tmp = ecdh; in ssl3_ctrl() [all …]
|
D | s3_srvr.c | 935 if (s->s3->tmp.ecdh != NULL) in ssl3_check_client_hello() 937 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_check_client_hello() 938 s->s3->tmp.ecdh = NULL; in ssl3_check_client_hello() 1621 EC_KEY *ecdh=NULL, *ecdhp; in ssl3_send_server_key_exchange() local 1770 if (s->s3->tmp.ecdh != NULL) in ssl3_send_server_key_exchange() 1782 if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) in ssl3_send_server_key_exchange() 1788 s->s3->tmp.ecdh=ecdh; in ssl3_send_server_key_exchange() 1789 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1790 (EC_KEY_get0_private_key(ecdh) == NULL) || in ssl3_send_server_key_exchange() 1793 if(!EC_KEY_generate_key(ecdh)) in ssl3_send_server_key_exchange() [all …]
|
D | ssltest.c | 531 EC_KEY *ecdh = NULL; in main() local 963 ecdh = EC_KEY_new_by_curve_name(nid); in main() 964 if (ecdh == NULL) in main() 970 SSL_CTX_set_tmp_ecdh(s_ctx, ecdh); in main() 972 EC_KEY_free(ecdh); in main()
|
D | s3_clnt.c | 1371 EC_KEY *ecdh = NULL; in ssl3_get_key_exchange() local 1810 if ((ecdh=EC_KEY_new()) == NULL) in ssl3_get_key_exchange() 1848 if (EC_KEY_set_group(ecdh, ngroup) == 0) in ssl3_get_key_exchange() 1855 group = EC_KEY_get0_group(ecdh); in ssl3_get_key_exchange() 1904 EC_KEY_set_public_key(ecdh, srvr_ecpoint); in ssl3_get_key_exchange() 1905 s->session->sess_cert->peer_ecdh_tmp=ecdh; in ssl3_get_key_exchange() 1906 ecdh=NULL; in ssl3_get_key_exchange() 2070 if (ecdh != NULL) in ssl3_get_key_exchange() 2071 EC_KEY_free(ecdh); in ssl3_get_key_exchange()
|
D | ssl.h | 1762 #define SSL_CTX_set_tmp_ecdh(ctx,ecdh) \ argument 1763 SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 1771 #define SSL_set_tmp_ecdh(ssl,ecdh) \ argument 1772 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh) 2169 EC_KEY *(*ecdh)(SSL *ssl,int is_export, 2172 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
|
/external/openssl/crypto/err/ |
D | openssl.ec | 32 L ECDH crypto/ecdh/ecdh.h crypto/ecdh/ech_err.c
|
/external/chromium_org/third_party/boringssl/src/crypto/ |
D | CMakeLists.txt | 99 add_subdirectory(ecdh) 156 $<TARGET_OBJECTS:ecdh>
|
/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,
|
/external/chromium_org/third_party/webrtc/base/ |
D | opensslstreamadapter.cc | 621 EC_KEY* ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in BeginSSL() local 622 if (ecdh == NULL) in BeginSSL() 625 SSL_set_tmp_ecdh(ssl_, ecdh); in BeginSSL() 626 EC_KEY_free(ecdh); in BeginSSL()
|
/external/openssl/ |
D | Crypto-config-trusty.mk | 119 crypto/ecdh/ech_key.c \ 120 crypto/ecdh/ech_lib.c \ 121 crypto/ecdh/ech_ossl.c \
|
D | openssl.trusty.config | 164 crypto/ecdh/ech_key.c \ 165 crypto/ecdh/ech_lib.c \ 166 crypto/ecdh/ech_ossl.c \
|
D | Crypto-config-host.mk | 265 crypto/ecdh/ech_err.c \ 266 crypto/ecdh/ech_key.c \ 267 crypto/ecdh/ech_lib.c \ 268 crypto/ecdh/ech_ossl.c \
|
D | Crypto-config-target.mk | 265 crypto/ecdh/ech_err.c \ 266 crypto/ecdh/ech_key.c \ 267 crypto/ecdh/ech_lib.c \ 268 crypto/ecdh/ech_ossl.c \
|
/external/chromium_org/third_party/boringssl/src/util/ |
D | doc.config | 29 "include/openssl/ecdh.h",
|
/external/openssl/apps/ |
D | s_server.c | 1708 EC_KEY *ecdh=NULL; in MAIN() local 1720 ecdh = EC_KEY_new_by_curve_name(nid); in MAIN() 1721 if (ecdh == NULL) in MAIN() 1729 if (ecdh != NULL) in MAIN() 1736 ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in MAIN() 1737 if (ecdh == NULL) in MAIN() 1745 SSL_CTX_set_tmp_ecdh(ctx,ecdh); in MAIN() 1748 SSL_CTX_set_tmp_ecdh(ctx2,ecdh); in MAIN() 1750 EC_KEY_free(ecdh); in MAIN()
|