Function gnunet_sys::GNUNET_CRYPTO_crc16_n[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_crc16_n(
    buf: *const c_void,
    len: usize
) -> u16

@ingroup hash Calculate the checksum of a buffer in one step.

@param buf buffer to calculate CRC over (must be 16-bit aligned) @param len number of bytes in @a buf, must be multiple of 2 @return crc16 value