Only complete blocks can be decrypted. Block is always exactly 32 packets. Reset encryption indicator in header while checking sync bytes.