Streaming OCB helper that processes whole 16‐byte blocks and updates checksum state.

Synopsis

Declared in <openssl/modes.h>

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

Parameters

Name

Description

in

Input ciphertext or plaintext blocks.

out

Output buffer for the transformed blocks.

blocks

Number of 16‐byte blocks to process.

key

Cipher‐specific expanded key schedule.

start_block_num

Block index of the first block in this call (for L lookup).

offset_i

16‐byte running Offset_i state updated in place.

L_

Table of precomputed L values indexed by trailing‐zero count.

checksum

16‐byte running checksum state updated in place.

Created with MrDocs