KolibriOS kernel
crc.inc File Reference

Functions

void crc_32 (arg_t _poly, arg_t _buffer, arg_t _length)
 This crc32 routine doesn't use precomputed table to allow different polynomials, which is the first param. Partial hash in assumed to be eax (both in and out). Usage: More...
 

Function Documentation

◆ crc_32()

void crc_32 ( arg_t  _poly,
arg_t  _buffer,
arg_t  _length 
)

This crc32 routine doesn't use precomputed table to allow different polynomials, which is the first param. Partial hash in assumed to be eax (both in and out). Usage:

  1. mov eax, -1
  2. stdcall crypto.crc32 zero or more times
  3. xor eax, -1
    Source
    crc.inc:17