Generate algorithm parameters into *`ppkey` using an initialised paramgen context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_paramgen(
    EVP_PKEY_CTX* ctx,
    EVP_PKEY** ppkey);

Return Value

1 on success, or a non‐positive value on failure.

Parameters

Name

Description

ctx

Context prepared with EVP_PKEY_paramgen_init() (and any controls).

ppkey

Address of an EVP_PKEY pointer that receives the parameters (allocated if NULL).

Created with MrDocs