ACSMDownloader/include/rmsdk/aescrypt.h
2021-05-13 09:39:51 +02:00

51 lines
1.3 KiB
C++

/*
File automatically generated by SOAdvancedDissector.py
More information at http://indefero.soutade.fr/p/soadvanceddissector
*/
#ifndef _AESCRYPT_H
#define _AESCRYPT_H
namespace aescrypt {
class AESCryptFactory;
class AESCryptor;
class iAESCryptImpl;
class AESCryptFactory
{
public:
void CreateAESCryptor(unsigned char const*, unsigned int, unsigned char const*, unsigned int, bool);
void DestroyAESCryptor(aescrypt::AESCryptor*);
};
class AESCryptor
{
public:
virtual void GetRequiredLengthForEncryption(unsigned int) = 0;
virtual void Decrypt(unsigned char const*, unsigned int, unsigned char*, unsigned int, aescrypt::DecryptMode) = 0;
virtual void Finish(unsigned char*, unsigned int) = 0;
virtual void Encrypt(unsigned char const*, unsigned int, unsigned char*, unsigned int) = 0;
};
class iAESCryptImpl: public aescrypt::AESCryptor
{
public:
virtual void GetRequiredLengthForEncryption(unsigned int);
virtual void Decrypt(unsigned char const*, unsigned int, unsigned char*, unsigned int, aescrypt::DecryptMode);
virtual void Finish(unsigned char*, unsigned int);
virtual void Encrypt(unsigned char const*, unsigned int, unsigned char*, unsigned int);
void* iAESCryptImpl;
};
}
#endif // _AESCRYPT_H