NAME

Trfcrypt_FlipRegisterShort - Swap the bytes of all 2-byte words contained in the buffer.

SYNOPSIS

#include <generic/trfcrypt.h>

extern void Trfcrypt_FlipRegisterShort
(
	void *buffer,
	int length
);

PARAMETERS

void *buffer
Data to swap.
int length
Length of buffer (in byte).

DESCRIPTION

Swap the bytes of all 2-byte words contained in the buffer.

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_XorBuffer , Trfcrypt_ShiftRegister , Trfcrypt_FlipRegisterLong