make sure all .c include their own .h
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
// Fonts for the LCD
|
// Fonts for the LCD
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#include "fonts.h"
|
||||||
|
|
||||||
const char FONT6x8[97][8] = {
|
const char FONT6x8[97][8] = {
|
||||||
{0x06, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00}, // columns, rows, bytes per char
|
{0x06, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00}, // columns, rows, bytes per char
|
||||||
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // space
|
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // space
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#include "hfsnoop.h"
|
||||||
#include "proxmark3_arm.h"
|
#include "proxmark3_arm.h"
|
||||||
#include "BigBuf.h"
|
#include "BigBuf.h"
|
||||||
#include "fpgaloader.h"
|
#include "fpgaloader.h"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// LEGIC RF simulation code
|
// LEGIC RF simulation code
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#include "legicrfsim.h"
|
||||||
#include "legicrf.h"
|
#include "legicrf.h"
|
||||||
|
|
||||||
#include "crc.h" /* legic crc-4 */
|
#include "crc.h" /* legic crc-4 */
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#include "hash1_brute.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "cipherutils.h"
|
#include "cipherutils.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -54,7 +55,7 @@ static void calc_score(uint8_t *csn, uint8_t *k) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void brute_hash1(void) {
|
void brute_hash1(void) {
|
||||||
uint16_t a, b, c, d;
|
uint16_t a, b, c, d;
|
||||||
uint8_t csn[8] = {0, 0, 0, 0, 0xf7, 0xff, 0x12, 0xe0};
|
uint8_t csn[8] = {0, 0, 0, 0, 0xf7, 0xff, 0x12, 0xe0};
|
||||||
uint8_t k[8] = {0, 0, 0, 0, 0, 0, 0, 0};
|
uint8_t k[8] = {0, 0, 0, 0, 0, 0, 0, 0};
|
||||||
|
|||||||
Reference in New Issue
Block a user