Log Message: Fully ANSIfy and use size_t and uint32_t in places where u_int was used before. This fixes the build on QNX, where u_int is not exposed by the current set of headers. Make the prototypes of the crypto functions consistent.