versadac  1
versadac - Scalable Recorder Firmware
Public Member Functions | List of all members
CDeviceIDMSymmetricEncryption Class Reference

Public Member Functions

virtual void Initialise (const DeviceIDMSymmetricEncryption_KDF_ParameterData_Record_Type *pTable, const char *pszKDF_Salt, const char *pszKDF_FixedSourceKey, const bool UseIV)
 
void InitialiseDeviceDataInformation (void)
 
void InitialiseNounce (unsigned long Seed)
 
void IncrementNounce ()
 
unsigned long GetNounce ()
 
virtual void ParameterHasBeenUpdatedFromDevice (unsigned long CISP)
 
virtual bool HaveAllParametersRequiredForKDFBeenUpdated (void)
 
virtual bool IsThisParameterRequiredForKDF (unsigned long CISP)
 
bool GetDeviceData (unsigned char *pDeviceDataBuffer, unsigned int DeviceDataBufferLength)
 
bool GenerateKey (unsigned char *pKeyBuffer, unsigned int KeyBufferLength, bool IncludeNonce=true)
 
int GetTotalNumberOfParameters (void)
 
bool GenerateIV (char *pIVData)
 
bool Encrypt (const unsigned char *DataIn, const int DataInLength, unsigned char *pCipherDataBuffer, unsigned int CipherDataBufferLength, unsigned int *pCipherDataLength=NULL)
 
bool Decrypt (const unsigned char *CipherDataIn, const int CipherDataInLength, unsigned char *pDataOutBuffer, unsigned int DataOutBuffertLength)
 
bool Encrypt (const unsigned char *DataIn, const int DataInLength, const unsigned char *KeyIn, const int KeyInLength, unsigned char *pCipherDataBuffer, unsigned int CipherDataBufferLength, unsigned int *pCipherDataLength=NULL)
 
bool Decrypt (const unsigned char *CipherDataIn, const int CipherDataInLength, const unsigned char *KeyIn, const int KeyInLength, unsigned char *pDataOutBuffer, unsigned int DataOutBuffertLength)
 

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