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... | |

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:

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