This commit is contained in:
iceman1001 2019-12-30 16:41:13 +01:00
parent fb0eb35710
commit 88237e60c1
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);