SHA1 HMAC is a keyed 160bit CRC anyway. Use that

crc16
Simon 4 years ago
parent 0230c39f9a
commit 0039e513ee
No known key found for this signature in database
GPG Key ID: 6ACF11630B5D8F82

@ -245,7 +245,7 @@ class OPENBRIDGE(DatagramProtocol):
return
# Userland actions -- typically this is the function you subclass for an application
self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data,_hash)
#Silently treat a DMRD packet like a keepalive - this is because it's traffic and the
#Other end may not have enabled ENAHNCED_OBP
self._config['_bcka'] = time()

Loading…
Cancel
Save

Powered by TurnKey Linux.