ecb128_f

Callback that encrypts or decrypts a contiguous span of 16-byte blocks in ECB mode.

Synopsis

Declared in <openssl/modes.h>

typedef void(* ecb128_f)(unsigned char const*, unsigned char*, size_t, void const*, int);

Parameters

NameDescription
inInput bytes of length len (multiple of 16).
outOutput buffer of length len.
lenNumber of bytes to process.
keyCipher-specific expanded key schedule.
encNon-zero to encrypt, zero to decrypt.