Lines Matching full:crc
3 * Accelerated CRC32(C) using ARM CRC, NEON and Crypto Extensions instructions
66 u32 *crc = shash_desc_ctx(desc); in crc32_init() local
68 *crc = *mctx; in crc32_init()
75 u32 *crc = shash_desc_ctx(desc); in crc32_update() local
77 *crc = crc32_armv8_le(*crc, data, length); in crc32_update()
84 u32 *crc = shash_desc_ctx(desc); in crc32c_update() local
86 *crc = crc32c_armv8_le(*crc, data, length); in crc32c_update()
92 u32 *crc = shash_desc_ctx(desc); in crc32_final() local
94 put_unaligned_le32(*crc, out); in crc32_final()
100 u32 *crc = shash_desc_ctx(desc); in crc32c_final() local
102 put_unaligned_le32(~*crc, out); in crc32c_final()
109 u32 *crc = shash_desc_ctx(desc); in crc32_pmull_update() local
116 *crc = fallback_crc32(*crc, data, l); in crc32_pmull_update()
126 *crc = crc32_pmull_le(data, l, *crc); in crc32_pmull_update()
135 *crc = fallback_crc32(*crc, data, length); in crc32_pmull_update()
143 u32 *crc = shash_desc_ctx(desc); in crc32c_pmull_update() local
150 *crc = fallback_crc32c(*crc, data, l); in crc32c_pmull_update()
160 *crc = crc32c_pmull_le(data, l, *crc); in crc32c_pmull_update()
169 *crc = fallback_crc32c(*crc, data, length); in crc32c_pmull_update()
244 MODULE_DESCRIPTION("Accelerated CRC32(C) using ARM CRC, NEON and Crypto Extensions");