next up previous contents
Next: About this document ... Up: Kerberos V5 Implementer's Guide Previous: Other data elements   Contents

CRC-32 checksum functions

The libcrc32.a library provides an implementation of the CRC-32 checksum algorithm which conforms to the interface required by the Kerberos library.


\begin{funcdecl}{crc32_sum_func}{static krb5_error_code}{\funcin}
\funcarg{krb5_...
...size_t}{seed_length}
\funcout
\funcarg{krb5_checksum *}{outcksum}
\end{funcdecl}

This routine computes a CRC-32 checksum over in_length bytes at in, and places the resulting value into outcksumcontents. seed is ignored.

outcksumcontents must be set by the caller to point to at least 4 bytes of storage.

\begin{center}\vbox{\input{implement.ind}
}\end{center}


Autobuild 2006-06-16