Skip to content

Checksum Algorithm

Jon Daniel edited this page Sep 21, 2024 · 31 revisions

EPD POD1 POD2 POD3 POD4 POD5 POD6 Terminal Reality Home

Checksum algorithm in use for EPD/POD2 and up is CRC-32/MPEG-2 available in crcle

poly    : 0x04C11DB7
ref_in  : false
ref_out : false
xor_in  : 0xFFFFFFFF
xor_out : 0

Checksum ranges

/*    checksum */
POD2 : offset=sizeof(ident)+sizeof(checksum) count=sizeof(file  )-offset
POD3 : offset=sizeof(ident)+sizeof(checksum) count=sizeof(header)-offset=280
POD4 : offset=sizeof(ident)+sizeof(checksum) count=sizeof(header)-offset
POD5 : offset=sizeof(ident)+sizeof(checksum) count=sizeof(header)-offset
EPD  : offset=sizeof(header)                 count=sizeof(file  )-offset
/* no checksum */
POD6 : offset=sizeof(header)                 count=sizeof(file  )-offset
POD1 : offset=sizeof(header)=4+80            count=sizeof(file  )-offset

Clone this wiki locally