Home
last modified time | relevance | path

Searched refs:kctx (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1874 EVP_PKEY_CTX *kctx = NULL; in crypto_ecdh_init() local
1898 kctx = EVP_PKEY_CTX_new(params, NULL); in crypto_ecdh_init()
1899 if (!kctx) in crypto_ecdh_init()
1902 if (EVP_PKEY_keygen_init(kctx) != 1) { in crypto_ecdh_init()
1909 if (EVP_PKEY_keygen(kctx, &ecdh->pkey) != 1) { in crypto_ecdh_init()
1917 EVP_PKEY_CTX_free(kctx); in crypto_ecdh_init()
/external/wpa_supplicant_8/src/common/
Ddpp.c1081 EVP_PKEY_CTX *kctx = NULL; in dpp_gen_keypair() local
1108 kctx = EVP_PKEY_CTX_new(params, NULL); in dpp_gen_keypair()
1109 if (!kctx || in dpp_gen_keypair()
1110 EVP_PKEY_keygen_init(kctx) != 1 || in dpp_gen_keypair()
1111 EVP_PKEY_keygen(kctx, &key) != 1) { in dpp_gen_keypair()
1120 EVP_PKEY_CTX_free(kctx); in dpp_gen_keypair()
1123 EVP_PKEY_CTX_free(kctx); in dpp_gen_keypair()