Trf_XorBuffer(3)

Trf_XorBuffer3

Xor the bytes in a buffer with a mask.

Usage

#include <transform.h>

void Trf_XorBuffer
(

void *buffer,

void *mask,

int length
);

Parameters

void *buffer

Buffer to xor the mask with.

void *mask

Mask bytes xor'ed into the buffer.

int length

Length of mask and buffer (in byte).

Overview

Internally used by the implementation of the various stream modes available to blockciphers.

Releases

Unchanged in 9 releases since Debian 5.0 (Lenny).

  1. 5.0–13

From tcl-trf-doc 2.1.4-dfsg3-8 in Debian 13 (Trixie). Parsed by carta from the page's man source.