cbc128_f

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

NameDescription
inInput bytes of length len.
outOutput buffer of length len (may equal in).
lenNumber of bytes to process.
keyCipher-specific expanded key schedule.
ivec16-byte IV; updated in place by the CBC chaining.
encNon-zero to encrypt, zero to decrypt.