Callback that encrypts or decrypts a contiguous span of bytes in CBC mode.

Synopsis

Declared in <openssl/modes.h>

typedef void(* cbc128_f)(unsigned char const*, unsigned char*, size_t, void const*, unsigned char[], int);

Parameters

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.

Created with MrDocs