Initialize ctx for signing and apply optional algorithm parameters.
Declared in <openssl/evp.h>
int
EVP_PKEY_sign_init_ex(
EVP_PKEY_CTX* ctx,
OSSL_PARAM const params[]);
1 on success, or 0 / a negative value on failure.
| Name | Description |
|---|---|
| ctx | Key context created for a signing-capable algorithm. |
| params | Optional OSSL_PARAM array set on the context before return, or NULL. |