Lines Matching refs:ppkey
85 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey)
99 if (ppkey == NULL)
102 if (*ppkey == NULL)
103 *ppkey = EVP_PKEY_new();
105 if (*ppkey == NULL) {
110 ret = ctx->pmeth->paramgen(ctx, *ppkey);
112 EVP_PKEY_free(*ppkey);
113 *ppkey = NULL;
135 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey)
149 if (!ppkey)
152 if (!*ppkey)
153 *ppkey = EVP_PKEY_new();
155 ret = ctx->pmeth->keygen(ctx, *ppkey);
157 EVP_PKEY_free(*ppkey);
158 *ppkey = NULL;