on prototypes, void means sth

This commit is contained in:
Philippe Teuwen
2019-04-09 22:42:23 +02:00
parent 9c74a96c9b
commit 28ca3e8c22
16 changed files with 24 additions and 24 deletions

View File

@@ -44,7 +44,7 @@ void doMAC(uint8_t *cc_nr_p, uint8_t *div_key_p, uint8_t mac[4]);
void doMAC_N(uint8_t *address_data_p, uint8_t address_data_size, uint8_t *div_key_p, uint8_t mac[4]);
#ifndef ON_DEVICE
int testMAC();
int testMAC(void);
#endif
#endif // CIPHER_H

View File

@@ -60,7 +60,7 @@ void pushBit(BitstreamOut *stream, bool bit);
int bitsLeft(BitstreamIn *stream);
#ifndef ON_DEVICE
int testCipherUtils(void);
int testMAC();
int testMAC(void);
#endif
void push6bits(BitstreamOut *stream, uint8_t bits);
void EncryptDES(bool key[56], bool outBlk[64], bool inBlk[64], int verbose) ;

View File

@@ -124,7 +124,7 @@ int calculateMasterKey(uint8_t first16bytes[], uint64_t master_key[]);
* @brief Test function
* @return
*/
int testElite();
int testElite(void);
/**
Here are some pretty optimal values that can be used to recover necessary data in only

View File

@@ -1,5 +1,5 @@
#ifndef HASH1_BRUTE_H
#define HASH1_BRUTE_H
void brute_hash1();
void brute_hash1(void);
#endif // HASH1_BRUTE_H