Plutonium94
Member
Hi everyone! Since I've received many messages asking about the implementation of ADP decryption in OP25 (Boatbod), I decided to post it publicly here. I also received some messages stating that my code didn't work in the latest versions of OP25, therefore it wasn't possible to rebuild the program. This was fixed and it should work correctly now.
So, here is the code. I've only edited three files (one source and two header files).
In order to work, you need to put your ADP key in "p25p1_fdma::adp_keystream_gen()" function (at the end of "p25p1_fdma.cc" file). You just edit "uint8_t adp_key[13] = {0x11, 0x11, 0x11, 0x11, 0x11}" (replace "ones" with your key, obviously in HEX format).
Then, you have to replace the files in their respective directories and rebuild the program. Also, you'll need to edit your launch commands adding "--crypt-behavior 0".
Please let me know if you have any questions.
Have a great day,
Ignacio.
So, here is the code. I've only edited three files (one source and two header files).
In order to work, you need to put your ADP key in "p25p1_fdma::adp_keystream_gen()" function (at the end of "p25p1_fdma.cc" file). You just edit "uint8_t adp_key[13] = {0x11, 0x11, 0x11, 0x11, 0x11}" (replace "ones" with your key, obviously in HEX format).
Then, you have to replace the files in their respective directories and rebuild the program. Also, you'll need to edit your launch commands adding "--crypt-behavior 0".
Please let me know if you have any questions.
Have a great day,
Ignacio.