/arch/powerpc/crypto/ |
D | crct10dif-vpmsum_glue.c | 25 u32 __crct10dif_vpmsum(u32 crc, unsigned char const *p, size_t len); 31 u32 crc = crci; in crct10dif_vpmsum() local 34 return crc_t10dif_generic(crc, p, len); in crct10dif_vpmsum() 38 crc = crc_t10dif_generic(crc, p, prealign); in crct10dif_vpmsum() 44 crc <<= 16; in crct10dif_vpmsum() 48 crc = __crct10dif_vpmsum(crc, p, len & ~VMX_ALIGN_MASK); in crct10dif_vpmsum() 52 crc >>= 16; in crct10dif_vpmsum() 58 crc = crc_t10dif_generic(crc, p, tail); in crct10dif_vpmsum() 61 return crc & 0xffff; in crct10dif_vpmsum() 66 u16 *crc = shash_desc_ctx(desc); in crct10dif_vpmsum_init() local [all …]
|
D | crc32c-vpmsum_glue.c | 21 u32 __crc32c_vpmsum(u32 crc, unsigned char const *p, size_t len); 23 static u32 crc32c_vpmsum(u32 crc, unsigned char const *p, size_t len) in crc32c_vpmsum() argument 29 return __crc32c_le(crc, p, len); in crc32c_vpmsum() 33 crc = __crc32c_le(crc, p, prealign); in crc32c_vpmsum() 42 crc = __crc32c_vpmsum(crc, p, len & ~VMX_ALIGN_MASK); in crc32c_vpmsum() 51 crc = __crc32c_le(crc, p, tail); in crc32c_vpmsum() 54 return crc; in crc32c_vpmsum()
|
D | Makefile | 15 obj-$(CONFIG_CRYPTO_VPMSUM_TESTER) += crc-vpmsum_test.o
|
/arch/arm/crypto/ |
D | crc32-ce-glue.c | 68 u32 *crc = shash_desc_ctx(desc); in crc32_init() local 70 *crc = *mctx; in crc32_init() 77 u32 *crc = shash_desc_ctx(desc); in crc32_update() local 79 *crc = crc32_armv8_le(*crc, data, length); in crc32_update() 86 u32 *crc = shash_desc_ctx(desc); in crc32c_update() local 88 *crc = crc32c_armv8_le(*crc, data, length); in crc32c_update() 94 u32 *crc = shash_desc_ctx(desc); in crc32_final() local 96 put_unaligned_le32(*crc, out); in crc32_final() 102 u32 *crc = shash_desc_ctx(desc); in crc32c_final() local 104 put_unaligned_le32(~*crc, out); in crc32c_final() [all …]
|
D | crct10dif-ce-glue.c | 26 u16 *crc = shash_desc_ctx(desc); in crct10dif_init() local 28 *crc = 0; in crct10dif_init() 35 u16 *crc = shash_desc_ctx(desc); in crct10dif_update() local 39 *crc = crc_t10dif_pmull(*crc, data, length); in crct10dif_update() 42 *crc = crc_t10dif_generic(*crc, data, length); in crct10dif_update() 50 u16 *crc = shash_desc_ctx(desc); in crct10dif_final() local 52 *(u16 *)out = *crc; in crct10dif_final()
|
D | crc32-ce-core.S | 56 .arch_extension crc
|
/arch/arm64/crypto/ |
D | crct10dif-ce-glue.c | 28 u16 *crc = shash_desc_ctx(desc); in crct10dif_init() local 30 *crc = 0; in crct10dif_init() 37 u16 *crc = shash_desc_ctx(desc); in crct10dif_update_pmull_p8() local 41 *crc = crc_t10dif_pmull_p8(*crc, data, length); in crct10dif_update_pmull_p8() 44 *crc = crc_t10dif_generic(*crc, data, length); in crct10dif_update_pmull_p8() 53 u16 *crc = shash_desc_ctx(desc); in crct10dif_update_pmull_p64() local 57 *crc = crc_t10dif_pmull_p64(*crc, data, length); in crct10dif_update_pmull_p64() 60 *crc = crc_t10dif_generic(*crc, data, length); in crct10dif_update_pmull_p64() 68 u16 *crc = shash_desc_ctx(desc); in crct10dif_final() local 70 *(u16 *)out = *crc; in crct10dif_final()
|
/arch/mips/crypto/ |
D | crc32-mips.c | 53 #define _CRC32(crc, value, size, type) \ argument 60 : "+r" (crc) \ 64 #define CRC32(crc, value, size) \ argument 65 _CRC32(crc, value, size, crc32) 67 #define CRC32C(crc, value, size) \ argument 68 _CRC32(crc, value, size, crc32c) 72 u32 crc = crc_; local 78 CRC32(crc, value, d); 89 CRC32(crc, value, w); 97 CRC32(crc, value, h); [all …]
|
/arch/s390/crypto/ |
D | crc32-vx.c | 31 u32 crc; member 35 u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); 36 u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size); 37 u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); 49 static u32 __pure ___fname(u32 crc, \ 56 return ___crc32_sw(crc, data, datalen); \ 62 crc = ___crc32_sw(crc, data, prealign); \ 70 crc = ___crc32_vx(crc, data, aligned); \ 74 crc = ___crc32_sw(crc, data + aligned, remaining); \ 76 return crc; \ [all …]
|
/arch/x86/crypto/ |
D | crct10dif-pclmul_glue.c | 40 __u16 crc; member 47 ctx->crc = 0; in chksum_init() 59 ctx->crc = crc_t10dif_pcl(ctx->crc, data, length); in chksum_update() 62 ctx->crc = crc_t10dif_generic(ctx->crc, data, length); in chksum_update() 70 *(__u16 *)out = ctx->crc; in chksum_final() 74 static int __chksum_finup(__u16 crc, const u8 *data, unsigned int len, u8 *out) in __chksum_finup() argument 78 *(__u16 *)out = crc_t10dif_pcl(crc, data, len); in __chksum_finup() 81 *(__u16 *)out = crc_t10dif_generic(crc, data, len); in __chksum_finup() 90 return __chksum_finup(ctx->crc, data, len, out); in chksum_finup()
|
D | crc32-pclmul_glue.c | 52 crc32_pclmul_le(u32 crc, unsigned char const *p, size_t len) in crc32_pclmul_le() argument 59 return crc32_le(crc, p, len); in crc32_pclmul_le() 65 crc = crc32_le(crc, p, prealign); in crc32_pclmul_le() 74 crc = crc32_pclmul_le_16(p, iquotient, crc); in crc32_pclmul_le() 78 crc = crc32_le(crc, p + iquotient, iremainder); in crc32_pclmul_le() 80 return crc; in crc32_pclmul_le()
|
D | crc32c-intel_glue.c | 48 static u32 crc32c_intel_le_hw_byte(u32 crc, unsigned char const *data, size_t length) in crc32c_intel_le_hw_byte() argument 53 :"=S"(crc) in crc32c_intel_le_hw_byte() 54 :"0"(crc), "c"(*data) in crc32c_intel_le_hw_byte() 59 return crc; in crc32c_intel_le_hw_byte() 62 static u32 __pure crc32c_intel_le_hw(u32 crc, unsigned char const *p, size_t len) in crc32c_intel_le_hw() argument 71 :"=S"(crc) in crc32c_intel_le_hw() 72 :"0"(crc), "c"(*ptmp) in crc32c_intel_le_hw() 78 crc = crc32c_intel_le_hw_byte(crc, (unsigned char *)ptmp, in crc32c_intel_le_hw() 81 return crc; in crc32c_intel_le_hw()
|
D | crct10dif-pcl-asm_64.S | 50 # /white-papers/fast-crc-computation-generic-polynomials-pclmulqdq-paper.pdf
|
/arch/x86/boot/tools/ |
D | build.c | 118 static u32 partial_crc32_one(u8 c, u32 crc) in partial_crc32_one() argument 120 return crctab32[(crc ^ c) & 0xff] ^ (crc >> 8); in partial_crc32_one() 123 static u32 partial_crc32(const u8 *s, int len, u32 crc) in partial_crc32() argument 126 crc = partial_crc32_one(*s++, crc); in partial_crc32() 127 return crc; in partial_crc32() 341 u32 crc = 0xffffffffUL; in main() local 413 crc = partial_crc32(buf, i, crc); in main() 418 crc = partial_crc32(kernel, sz, crc); in main() 424 crc = partial_crc32_one('\0', crc); in main() 430 printf("CRC %x\n", crc); in main() [all …]
|
/arch/mips/lasat/ |
D | lasat_board.c | 84 unsigned long crc; in lasat_init_board_info() local 98 crc = EEPROM_CRC((unsigned char *)(&lasat_board_info.li_eeprom_info), in lasat_init_board_info() 101 if (crc != lasat_board_info.li_eeprom_info.crc32) { in lasat_init_board_info() 254 unsigned long crc; in lasat_write_eeprom_info() local 259 crc = EEPROM_CRC((unsigned char *)(&lasat_board_info.li_eeprom_info), in lasat_write_eeprom_info() 261 lasat_board_info.li_eeprom_info.crc32 = crc; in lasat_write_eeprom_info()
|
/arch/mips/bcm63xx/ |
D | nvram.c | 29 u32 crc, expected_crc; in bcm63xx_nvram_init() local 36 if (bcm963xx_nvram_checksum(&nvram, &expected_crc, &crc)) in bcm63xx_nvram_init() 38 expected_crc, crc); in bcm63xx_nvram_init()
|
/arch/alpha/boot/ |
D | misc.c | 125 ulg c = crc; in flush_window() 135 crc = c; in flush_window()
|
/arch/nios2/boot/compressed/ |
D | misc.c | 135 ulg c = crc; /* temporary variable */ in flush_window() 145 crc = c; in flush_window()
|
/arch/arm/boot/dts/ |
D | omap3-n9.dts | 56 crc = <1>;
|
D | stm32f746.dtsi | 564 crc: crc@40023000 { label 565 compatible = "st,stm32f7-crc";
|
D | stm32f429-disco.dts | 105 &crc {
|
D | stm32f429.dtsi | 684 crc: crc@40023000 { label 685 compatible = "st,stm32f4-crc";
|
/arch/arm64/lib/ |
D | crc32.S | 12 .cpu generic+crc
|
/arch/arc/include/asm/ |
D | arcregs.h | 309 unsigned int swap:1, norm:1, minmax:1, barrel:1, crc:1, swape:1, pad1:2, member
|
/arch/mips/include/asm/octeon/ |
D | cvmx-pko-defs.h | 959 uint64_t crc:1; member 983 uint64_t crc:1; 1270 uint64_t crc:1; member 1282 uint64_t crc:1; 1367 uint64_t crc:1; member 1405 uint64_t crc:1;
|