🚧 Add decryption functions

This commit is contained in:
C-3PO 2018-07-24 18:10:07 +02:00
parent 7019271bfe
commit 866f6afd5a
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
7 changed files with 119 additions and 4 deletions

View file

@ -0,0 +1,9 @@
#pragma once
#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);