mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
DMR: Hytera Over the Air Encryption (Signalling Encryption) Support; #373
DMR: Fix Hytera PDU Decryption to operate at Block Level; (Fixes confirmed data); #372 DMR: Hytera Enhanced RC4 allows variable len output for OTA, PDU or Voice; DMR: Fix Segfault in RS12,9 encoder function where freeing static memory caused a crash; Misc Code tweaks to accomodate new features;
This commit is contained in:
@@ -325,9 +325,6 @@ void rs_12_9_encode(uint8_t * input)
|
||||
//init cw
|
||||
memset(cw.data, 0, 12*sizeof(uint8_t));
|
||||
|
||||
//init cs
|
||||
memset(cs->bytes, 0, 3*sizeof(uint8_t));
|
||||
|
||||
//Copy 9 bytes of data input
|
||||
memcpy(cw.data, input, 9);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user