Return a pointer to the IV stored in a cipher context (deprecated).
Declared in <openssl/evp.h>
[[deprecated]]
unsigned char const*
EVP_CIPHER_CTX_iv(EVP_CIPHER_CTX const* ctx);
Deprecated. Use of this entity is allowed but discouraged.
Prefer EVP_CIPHER_CTX_get_updated_iv() / OSSL_PARAM queries for new code.
Internal IV buffer (do not free), or NULL if unavailable.
| Name | Description |
|---|---|
| ctx | Cipher context to query. |