Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Renamed module symbols from DC_* to DACT_MOD_* |
---|---|
Timelines: | family | ancestors | descendants | both | new-driver |
Files: | files | file ages | folders |
SHA1: |
5f198ba93fb31dccfcb009a41c3ed98e |
User & Date: | rkeene 2013-03-11 19:49:37 |
Context
2013-03-11
| ||
20:27 | Corrected typo check-in: a6954b6512 user: rkeene tags: new-driver | |
19:49 | Renamed module symbols from DC_* to DACT_MOD_* check-in: 5f198ba93f user: rkeene tags: new-driver | |
19:21 | Cleanup check-in: a759e2c3a1 user: rkeene tags: new-driver | |
Changes
Changes to cipher_chaos.c.
︙ | ︙ | |||
38 39 40 41 42 43 44 | #include <fcntl.h> #include "ui.h" #include "cipher_chaos.h" #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #include <fcntl.h> #include "ui.h" #include "cipher_chaos.h" #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=0; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_ENC; void *DACT_MOD_ALGO=cipher_chaos; char *DACT_MOD_NAME="chaos (MOD)"; #endif int cipher_chaos(const char *inblock, char *outblock, const int blksize, char *key, const int mode) { switch (mode) { case (DACT_MODE_CINIT+DACT_MODE_CDEC): case (DACT_MODE_CINIT+DACT_MODE_CENC): |
︙ | ︙ |
Changes to cipher_psub.c.
︙ | ︙ | |||
41 42 43 44 45 46 47 | #include <math.h> #include "cipher_psub.h" #include "parse.h" #include "ui.h" #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #include <math.h> #include "cipher_psub.h" #include "parse.h" #include "ui.h" #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=3; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_ENC; void *DACT_MOD_ALGO=cipher_psub; char *DACT_MOD_NAME="psubst (MOD)"; #endif int cipher_psub(const unsigned char *inblock, unsigned char *outblock, const int blksize, unsigned char *key, const int mode) { switch (mode) { case (DACT_MODE_CINIT+DACT_MODE_CDEC): case (DACT_MODE_CINIT+DACT_MODE_CENC): |
︙ | ︙ |
Changes to cipher_serpent.c.
︙ | ︙ | |||
32 33 34 35 36 37 38 | #endif #endif #include "parse.h" #include "ui.h" #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #endif #endif #include "parse.h" #include "ui.h" #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=2; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_ENC; void *DACT_MOD_ALGO=cipher_serpent; char *DACT_MOD_NAME="serpent (MOD)"; #endif MCRYPT mcrypt_tdid; int cipher_serpent(const char *inblock, char *outblock, const int blksize, char *key, const int mode) { static unsigned char *IV; |
︙ | ︙ |
Changes to cipher_sub.c.
︙ | ︙ | |||
52 53 54 55 56 57 58 | #include <time.h> #endif #endif #endif #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | #include <time.h> #endif #endif #endif #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=1; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_ENC; void *DACT_MOD_ALGO=cipher_sub; char *DACT_MOD_NAME="subst (MOD)"; #endif int cipher_sub(const unsigned char *inblock, unsigned char *outblock, const int blksize, unsigned char *key, const int mode) { switch (mode) { case (DACT_MODE_CINIT+DACT_MODE_CDEC): case (DACT_MODE_CINIT+DACT_MODE_CENC): |
︙ | ︙ |
Changes to comp_bitsums.c.
︙ | ︙ | |||
37 38 39 40 41 42 43 | out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=11; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_bitsums_algo; char *DACT_MOD_NAME="Bitsums Compression (MOD)"; #endif int comp_bitsums_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_bitsums_compress(prev_block, curr_block, out_block, blk_size, bufsize)); |
︙ | ︙ |
Changes to comp_bzlib.c.
︙ | ︙ | |||
44 45 46 47 48 49 50 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=9; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_bzlib_algo; char *DACT_MOD_NAME="Bzip2 Compression (MOD)"; #endif int comp_bzlib_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, unsigned char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_bzlib_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |
Changes to comp_delta.c.
︙ | ︙ | |||
38 39 40 41 42 43 44 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=2; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_delta_algo; char *DACT_MOD_NAME="Delta Compression (MOD)"; #endif int comp_delta_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_delta_compress(prev_block, curr_block, out_block, blk_size, bufsize)); |
︙ | ︙ |
Changes to comp_factor.c.
︙ | ︙ | |||
35 36 37 38 39 40 41 | prev_block - Previous (uncompressed) block. curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | prev_block - Previous (uncompressed) block. curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=10; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_factor_algo; char *DACT_MOD_NAME="Factor Compression (MOD)"; #endif int comp_factor_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_factor_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ case DACT_MODE_DECMP: |
︙ | ︙ |
Changes to comp_lzoox.c.
︙ | ︙ | |||
39 40 41 42 43 44 45 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | | | | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=13; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_lzoox_algo; char *DACT_MOD_NAME="LZO-1x Compression (MOD)"; /* char *DACT_MOD_SIGN="RGlnaXRhbFNpZ25hdHVyZQ=="; char *DACT_MOD_URL_GET="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.dll"; char *DACT_MOD_URL_VER="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.ver"; uint32_t DACT_MOD_VER=0x00080d; uint32_t DACT_MOD_REQUIRE=DACT_MOD_REQ_ATLEAST|(0x00080d); */ #endif int comp_lzoox_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_lzoox_compress(prev_block, curr_block, out_block, blk_size, bufsize)); |
︙ | ︙ |
Changes to comp_lzooy.c.
︙ | ︙ | |||
39 40 41 42 43 44 45 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | | | | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=14; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_lzooy_algo; char *DACT_MOD_NAME="LZO-1y Compression (MOD)"; /* char *DACT_MOD_SIGN="RGlnaXRhbFNpZ25hdHVyZQ=="; char *DACT_MOD_URL_GET="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.dll"; char *DACT_MOD_URL_VER="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.ver"; uint32_t DACT_MOD_VER=0x00080d; uint32_t DACT_MOD_REQUIRE=DACT_MOD_REQ_ATLEAST|(0x00080d); */ #endif int comp_lzooy_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_lzooy_compress(prev_block, curr_block, out_block, blk_size, bufsize)); |
︙ | ︙ |
Changes to comp_lzota.c.
︙ | ︙ | |||
39 40 41 42 43 44 45 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | | | | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=15; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_lzota_algo; char *DACT_MOD_NAME="LZO-2a Compression (MOD)"; /* char *DACT_MOD_SIGN="RGlnaXRhbFNpZ25hdHVyZQ=="; char *DACT_MOD_URL_GET="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.dll"; char *DACT_MOD_URL_VER="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.ver"; uint32_t DACT_MOD_VER=0x00080d; uint32_t DACT_MOD_REQUIRE=DACT_MOD_REQ_ATLEAST|(0x00080d); */ #endif int comp_lzota_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_lzota_compress(prev_block, curr_block, out_block, blk_size, bufsize)); |
︙ | ︙ |
Changes to comp_mzlib.c.
︙ | ︙ | |||
44 45 46 47 48 49 50 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=5; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_mzlib_algo; char *DACT_MOD_NAME="Modifed Zlib Compression (MOD)"; #endif int comp_mzlib_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, unsigned char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_mzlib_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |
Changes to comp_mzlib2.c.
︙ | ︙ | |||
54 55 56 57 58 59 60 | prev_block - Previous (uncompressed) block. curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | prev_block - Previous (uncompressed) block. curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=8; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_mzlib2_algo; char *DACT_MOD_NAME="Second Modified Zlib Compression (MOD)"; #endif #ifdef DEBUG #if DEBUG>=2 #define MAKE_MZLIB2 1 #endif #endif |
︙ | ︙ |
Changes to comp_rle.c.
︙ | ︙ | |||
36 37 38 39 40 41 42 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | | | | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=1; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_rle_algo; char *DACT_MOD_NAME="RLE Compression (MOD)"; char *DACT_MOD_SIGN="RGlnaXRhbFNpZ25hdHVyZQ=="; char *DACT_MOD_URL_GET="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.dll"; char *DACT_MOD_URL_VER="http://www.rkeene.org/projects/compression/dact/@@OSNM@@-@@ARCH@@/comp_rle.ver"; uint32_t DACT_MOD_VER=0x00080d; uint32_t DACT_MOD_REQUIRE=DACT_MOD_REQ_ATLEAST|(0x00080d); #endif int comp_rle_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_rle_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |
Changes to comp_snibble.c.
︙ | ︙ | |||
50 51 52 53 54 55 56 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=6; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_snibble_algo; char *DACT_MOD_NAME="Seminibble Encoding (MOD)"; #endif int comp_snibble_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_snibble_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |
Changes to comp_text.c.
︙ | ︙ | |||
40 41 42 43 44 45 46 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=3; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_text_algo; char *DACT_MOD_NAME="Text Compression (MOD)"; #endif int comp_text_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_text_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |
Changes to comp_textrle.c.
︙ | ︙ | |||
36 37 38 39 40 41 42 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" | | | | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(AS_MODULE) && defined(USE_MODULES) #include "module.h" uint32_t DACT_MOD_NUM=12; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_textrle_algo; char *DACT_MOD_NAME="Text RLE Compression (MOD)"; #endif int comp_textrle_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_textrle_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |
Changes to comp_zlib.c.
︙ | ︙ | |||
51 52 53 54 55 56 57 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" | | | | | | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | curr_block - The data to be compressed. out_block - Where to put data after compression. blk_size - Size of prev_block and curr_block. */ #if defined(USE_MODULES) && defined(AS_MODULE) #include "module.h" uint32_t DACT_MOD_NUM=4; uint32_t DACCT_MOD_TYPE=DACT_MOD_TYPE_COMP; void *DACT_MOD_ALGO=comp_zlib_algo; char *DACT_MOD_NAME="Zlib Compression (MOD)"; #endif int comp_zlib_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, unsigned char *out_block, int blk_size, int bufsize) { switch(mode) { case DACT_MODE_COMPR: return(comp_zlib_compress(prev_block, curr_block, out_block, blk_size, bufsize)); break; /* Heh */ |
︙ | ︙ |