Build an EVP_PKEY (or parameters) from an OSSL_PARAM array after fromdata_init.
Declared in <openssl/evp.h>
int
EVP_PKEY_fromdata(
EVP_PKEY_CTX* ctx,
EVP_PKEY** ppkey,
int selection,
OSSL_PARAM param[]);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Context previously prepared with EVP_PKEY_fromdata_init(). |
| ppkey | Destination that receives the created EVP_PKEY on success. |
| selection | OSSL_KEYMGMT_SELECT_* mask describing which key parts param supplies. |
| param | NULL-terminated OSSL_PARAM array of key material / parameters. |