Searched refs:crcp (Results 1 – 5 of 5) sorted by relevance
/arch/x86/crypto/ |
D | crc32c-intel_glue.c | 105 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_init() local 107 *crcp = *mctx; in crc32c_intel_init() 115 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_update() local 117 *crcp = crc32c_intel_le_hw(*crcp, data, len); in crc32c_intel_update() 121 static int __crc32c_intel_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32c_intel_finup() argument 124 *(__le32 *)out = ~cpu_to_le32(crc32c_intel_le_hw(*crcp, data, len)); in __crc32c_intel_finup() 136 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_final() local 138 *(__le32 *)out = ~cpu_to_le32p(crcp); in crc32c_intel_final() 162 u32 *crcp = shash_desc_ctx(desc); in crc32c_pcl_intel_update() local 170 *crcp = crc_pcl(data, len, *crcp); in crc32c_pcl_intel_update() [all …]
|
D | crc32-pclmul_glue.c | 108 u32 *crcp = shash_desc_ctx(desc); in crc32_pclmul_init() local 110 *crcp = *mctx; in crc32_pclmul_init() 118 u32 *crcp = shash_desc_ctx(desc); in crc32_pclmul_update() local 120 *crcp = crc32_pclmul_le(*crcp, data, len); in crc32_pclmul_update() 125 static int __crc32_pclmul_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32_pclmul_finup() argument 128 *(__le32 *)out = cpu_to_le32(crc32_pclmul_le(*crcp, data, len)); in __crc32_pclmul_finup() 140 u32 *crcp = shash_desc_ctx(desc); in crc32_pclmul_final() local 142 *(__le32 *)out = cpu_to_le32p(crcp); in crc32_pclmul_final()
|
/arch/sparc/crypto/ |
D | crc32c_glue.c | 47 u32 *crcp = shash_desc_ctx(desc); in crc32c_sparc64_init() local 49 *crcp = *mctx; in crc32c_sparc64_init() 54 extern void crc32c_sparc64(u32 *crcp, const u64 *data, unsigned int len); 56 static void crc32c_compute(u32 *crcp, const u64 *data, unsigned int len) in crc32c_compute() argument 62 crc32c_sparc64(crcp, data, asm_len); in crc32c_compute() 67 *crcp = __crc32c_le(*crcp, (const unsigned char *) data, len); in crc32c_compute() 73 u32 *crcp = shash_desc_ctx(desc); in crc32c_sparc64_update() local 75 crc32c_compute(crcp, (const u64 *) data, len); in crc32c_sparc64_update() 80 static int __crc32c_sparc64_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32c_sparc64_finup() argument 83 u32 tmp = *crcp; in __crc32c_sparc64_finup() [all …]
|
/arch/powerpc/crypto/ |
D | crc32c-vpmsum_glue.c | 87 u32 *crcp = shash_desc_ctx(desc); in crc32c_vpmsum_init() local 89 *crcp = *mctx; in crc32c_vpmsum_init() 97 u32 *crcp = shash_desc_ctx(desc); in crc32c_vpmsum_update() local 99 *crcp = crc32c_vpmsum(*crcp, data, len); in crc32c_vpmsum_update() 104 static int __crc32c_vpmsum_finup(u32 *crcp, const u8 *data, unsigned int len, in __crc32c_vpmsum_finup() argument 107 *(__le32 *)out = ~cpu_to_le32(crc32c_vpmsum(*crcp, data, len)); in __crc32c_vpmsum_finup() 120 u32 *crcp = shash_desc_ctx(desc); in crc32c_vpmsum_final() local 122 *(__le32 *)out = ~cpu_to_le32p(crcp); in crc32c_vpmsum_final()
|
D | crct10dif-vpmsum_glue.c | 85 u16 *crcp = shash_desc_ctx(desc); in crct10dif_vpmsum_final() local 87 *(u16 *)out = *crcp; in crct10dif_vpmsum_final()
|