Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.DSI.Arith

Classes, interfaces and records

classeDSIException

inherits from eDSIError

The arithmetic-core branch of the DSI exception hierarchy. Re-parented on eDSIError (StreamSec.DSI.ArithTypes) so that a single handler catches the whole StreamSec.DSI.* layer; existing handlers for eDSIException and its descendants are unaffected.

(no public members)

classeDSIPool

inherits from eDSIException

(no public members)

classeDSInteger

inherits from eDSIException

(no public members)

classeDSIRandom

inherits from eDSIException

(no public members)

classeDSIConversion

inherits from eDSInteger

Raised by the base-conversion primitives when the requested output does not fit, or when the supplied digit alphabet cannot represent the base.

(no public members)

classtDSIRandom

inherits from TObject

implements IInterface, iRawRandom, iRawRandomEx, iDSIRandomEx

constructor Create(aSecondary: Boolean); procedure ForceReseed(const Value; Count: Cardinal); procedure SetSeedBuf(const Value; Count: Cardinal); function GetSeed: iSecretKey;
Returns the Seed value, obtained via fRawRandom.
function NewSeed: iSecretKey;
Returns the NewSeed value, obtained via fRawRandom.
procedure RawRandom(var X; MaxBitSize: Cardinal); overload; procedure RawRandom(var X: tBytes); overload; procedure RawRandom(var X: tBytes; ByteOffset, MaxBitSize: Cardinal); overload; procedure SetSeed(const Value: iSecretKey); procedure DSIRawRandom(var aX : iDSInteger; aMaxBitSize: UInt32; aLocal : Boolean); procedure DSIRandom(var aX : iDSInteger; aHighBit: UInt32; aLocal : Boolean); procedure DSIRandomBound(var aX : iDSInteger; const aXMin, aXUBound: iDSInteger; aLocal : Boolean = False); function GetSecurityStrength: Cardinal;
Returns the GetSecurityStrength value, obtained via fRawRandom.

classtAbstractPrimeGenerator

inherits from TInterfacedObject

(no public members)

classtStandardPrimeGenerator

inherits from tAbstractPrimeGenerator

implements iPrimeGenerator, iStandardPrimeGenerator

(no public members)

classtSubGroupPrimeGenerator

inherits from tAbstractPrimeGenerator

implements iPrimeGenerator, iSubGroupPrimeGenerator

constructor Create(aPMin, aPUBound, ac, aq: iDSInteger; al: Cardinal);

classtAbstractNISTPrimeGenerator

inherits from tAbstractPrimeGenerator

(no public members)

classtAbstractNISTPrimeGeneratorRSA

inherits from tAbstractNISTPrimeGenerator

(no public members)

classtNISTProbablePrimeGeneratorRSASign

inherits from tAbstractNISTPrimeGeneratorRSA

implements iPrimeGenerator, iNISTProbablePrimeGeneratorRSA

NIST FIPS 186-3 (digital signature key pair), n size 2048, 3072 (prime size 1024, 1536)

(no public members)

classtNISTProbablePrimeGeneratorRSAKeyTrans

inherits from tNISTProbablePrimeGeneratorRSASign

NIST SP 800-56B (key transport key pair), n size 1024, 2048, 3072

(no public members)

classtNISTProvablePrimeGeneratorRSA

inherits from tNISTProbablePrimeGeneratorRSASign

implements iPrimeGenerator, iNISTProvablePrimeGeneratorRSA

(no public members)

classtNISTProvablePrimeGeneratorDSS

inherits from tAbstractNISTPrimeGenerator

implements iPrimeGenerator, iNISTProvablePrimeGeneratorDSS

(no public members)

recordtDSIHeader

fVMT : pDSIntegerVMT; fRefCount: Int32; fFlags : UInt32;

recordtDSInteger

fHeader: tDSIHeader; fSize : UInt32; fSign : Int32; fData : tDSIntegerData;

Types (enumerations, sets, aliases)

typepDSIHeader

  pDSIHeader = ^tDSIHeader;

typepDSInteger

  pDSInteger = ^tDSInteger;

Routines