9 #ifndef _CRYPTO_STREAMS_LIB_CRYPTOPROVIDER_H_
10 #define _CRYPTO_STREAMS_LIB_CRYPTOPROVIDER_H_
15 #include "CryptoAPIExport.h"
23 CIPHER_MODE_CBC512NOPADDING
29 virtual void Encrypt(
const uint8_t *pbIn,
31 uint32_t dwStartingBlockNumber,
35 uint32_t *pcbOut) = 0;
36 virtual void Decrypt(
const uint8_t *pbIn,
38 uint32_t dwStartingBlockNumber,
42 uint32_t *pcbOut) = 0;
45 virtual uint64_t GetCipherTextSize(uint64_t clearTextSize)
48 virtual uint32_t GetBlockSize() = 0;
49 virtual std::vector<uint8_t>GetKey() = 0;
53 #endif // _CRYPTO_STREAMS_LIB_CRYPTOPROVIDER_H_
Definition: BlockBasedProtectedStream.cpp:13
Definition: ICryptoProvider.h:26