mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 16:07:09 -06:00
9.34
This commit is contained in:
committed by
Kornel Lesiński
parent
83f8ddcc5b
commit
f08f4dcc3c
19
CPP/7zip/Crypto/MyAesReg.cpp
Normal file
19
CPP/7zip/Crypto/MyAesReg.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
// MyAesReg.cpp
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "../Common/RegisterCodec.h"
|
||||
|
||||
#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)
|
||||
|
||||
Reference in New Issue
Block a user