NAME
Trfcrypt_RegisterCipher - Procedure to register a (stream) cipher in an interpreter.
SYNOPSIS
#include <generic/trfcrypt.h>
extern int Trfcrypt_RegisterCipher
(
Tcl_Interp *interp,
const Trfcrypt_CipherDescription *c_desc
);
PARAMETERS
-
Tcl_Interp *interp
-
Interpreter to register the cipher at.
-
const Trfcrypt_CipherDescription *c_desc
-
Description of the cipher.
DESCRIPTION
The procedure registers the described cipher 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_BCSchedule
,
Trfcrypt_BCEncryptBlock
,
Trfcrypt_BCDecryptBlock
,
Trfcrypt_BCCheck
,
Trfcrypt_RegisterBlockcipher
,
Trfcrypt_XorBuffer
,
Trfcrypt_ShiftRegister
,
Trfcrypt_FlipRegisterShort
,
Trfcrypt_FlipRegisterLong