![]() |
ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include "quazip_global.h"
Include dependency graph for crypt.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) |
| #define | zdecode(pkeys, pcrc_32_tab, c) (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) |
| #define | zencode(pkeys, pcrc_32_tab, c, t) (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c)) |
Functions | |
| static int | decrypt_byte (unsigned long *pkeys, const z_crc_t FAR *pcrc_32_tab) |
| static int | update_keys (unsigned long *pkeys, const z_crc_t FAR *pcrc_32_tab, int c) |
| static void | init_keys (const char *passwd, unsigned long *pkeys, const z_crc_t FAR *pcrc_32_tab) |
| #define CRC32 | ( | c, | |
| b | |||
| ) | ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) |
Definition at line 32 of file crypt.h.
Referenced by update_keys().
| #define zdecode | ( | pkeys, | |
| pcrc_32_tab, | |||
| c | |||
| ) | (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) |
Definition at line 79 of file crypt.h.
Referenced by unzOpenCurrentFile3(), and unzReadCurrentFile().
| #define zencode | ( | pkeys, | |
| pcrc_32_tab, | |||
| c, | |||
| t | |||
| ) | (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c)) |
Definition at line 82 of file crypt.h.
Referenced by zip64FlushWriteBuffer().
|
static |
|
static |
Definition at line 68 of file crypt.h.
References update_keys().
Referenced by unzOpenCurrentFile3().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 51 of file crypt.h.
References CRC32.
Referenced by init_keys().
Here is the caller graph for this function: