EVP_CIPHER_meth_set_get_asn1_params

Set the callback that exports cipher parameters into an ASN.1 type (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_CIPHER_meth_set_get_asn1_params(
    EVP_CIPHER* cipher,
    int(* get_asn1_parameters)(EVP_CIPHER_CTX*, ASN1_TYPE*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cipherCustom cipher method to update.
get_asn1_parametersCallback that fills an ASN1_TYPE from the cipher context, or NULL.