mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 18:57:24 -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:
@@ -813,7 +813,7 @@ processMbeFrame (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char a
|
||||
if(state->payload_algid == 0x02)
|
||||
{
|
||||
n = 0;
|
||||
hytera_enhanced_rc4_setup(opts, state, state->R, state->payload_mi);
|
||||
hytera_enhanced_rc4_setup(opts, state, state->R, state->payload_mi, 135);
|
||||
}
|
||||
if (state->payload_algid >= 0x31 && state->payload_algid <= 0x3A)
|
||||
{
|
||||
@@ -1313,7 +1313,7 @@ processMbeFrame (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char a
|
||||
if(state->payload_algidR == 0x02)
|
||||
{
|
||||
n = 0;
|
||||
hytera_enhanced_rc4_setup(opts, state, state->RR, state->payload_miR);
|
||||
hytera_enhanced_rc4_setup(opts, state, state->RR, state->payload_miR, 135);
|
||||
}
|
||||
if (state->payload_algidR >= 0x31 && state->payload_algidR <= 0x3A)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user