Callback that encrypts or decrypts a contiguous span of bytes in CBC mode.
Declared in <openssl/modes.h>
typedef void(* cbc128_f)(unsigned char const*, unsigned char*, size_t, void const*, unsigned char[], int);
| Name | Description |
|---|---|
| in | Input bytes of length len. |
| out | Output buffer of length len (may equal in). |
| len | Number of bytes to process. |
| key | Cipher-specific expanded key schedule. |
| ivec | 16-byte IV; updated in place by the CBC chaining. |
| enc | Non-zero to encrypt, zero to decrypt. |