MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TaoCrypt::Mode_BASE Class Reference
Inheritance diagram for TaoCrypt::Mode_BASE:
Collaboration diagram for TaoCrypt::Mode_BASE:

Public Types

enum  { MaxBlockSz = 16 }

Public Member Functions

 Mode_BASE (int sz, CipherDir dir, Mode mode)
virtual void Process (byte *, const byte *, word32)
void SetIV (const byte *iv)

Protected Member Functions

void ECB_Process (byte *, const byte *, word32)
void CBC_Encrypt (byte *, const byte *, word32)
void CBC_Decrypt (byte *, const byte *, word32)
 Mode_BASE (const Mode_BASE &)
Mode_BASEoperator= (const Mode_BASE &)

Protected Attributes

int blockSz_
byte * reg_
byte * tmp_
word32 r_ [MaxBlockSz/sizeof(word32)]
word32 t_ [MaxBlockSz/sizeof(word32)]
CipherDir dir_
Mode mode_

Detailed Description

Definition at line 56 of file modes.hpp.


The documentation for this class was generated from the following file: