.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "EFI_CRC32" "" "06 October 2005" "" "" .SH NAME efi_crc32 \- EFI version of crc32 function .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp u32 efi_crc32 (const void * \fIbuf\fB, unsigned long \fIlen\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbuf\fB\fR buffer to calculate crc32 of \fIlen\fR - length of buf .TP \fB\fIlen\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP Returns EFI-style CRC32 value for \fIbuf\fR .PP This function uses the little endian Ethernet polynomial but seeds the function with ~0, and xor's with ~0 at the end. Note, the EFI Specification, v1.02, has a reference to Dr. Dobbs Journal, May 1994 (actually it's in May 1992).