Kirisun Advanced and Universal Encryption Support; #319

Above Commit is by Anonymous Submission;

Add Example Usage of -S for Baofeng DM32 Custom / Basic Encryption Mode;
This commit is contained in:
lwvmobile
2025-10-30 02:32:30 -04:00
parent 0060378321
commit 095d982b62
8 changed files with 475 additions and 19 deletions

View File

@@ -1112,21 +1112,21 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
if (state->payload_algid == 0x36)
{
attron(COLOR_PAIR(1));
printw("Kirisun Advanced");
printw("Kirisun Advanced ");
if (state->aes_key_loaded[0] != 0) { printw("KS: %016llX ", state->A4[0]); }
attron(COLOR_PAIR(3));
}
if (state->payload_algid == 0x37)
{
attron(COLOR_PAIR(1));
printw("Kirisun Universal");
printw("Kirisun Universal ");
if (state->aes_key_loaded[0] != 0) { printw("KS: %016llX ", state->A4[0]); }
attron(COLOR_PAIR(3));
}
if (state->payload_algid == 0x35)
{
attron(COLOR_PAIR(1));
printw("Kirisun Encryption"); //0x35 is a placeholder if gained through late-entry method and alg is not known
printw("Kirisun Encryption "); //0x35 is a placeholder if gained through late-entry method and alg is not known
attron(COLOR_PAIR(3));
}
@@ -1307,21 +1307,21 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
if (state->payload_algidR == 0x36)
{
attron(COLOR_PAIR(1));
printw("Kirisun Advanced");
printw("Kirisun Advanced ");
if (state->aes_key_loaded[1] != 0) { printw("KS: %016llX ", state->A4[1]); }
attron(COLOR_PAIR(3));
}
if (state->payload_algidR == 0x37)
{
attron(COLOR_PAIR(1));
printw("Kirisun Universal");
printw("Kirisun Universal ");
if (state->aes_key_loaded[1] != 0) { printw("KS: %016llX ", state->A4[1]); }
attron(COLOR_PAIR(3));
}
if (state->payload_algidR == 0x35)
{
attron(COLOR_PAIR(1));
printw("Kirisun Encryption"); //0x35 is a placeholder if gained through late-entry method and alg is not known
printw("Kirisun Encryption "); //0x35 is a placeholder if gained through late-entry method and alg is not known
attron(COLOR_PAIR(3));
}