[#EVP_CIPHER_set_asn1_iv] = EVP_CIPHER_set_asn1_iv :mrdocs: Encode the cipher context IV into an ASN.1 OCTET STRING inside `type.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_CIPHER_set_asn1_iv( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* c, xref:ASN1_TYPE.adoc[ASN1_TYPE]* type); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *c* | Cipher context whose IV is serialized. | *type* | ASN1_TYPE that receives an OCTET STRING encoding of the IV. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#