mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 05:48:33 +00:00
* Api Symbols: replace asserts with checks * Api Symbols: replace asserts with checks part 2 * Update no args function signatures with void, to help compiler to track incorrect usage * More unavoidable void * Update PVS config and code to make it happy * Format sources * nfc: fix checks * dead code cleanup & include fixes Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
29 lines
584 B
C
29 lines
584 B
C
#pragma once
|
|
|
|
#include <toolbox/bit_buffer.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct Iso14443_4Layer Iso14443_4Layer;
|
|
|
|
Iso14443_4Layer* iso14443_4_layer_alloc(void);
|
|
|
|
void iso14443_4_layer_free(Iso14443_4Layer* instance);
|
|
|
|
void iso14443_4_layer_reset(Iso14443_4Layer* instance);
|
|
|
|
void iso14443_4_layer_encode_block(
|
|
Iso14443_4Layer* instance,
|
|
const BitBuffer* input_data,
|
|
BitBuffer* block_data);
|
|
|
|
bool iso14443_4_layer_decode_block(
|
|
Iso14443_4Layer* instance,
|
|
BitBuffer* output_data,
|
|
const BitBuffer* block_data);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|