Trf_ShiftRegister(3)

NAME
Trf_ShiftRegister - Shift the register.

SYNOPSIS
#include <generic/transform.h>

void Trf_ShiftRegister
(
    void *buffer,
    void *in,
    int shift,
    int buffer_length
);

PARAMETERS

void *buffer
    Data shifted to the left.

void *in
    2nd register shifted into the buffer.

int shift
    Number of bytes to shift out (and in).

int buffer_length
    Length of buffer and in (in byte).

DESCRIPTION
The register is shifted 'shift' bytes to the left. The same number of bytes from the left of the 2nd register ('in') is inserted at the right of 'buffer' to replace the lost bytes.

SEE ALSO
Trf_Init(3), Trf_SafeInit(3), Trf_IsInitialized(3), Trf_BaseOptions(3), Trf_Options(3), Trf_CreateOptions(3), Trf_DeleteOptions(3), Trf_CheckOptions(3), Trf_SetOption(3), Trf_SetObjOption(3), Trf_QueryOptions(3), Trf_SeekQueryOptions(3), Trf_OptionVectors(3), Trf_ControlBlock(3), Trf_WriteProc(3), Trf_CreateCtrlBlock(3), Trf_DeleteCtrlBlock(3), Trf_TransformCharacter(3), Trf_TransformBuffer(3), Trf_FlushTransformation(3), Trf_ClearCtrlBlock(3), Trf_QueryMaxRead(3), Trf_Vectors(3), Trf_TypeDefinition(3), Trf_Register(3), Trf_ConverterOptions(3), Trf_ConverterOptionBlock(3), Trf_MDStart(3), Trf_MDUpdate(3), Trf_MDUpdateBuf(3), Trf_MDFinal(3), Trf_MDCheck(3), Trf_MessageDigestDescription(3), Trf_RegisterMessageDigest(3), Trf_LoadLibrary(3), Trf_XorBuffer(3), Trf_FlipRegisterShort(3), Trf_FlipRegisterLong(3), Trf_InitStubs(3)