EVP_CIPHER_asn1_to_param

Decode cipher AlgorithmIdentifier parameters from type into cipher context c.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_asn1_to_param(
    EVP_CIPHER_CTX* c,
    ASN1_TYPE* type);

Return Value

1 on success, or 0/-1 on failure (for example if the cipher lacks ASN.1 support).

Parameters

NameDescription
cCipher context that receives parameters (typically including the IV).
typeASN.1 type holding the AlgorithmIdentifier parameters.