Searched refs:crcp (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | crc32.c | 79 u32 *crcp = shash_desc_ctx(desc); in crc32_init() local 81 *crcp = *mctx; in crc32_init() 89 u32 *crcp = shash_desc_ctx(desc); in crc32_update() local 91 *crcp = __crc32_le(*crcp, data, len); in crc32_update() 96 static int __crc32_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32_finup() argument 99 *(__le32 *)out = cpu_to_le32(__crc32_le(*crcp, data, len)); in __crc32_finup() 111 u32 *crcp = shash_desc_ctx(desc); in crc32_final() local 113 *(__le32 *)out = cpu_to_le32p(crcp); in crc32_final()
|
D | crc32c.c | 106 static int __chksum_finup(u32 *crcp, const u8 *data, unsigned int len, u8 *out) in __chksum_finup() argument 108 *(__le32 *)out = ~cpu_to_le32(__crc32c_le(*crcp, data, len)); in __chksum_finup()
|