[#CRYPTO_cbc128_encrypt] = CRYPTO_cbc128_encrypt :mrdocs: Encrypt with a 128‐bit block cipher in CBC mode. == Synopsis Declared in `<openssl/modes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void CRYPTO_cbc128_encrypt( unsigned char const* in, unsigned char* out, size_t len, void const* key, unsigned char ivec[], xref:block128_f.adoc[block128_f] block); ---- == Parameters [cols="1,4"] |=== | Name| Description | *in* | Input plaintext of length `len.` | *out* | Output ciphertext buffer of length `len` (may equal `in).` | *len* | Number of bytes to encrypt. | *key* | Cipher‐specific expanded key for `block.` | *ivec* | 16‐byte IV; updated to the last ciphertext block on return. | *block* | Block‐encrypt function for the underlying cipher. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#