MyAes.h (p7zip_15.14.1_src_all) | : | MyAes.h (p7zip_16.02_src_all) | ||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
bool _keyIsSet; | bool _keyIsSet; | |||
bool _encodeMode; | bool _encodeMode; | |||
UInt32 _aes[AES_NUM_IVMRK_WORDS + 3]; | UInt32 _aes[AES_NUM_IVMRK_WORDS + 3]; | |||
Byte _iv[AES_BLOCK_SIZE]; | Byte _iv[AES_BLOCK_SIZE]; | |||
bool SetFunctions(UInt32 algo); | bool SetFunctions(UInt32 algo); | |||
public: | public: | |||
CAesCbcCoder(bool encodeMode, unsigned keySize); | CAesCbcCoder(bool encodeMode, unsigned keySize); | |||
MY_UNKNOWN_IMP2(ICryptoProperties, ICompressSetCoderProperties) | MY_UNKNOWN_IMP3(ICompressFilter, ICryptoProperties, ICompressSetCoderPropertie s) | |||
INTERFACE_ICompressFilter(;) | INTERFACE_ICompressFilter(;) | |||
STDMETHOD(SetKey)(const Byte *data, UInt32 size); | STDMETHOD(SetKey)(const Byte *data, UInt32 size); | |||
STDMETHOD(SetInitVector)(const Byte *data, UInt32 size); | STDMETHOD(SetInitVector)(const Byte *data, UInt32 size); | |||
STDMETHOD(SetCoderProperties)(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps); | STDMETHOD(SetCoderProperties)(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps); | |||
}; | }; | |||
struct CAesCbcEncoder: public CAesCbcCoder | struct CAesCbcEncoder: public CAesCbcCoder | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |