[#EVP_CIPHER_CTX_get_original_iv] = EVP_CIPHER_CTX_get_original_iv :mrdocs: Copy the original IV from a cipher context into `buf.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_CIPHER_CTX_get_original_iv( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* ctx, void* buf, size_t len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Cipher context previously initialized with an IV. | *buf* | Destination buffer for the IV bytes. | *len* | Capacity of `buf` in bytes (must be at least the IV length). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#