Decode cipher AlgorithmIdentifier parameters from type into cipher context c.
Declared in <openssl/evp.h>
int
EVP_CIPHER_asn1_to_param(
EVP_CIPHER_CTX* c,
ASN1_TYPE* type);
1 on success, or 0/-1 on failure (for example if the cipher lacks ASN.1 support).
| Name | Description |
|---|---|
| c | Cipher context that receives parameters (typically including the IV). |
| type | ASN.1 type holding the AlgorithmIdentifier parameters. |