Home | History | Annotate | Download | only in client

Lines Matching defs:pctx

332 	EVP_PKEY_CTX *pctx = NULL;
346 pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL);
347 if (!pctx)
350 if (EVP_PKEY_keygen_init(pctx) <= 0)
353 if (EVP_PKEY_CTX_set_rsa_keygen_bits(pctx, 2048) <= 0)
356 if (EVP_PKEY_keygen(pctx, &pkey) <= 0)
358 EVP_PKEY_CTX_free(pctx);
359 pctx = NULL;
535 if (pctx)
536 EVP_PKEY_CTX_free(pctx);