Searched refs:crc (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | crct10dif_generic.c | 34 __u16 crc; member 46 ctx->crc = 0; in chksum_init() 56 ctx->crc = crc_t10dif_generic(ctx->crc, data, length); in chksum_update() 64 *(__u16 *)out = ctx->crc; in chksum_final() 68 static int __chksum_finup(__u16 crc, const u8 *data, unsigned int len, u8 *out) in __chksum_finup() argument 70 *(__u16 *)out = crc_t10dif_generic(crc, data, len); in __chksum_finup() 79 return __chksum_finup(ctx->crc, data, len, out); in chksum_finup()
|
D | crct10dif_common.c | 70 __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, size_t len) in crc_t10dif_generic() argument 75 crc = (crc << 8) ^ t10_dif_crc_table[((crc >> 8) ^ buffer[i]) & 0xff]; in crc_t10dif_generic() 77 return crc; in crc_t10dif_generic()
|
D | crc32c_generic.c | 49 u32 crc; member 62 ctx->crc = mctx->key; in chksum_init() 88 ctx->crc = __crc32c_le(ctx->crc, data, length); in chksum_update() 96 put_unaligned_le32(~ctx->crc, out); in chksum_final() 111 return __chksum_finup(&ctx->crc, data, len, out); in chksum_finup()
|
D | Kconfig | 741 a crypto transform. This allows for faster crc t10 diff
|