Home
last modified time | relevance | path

Searched refs:ecdh (Results 1 – 19 of 19) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1871 struct crypto_ecdh *ecdh; in crypto_ecdh_init() local
1876 ecdh = os_zalloc(sizeof(*ecdh)); in crypto_ecdh_init()
1877 if (!ecdh) in crypto_ecdh_init()
1880 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init()
1881 if (!ecdh->ec) in crypto_ecdh_init()
1884 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); in crypto_ecdh_init()
1909 if (EVP_PKEY_keygen(kctx, &ecdh->pkey) != 1) { in crypto_ecdh_init()
1919 return ecdh; in crypto_ecdh_init()
1921 crypto_ecdh_deinit(ecdh); in crypto_ecdh_init()
1922 ecdh = NULL; in crypto_ecdh_init()
[all …]
Dcrypto_wolfssl.c1668 struct crypto_ecdh *ecdh = NULL; in crypto_ecdh_init() local
1675 ecdh = os_zalloc(sizeof(*ecdh)); in crypto_ecdh_init()
1676 if (!ecdh) in crypto_ecdh_init()
1679 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init()
1680 if (!ecdh->ec) in crypto_ecdh_init()
1683 ret = wc_ecc_make_key_ex(&rng, ecdh->ec->key.dp->size, &ecdh->ec->key, in crypto_ecdh_init()
1684 ecdh->ec->key.dp->id); in crypto_ecdh_init()
1691 return ecdh; in crypto_ecdh_init()
1693 crypto_ecdh_deinit(ecdh); in crypto_ecdh_init()
1694 ecdh = NULL; in crypto_ecdh_init()
[all …]
Dcrypto.h888 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y);
889 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
891 void crypto_ecdh_deinit(struct crypto_ecdh *ecdh);
Dtls_openssl.c2938 EC_KEY *ecdh; in tls_set_conn_flags() local
2961 ecdh = EC_KEY_new_by_curve_name(NID_secp384r1); in tls_set_conn_flags()
2962 if (!ecdh || SSL_set_tmp_ecdh(ssl, ecdh) != 1) { in tls_set_conn_flags()
2963 EC_KEY_free(ecdh); in tls_set_conn_flags()
2968 EC_KEY_free(ecdh); in tls_set_conn_flags()
/external/wycheproof/doc/
Dbugs.md4 * [ECDH](ecdh.md)
/external/webrtc/webrtc/base/
Dopensslstreamadapter.cc791 EC_KEY* ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in BeginSSL() local
792 if (ecdh == NULL) in BeginSSL()
795 SSL_set_tmp_ecdh(ssl_, ecdh); in BeginSSL()
796 EC_KEY_free(ecdh); in BeginSSL()
/external/boringssl/src/util/
Ddoc.config34 "include/openssl/ecdh.h",
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc684 EC_KEY* ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in populate_ssl_context() local
685 if (!SSL_CTX_set_tmp_ecdh(context, ecdh)) { in populate_ssl_context()
687 EC_KEY_free(ecdh); in populate_ssl_context()
691 EC_KEY_free(ecdh); in populate_ssl_context()
/external/wpa_supplicant_8/src/common/
Ddpp.h469 struct crypto_ecdh *ecdh; member
Ddpp.c8261 pfs->ecdh = crypto_ecdh_init(pfs->curve->ike_group); in dpp_pfs_init()
8262 if (!pfs->ecdh) in dpp_pfs_init()
8265 pub = crypto_ecdh_get_pubkey(pfs->ecdh, 0); in dpp_pfs_init()
8299 pfs->secret = crypto_ecdh_set_peerkey(pfs->ecdh, 0, peer_ie + 2, in dpp_pfs_process()
8315 crypto_ecdh_deinit(pfs->ecdh); in dpp_pfs_free()
/external/openssh/
Dsshd_config.0522 ecdh-sha2-nistp256
523 ecdh-sha2-nistp384
524 ecdh-sha2-nistp521
529 ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
Dconfigure.ac2766 #include <openssl/ecdh.h>
2787 #include <openssl/ecdh.h>
2808 #include <openssl/ecdh.h>
2825 #include <openssl/ecdh.h>
2859 ecdh-sha2-nistp256 \
2869 ecdh-sha2-nistp384 \
2878 ecdh-sha2-nistp521 \
Dssh_config.0606 ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
/external/wycheproof/
DREADME.md57 - [ECDH](doc/ecdh.md)
/external/grpc-grpc/
Dconfig.m4482 third_party/boringssl/crypto/ecdh/ecdh.c \
747 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdh)
Dconfig.w32457 "third_party\\boringssl\\crypto\\ecdh\\ecdh.c " +
770 FSO.CreateFolder(base_dir+"\\ext\\grpc\\third_party\\boringssl\\crypto\\ecdh");
Dgrpc.gyp1846 'third_party/boringssl/crypto/ecdh/ecdh.c',
2242 'third_party/boringssl/crypto/ecdh/ecdh_test.cc',
Dgrpc.gemspec896 s.files += %w( third_party/boringssl/include/openssl/ecdh.h )
1024 s.files += %w( third_party/boringssl/crypto/ecdh/ecdh.c )
/external/boringssl/src/crypto/
DCMakeLists.txt166 err/ecdh.errordata