mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
Vertex Standard 10 Char and 64 Char Encryption Support; #316
Special mode of 0:0 to apply the inversion to the interlevaed frame if present without application of a keystream for analysis; Misc Tweaks to VTX STD ENC Header and VTX TMS message; TG Value loading of VTX 10 char keys available only by #define VERTEX_KEY40_BY_TG which will override the Moto BP loadout;
This commit is contained in:
14
src/dmr_bs.c
14
src/dmr_bs.c
@@ -509,6 +509,13 @@ void dmrBS (dsd_opts * opts, dsd_state * state)
|
||||
csi72_ambe2_codeword_keystream(state, ambe_fr3);
|
||||
}
|
||||
|
||||
if (state->vtx256_ekey != 0)
|
||||
{
|
||||
vtx256_ambe2_interleave_inversion(ambe_fr);
|
||||
vtx256_ambe2_interleave_inversion(ambe_fr2);
|
||||
vtx256_ambe2_interleave_inversion(ambe_fr3);
|
||||
}
|
||||
|
||||
#ifdef PRINT_AMBE72
|
||||
ambe2_codeword_print_i(opts, ambe_fr);
|
||||
ambe2_codeword_print_i(opts, ambe_fr2);
|
||||
@@ -968,6 +975,13 @@ void dmrBSBootstrap (dsd_opts * opts, dsd_state * state)
|
||||
csi72_ambe2_codeword_keystream(state, ambe_fr3);
|
||||
}
|
||||
|
||||
if (state->vtx256_ekey != 0)
|
||||
{
|
||||
vtx256_ambe2_interleave_inversion(ambe_fr);
|
||||
vtx256_ambe2_interleave_inversion(ambe_fr2);
|
||||
vtx256_ambe2_interleave_inversion(ambe_fr3);
|
||||
}
|
||||
|
||||
#ifdef PRINT_AMBE72
|
||||
ambe2_codeword_print_i(opts, ambe_fr);
|
||||
ambe2_codeword_print_i(opts, ambe_fr2);
|
||||
|
||||
Reference in New Issue
Block a user