starting offset for ARC4 is 0;

pull/86/head
Bryan Biedenkapp 11 months ago
parent e533ac495f
commit ff3733ffef

@ -222,7 +222,7 @@ void P25Crypto::cryptARC4_IMBE(uint8_t* imbe, DUID::E duid)
if (m_keystream == nullptr) if (m_keystream == nullptr)
return; return;
uint32_t offset = 256U; uint32_t offset = 0U;
if (duid == DUID::LDU2) { if (duid == DUID::LDU2) {
offset += 101U; offset += 101U;
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.