mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 00:11:37 -06:00
15.05
This commit is contained in:
committed by
Kornel Lesiński
parent
0713a3ab80
commit
54490d51d5
@@ -6,14 +6,7 @@
|
||||
|
||||
#include "MyAes.h"
|
||||
|
||||
static void *CreateCodecCbc() { return (void *)(ICompressFilter *)(new NCrypto::CAesCbcDecoder(32)); }
|
||||
#ifndef EXTRACT_ONLY
|
||||
static void *CreateCodecCbcOut() { return (void *)(ICompressFilter *)(new NCrypto::CAesCbcEncoder(32)); }
|
||||
#else
|
||||
#define CreateCodecCbcOut 0
|
||||
#endif
|
||||
|
||||
static CCodecInfo g_CodecInfo =
|
||||
{ CreateCodecCbc, CreateCodecCbcOut, 0x06F00181, L"AES256CBC", 1, true };
|
||||
REGISTER_CODEC(AES256CBC)
|
||||
|
||||
REGISTER_FILTER_E(AES256CBC,
|
||||
NCrypto::CAesCbcDecoder(32),
|
||||
NCrypto::CAesCbcEncoder(32),
|
||||
0x6F00181, "AES256CBC")
|
||||
Reference in New Issue
Block a user