Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 962 Bytes

crc32_aal5.md

File metadata and controls

34 lines (17 loc) · 962 Bytes

Verification of GPON OMCI communications relies on the implementation of the CRC32 algorithm found in the ITU-T I363.5 ATM Adaptation Layer : Type 5 AAL specification. The same algorithm is used for bzip2 file compression.


Example of calculating CRC32 using online calculator

https://crccalc.com/

00 00 10 0A 00 0B 04 01 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 28

crc32aal5


Example of calculating CRC32 using python libscrc

https://github.com/hex-in/libscrc

>>>  import libscrc
>>>  hex(libscrc.aal5(b'\x00\x00\x10\x0A\x00\x0B\x04\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x28'))
'0x651ad04f