Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

stSEED

Classes, interfaces and records

recordtLongRec

(no public members)

recordtRoundKey

K0, K1: tLongRec;

classtSEED_ECB

inherits from tBlockCipher

constructor Create(const aKey; aCount: Integer; aSetIV : Boolean = False; aRefCounted : Boolean = False); override; constructor CreateClone(aCipher: tCipher); override; class function BlockSize: Integer; override;
Returns the value of cSeedBlockSize.
class function Mode: tCipherMode; override;
Returns cmECB, see tCipherMode.
class function Algorithm: tCipherAlg; override;
Returns caSEED, see tCipherAlg.
class function AlgorithmName: string; override;
Always returns the string 'SEED'.
class function BlockVectorSize: Integer; override;
Always returns 0.
class function MaxKeySize: Integer; override;
Always returns 16.
class function MinKeySize: Integer; override;
Always returns 16.
class function OID(aKeySize: Integer): ObjectIdentifier; override; procedure SetUp(const aKey; aCount: Integer); override;

classtSEED_CFB

inherits from tSEED_ECB

constructor Create(const aKey; aCount : Integer; aSetIV : Boolean = False; aRefCounted: Boolean = False); override; class function Mode: tCipherMode; override;
Returns cmCFB, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.
function Decrypt(var aBuf; var aCount: Integer): Boolean; override; function Encrypt(var aBuf; var aCount: Integer): Boolean; override; property ModeRatio;

classtSEED_OFB

inherits from tSEED_CFB

class function Mode: tCipherMode; override;
Returns cmOFB, see tCipherMode.
function Decrypt(var aBuf; var aCount: Integer): Boolean; override; function Encrypt(var aBuf; var aCount: Integer): Boolean; override;

classtSEED_CBC

inherits from tSEED_ECB

class function Mode: tCipherMode; override;
Returns cmCBC, see tCipherMode.
class function BlockVectorSize: Integer; override;
Always returns 1.

Types (enumerations, sets, aliases)

typepBlock

  pBlock = ^tBlock;

arraytBlock

  tBlock = array [0..3] of UInt32;

typepKey

  pKey = ^tKey;

arraytKey

  tKey = array [0..3] of UInt32;

typepRoundKey

  pRoundKey = ^tRoundKey;

arraytRoundKeys

  tRoundKeys = array [0..cNoRounds-1] of tRoundKey;