33 bool _debug_data =
false;
34 bool _debug_ctrl =
false;
35 float _threshold = 0.9;
36 bool _callsign =
false;
37 bool _signed_str =
false;
39 uint8_t _key[64] = { 0 };
43 uint8_t _digest[16] = { 0 };
44 uint8_t _sig[64] = { 0 };
45 uint32_t _scrambler_key = 0;
54 int8_t _aes_subtype = -1;
57 float last[8] = { 0 };
61 uint16_t _expected_next_fn;
65 uint16_t lich_chunk[96];
68 uint8_t lich_chunks_rcvd = 0;
70 uint16_t enc_data[272];
71 uint8_t _frame_data[19];
72 uint8_t digest[16] = { 0 };
78 uint8_t d_dst[12], d_src[12];
82 uint8_t _scr_bytes[16];
83 uint8_t _scrambler_pn[128];
84 uint32_t _scrambler_seed = 0;
85 int8_t _scrambler_subtype = -1;
91 bool callsign,
bool signed_str,
int encr_type,
92 std::string key, std::string seed);
94 void set_debug_data (
bool debug);
97 void set_debug_ctrl (
bool debug);
102 void parse_raw_key_string (uint8_t * dest,
const char *inp);
109 gr_vector_int & ninput_items_required);
112 gr_vector_int & ninput_items,
113 gr_vector_const_void_star & input_items,
114 gr_vector_void_star & output_items);
m17_decoder_impl(bool debug_data, bool debug_ctrl, float threshold, bool callsign, bool signed_str, int encr_type, std::string key, std::string seed)