Loading...
Searching...
No Matches
crc64.h File Reference

CRC-64 utility functions. More...

Functions

uint64_t spdk_crc64_nvme (const void *buf, size_t len, uint64_t crc)
 Calculate a CRC-64 checksum (Rocksoft), for NVMe Protection Information.
 

Detailed Description

CRC-64 utility functions.

Function Documentation

◆ spdk_crc64_nvme()

uint64_t spdk_crc64_nvme ( const void * buf,
size_t len,
uint64_t crc )

Calculate a CRC-64 checksum (Rocksoft), for NVMe Protection Information.

Parameters
bufData buffer to checksum.
lenLength of buf in bytes.
crcPrevious CRC-64 value.
Returns
Updated CRC-64 value.