mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-12 18:25:07 +08:00
cppcheck
This commit is contained in:
parent
fb0eb35710
commit
88237e60c1
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue