NAME

Trfcrypt_RegisterBlockcipher - Procedure to register a blockcipher in an interpreter.

SYNOPSIS

#include <generic/trfcrypt.h>

extern int Trfcrypt_RegisterBlockcipher
(
	Tcl_Interp *interp,
	const Trfcrypt_BlockcipherDescription *bc_desc
);

PARAMETERS

Tcl_Interp *interp
Interpreter to register the blockcipher at.
const Trfcrypt_BlockcipherDescription *bc_desc
Description of blockcipher.

DESCRIPTION

The procedure registers the described blockcipher at the given interpreter. Return value is a standard tcl error code. In case of failure an error message should be left in the result area of the given interpreter.

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