aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crc-t10dif.c
Commit message (Collapse)AuthorAgeFilesLines
* [SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRCMartin K. Petersen2008-07-121-0/+67
The SCSI Block Protocol uses this 16-bit CRC to verify the integrity of each data sector. crc_t10dif() is used by sd_dif.c when performing I/O to or from disks formatted with protection information. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>