[#CRYPTO_cbc128_decrypt]
= CRYPTO&lowbar;cbc128&lowbar;decrypt
:mrdocs:

Decrypt with a 128&hyphen;bit block cipher in CBC mode&period;

== Synopsis

Declared in `&lt;openssl&sol;modes&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
CRYPTO&lowbar;cbc128&lowbar;decrypt(
    unsigned char const* in,
    unsigned char* out,
    size&lowbar;t len,
    void const* key,
    unsigned char ivec[],
    xref:block128_f.adoc[block128&lowbar;f] block);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| Input ciphertext of length `len&period;`
| *out*
| Output plaintext buffer of length `len` (may equal `in)&period;`
| *len*
| Number of bytes to decrypt&period;
| *key*
| Cipher&hyphen;specific expanded key for `block&period;`
| *ivec*
| 16&hyphen;byte IV&semi; updated to the last ciphertext block on return&period;
| *block*
| Block&hyphen;decrypt function for the underlying cipher&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
