ccm128_f

Streaming CCM helper that processes whole 16-byte blocks and updates CMAC state.

Synopsis

Declared in <openssl/modes.h>

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

Parameters

NameDescription
inInput ciphertext or plaintext blocks.
outOutput buffer for the transformed blocks.
blocksNumber of 16-byte blocks to process.
keyCipher-specific expanded key schedule.
ivec16-byte counter / IV block for the stream.
cmac16-byte running CMAC / authentication state updated in place.