NAME
Trfcrypt_XorBuffer - XOR the bytes in a buffer with a mask.
SYNOPSIS
#include <generic/trfcrypt.h>
extern void Trfcrypt_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).
DESCRIPTION
Internally used by the implementation of the
various stream modes available to blockciphers.
SEE ALSO
Trfcrypt_Init
,
Trfcrypt_SafeInit
,
Trfcrypt_CSchedule
,
Trfcrypt_CEncryptChar
,
Trfcrypt_CDecryptChar
,
Trfcrypt_CCheck
,
Trfcrypt_RegisterCipher
,
Trfcrypt_BCSchedule
,
Trfcrypt_BCEncryptBlock
,
Trfcrypt_BCDecryptBlock
,
Trfcrypt_BCCheck
,
Trfcrypt_RegisterBlockcipher
,
Trfcrypt_ShiftRegister
,
Trfcrypt_FlipRegisterShort
,
Trfcrypt_FlipRegisterLong