unleashed-firmware/applications/main/nfc/helpers/mfkey32_logger.h
gornekich d92b0a82cc
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.

Starring:

- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer

Supporting roles:

- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance

Special thanks:

@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 12:08:09 +09:00

26 lines
596 B
C

#pragma once
#include <nfc/protocols/mf_classic/mf_classic.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Mfkey32Logger Mfkey32Logger;
Mfkey32Logger* mfkey32_logger_alloc(uint32_t cuid);
void mfkey32_logger_free(Mfkey32Logger* instance);
void mfkey32_logger_add_nonce(Mfkey32Logger* instance, MfClassicAuthContext* auth_context);
size_t mfkey32_logger_get_params_num(Mfkey32Logger* instance);
bool mfkey32_logger_save_params(Mfkey32Logger* instance, const char* path);
void mfkey32_logger_get_params_data(Mfkey32Logger* instance, FuriString* str);
#ifdef __cplusplus
}
#endif