Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dcrypto_wolfssl.c1721 struct crypto_ecdh *ecdh = NULL; in crypto_ecdh_init() local
1728 ecdh = os_zalloc(sizeof(*ecdh)); in crypto_ecdh_init()
1729 if (!ecdh) in crypto_ecdh_init()
1732 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init()
1733 if (!ecdh->ec) in crypto_ecdh_init()
1736 ret = wc_ecc_make_key_ex(&rng, ecdh->ec->key.dp->size, &ecdh->ec->key, in crypto_ecdh_init()
1737 ecdh->ec->key.dp->id); in crypto_ecdh_init()
1744 return ecdh; in crypto_ecdh_init()
1746 crypto_ecdh_deinit(ecdh); in crypto_ecdh_init()
1747 ecdh = NULL; in crypto_ecdh_init()
[all …]
Dcrypto_openssl.c1950 struct crypto_ecdh *ecdh; in crypto_ecdh_init() local
1955 ecdh = os_zalloc(sizeof(*ecdh)); in crypto_ecdh_init()
1956 if (!ecdh) in crypto_ecdh_init()
1959 ecdh->ec = crypto_ec_init(group); in crypto_ecdh_init()
1960 if (!ecdh->ec) in crypto_ecdh_init()
1963 ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); in crypto_ecdh_init()
1988 if (EVP_PKEY_keygen(kctx, &ecdh->pkey) != 1) { in crypto_ecdh_init()
1999 return ecdh; in crypto_ecdh_init()
2001 crypto_ecdh_deinit(ecdh); in crypto_ecdh_init()
2002 ecdh = NULL; in crypto_ecdh_init()
[all …]
Dcrypto.h915 struct wpabuf * crypto_ecdh_get_pubkey(struct crypto_ecdh *ecdh, int inc_y);
916 struct wpabuf * crypto_ecdh_set_peerkey(struct crypto_ecdh *ecdh, int inc_y,
918 void crypto_ecdh_deinit(struct crypto_ecdh *ecdh);
919 size_t crypto_ecdh_prime_len(struct crypto_ecdh *ecdh);
Dtls_openssl.c3054 EC_KEY *ecdh; in tls_set_conn_flags() local
3077 ecdh = EC_KEY_new_by_curve_name(NID_secp384r1); in tls_set_conn_flags()
3078 if (!ecdh || SSL_set_tmp_ecdh(ssl, ecdh) != 1) { in tls_set_conn_flags()
3079 EC_KEY_free(ecdh); in tls_set_conn_flags()
3084 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_crypto.c2607 pfs->ecdh = crypto_ecdh_init(pfs->curve->ike_group); in dpp_pfs_init()
2608 if (!pfs->ecdh) in dpp_pfs_init()
2611 pub = crypto_ecdh_get_pubkey(pfs->ecdh, 0); in dpp_pfs_init()
2645 pfs->secret = crypto_ecdh_set_peerkey(pfs->ecdh, 0, peer_ie + 2, in dpp_pfs_process()
2661 crypto_ecdh_deinit(pfs->ecdh); in dpp_pfs_free()
Ddpp.h587 struct crypto_ecdh *ecdh; member
/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
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dec.rst937 …r of security concerns for elliptic-curve cryptography`: https://cr.yp.to/ecdh/curve25519-20060209…