cppcheck
This commit is contained in:
@@ -42,7 +42,7 @@ typedef struct {
|
||||
void HIDListFormats();
|
||||
int HIDFindCardFormat(const char *format);
|
||||
cardformat_t HIDGetCardFormat(int idx);
|
||||
bool HIDPack(int FormatIndex, wiegand_card_t *card, wiegand_message_t *packed);
|
||||
bool HIDPack(int format_idx, wiegand_card_t *card, wiegand_message_t *packed);
|
||||
bool HIDTryUnpack(wiegand_message_t *packed, bool ignore_parity);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
struct Crypto1State {uint32_t odd, even;};
|
||||
void crypto1_init(struct Crypto1State *s, uint64_t key);
|
||||
void crypto1_init(struct Crypto1State *state, uint64_t key);
|
||||
void crypto1_deinit(struct Crypto1State *);
|
||||
#if !defined(__arm__) || defined(__linux__) || defined(_WIN32) || defined(__APPLE__) // bare metal ARM Proxmark lacks malloc()/free()
|
||||
struct Crypto1State *crypto1_create(uint64_t key);
|
||||
|
||||
Reference in New Issue
Block a user