Encrypt with a 128‐bit block cipher in CBC mode.
Synopsis
Declared in <openssl/modes.h>
void
CRYPTO_cbc128_encrypt(
unsigned char const* in,
unsigned char* out,
size_t len,
void const* key,
unsigned char ivec[],
block128_f block);
Parameters
Name |
Description |
in |
Input plaintext of length |
out |
Output ciphertext buffer of length |
len |
Number of bytes to encrypt. |
key |
Cipher‐specific expanded key for |
ivec |
16‐byte IV; updated to the last ciphertext block on return. |
block |
Block‐encrypt function for the underlying cipher. |
Created with MrDocs