Efficient implementation of the OSI transport protocol checksum algorithm using 8/16-bit arithmetic

1987; Association for Computing Machinery; Volume: 17; Issue: 3 Linguagem: Inglês

10.1145/36727.36730

ISSN

1943-5819

Autores

Alistair Cockburn,

Tópico(s)

Parallel Computing and Optimization Techniques

Resumo

The checksum algorithm recommended in the OSI transport-protocol specfications is an arithemetic checksum algorithm which makes heavy use of base-255 addition. In this technical note, an efficient implementation of the recommended checksum algorithm is derived, using 8-bit unsigned addition as the base for an inexpensive modulo-255 addition.

Referência(s)