Parse command line arguments

This commit is contained in:
C-3PO 2018-07-24 19:56:21 +02:00
parent 1638e9047d
commit 476266863f
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
3 changed files with 64 additions and 24 deletions

View file

@ -1,6 +1,6 @@
#include "decryptUtilities.h"
static uint32_t crc32_tab[] = {
const uint32_t crc32_tab[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,
0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2,

View file

@ -2,8 +2,6 @@
#include <stdint.h>
uint32_t getCrc(uint32_t old_crc, unsigned char c);
void updateKeys(uint32_t *key_0, uint32_t *key_1, uint32_t *key_2, unsigned char c);
unsigned char decryptByte(unsigned short keyPart);