Encode the cipher context IV into an ASN.1 OCTET STRING inside type.
Declared in <openssl/evp.h>
int
EVP_CIPHER_set_asn1_iv(
EVP_CIPHER_CTX* c,
ASN1_TYPE* type);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| c | Cipher context whose IV is serialized. |
| type | ASN1_TYPE that receives an OCTET STRING encoding of the IV. |