NAME

Trfcrypt_CEncryptChar - Interface to procedures encrypting a single character.

SYNOPSIS

#include <generic/trfcrypt.h>

void Trfcrypt_CEncryptChar
(
	unsigned char *inout,
	void *schedule
);

PARAMETERS

unsigned char *inout
Character to encrypt, result area too.
void *schedule
Internal key.

DESCRIPTION

A procedure of this type is called by the common code to encrypt a single character with the specified internal key. The cipher is allowed to modify the internal key, i.e. To maintain state information (this is required by -> stream ciphers).

SEE ALSO

Trfcrypt_Init , Trfcrypt_SafeInit , Trfcrypt_CSchedule , Trfcrypt_CDecryptChar , Trfcrypt_CCheck , Trfcrypt_RegisterCipher , Trfcrypt_BCSchedule , Trfcrypt_BCEncryptBlock , Trfcrypt_BCDecryptBlock , Trfcrypt_BCCheck , Trfcrypt_RegisterBlockcipher , Trfcrypt_XorBuffer , Trfcrypt_ShiftRegister , Trfcrypt_FlipRegisterShort , Trfcrypt_FlipRegisterLong