3 #ifndef __CIPHER_MYAES_H
4 #define __CIPHER_MYAES_H
6 #include "Common/Types.h"
7 #include "Common/MyCom.h"
9 #include "../../ICoder.h"
13 #include "../../../../C/Crypto/Aes.h"
19 public ICompressFilter,
20 public ICryptoProperties,
25 MY_UNKNOWN_IMP1(ICryptoProperties)
27 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
28 STDMETHOD(SetKey)(const Byte *data, UInt32 size);
29 STDMETHOD(SetInitVector)(const Byte *data, UInt32 size);
33 public ICompressFilter,
34 public ICryptoProperties,
39 MY_UNKNOWN_IMP1(ICryptoProperties)
41 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
42 STDMETHOD(SetKey)(const Byte *data, UInt32 size);
43 STDMETHOD(SetInitVector)(const Byte *data, UInt32 size);