/kernel/linux/linux-5.10/include/linux/ |
H A D | crc32.h | 11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len); 17 * and len2, crc32_le() check values were calculated 24 * Return: The crc32_le() check value of seq1 and seq2 concatenated, 27 * the crc32_le() value of seq_full, then crc_full == 66 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length) 71 * Ethernet sends the least significant bit of a byte first, thus crc32_le 72 * is used. The output of crc32_le is bit reversed [most significant bit 76 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) 77 #define ether_crc_le(length, data) crc32_le(~0, data, length)
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | crc32.h | 11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len); 17 * and len2, crc32_le() check values were calculated 24 * Return: The crc32_le() check value of seq1 and seq2 concatenated, 27 * the crc32_le() value of seq_full, then crc_full == 66 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length) 71 * Ethernet sends the least significant bit of a byte first, thus crc32_le 72 * is used. The output of crc32_le is bit reversed [most significant bit 76 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) 77 #define ether_crc_le(length, data) crc32_le(~0, data, length)
|
H A D | nfs.h | 59 return ~crc32_le(0xFFFFFFFF, &fh->data[0], fh->size); in nfs_fhandle_hash()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | blockcheck.c | 359 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute() 397 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 411 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 457 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs() 510 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs() 542 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | blockcheck.c | 357 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute() 395 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 409 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 455 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs() 508 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs() 540 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | crc32-pclmul_glue.c | 59 return crc32_le(crc, p, len); in crc32_pclmul_le() 65 crc = crc32_le(crc, p, prealign); in crc32_pclmul_le() 78 crc = crc32_le(crc, p + iquotient, iremainder); in crc32_pclmul_le() 122 /* No final XOR 0xFFFFFFFF, like crc32_le */
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | crc32-pclmul_glue.c | 59 return crc32_le(crc, p, len); in crc32_pclmul_le() 65 crc = crc32_le(crc, p, prealign); in crc32_pclmul_le() 78 crc = crc32_le(crc, p + iquotient, iremainder); in crc32_pclmul_le() 122 /* No final XOR 0xFFFFFFFF, like crc32_le */
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | segbuf.c | 188 crc = crc32_le(seed, in nilfs_segbuf_fill_in_segsum_crc() 198 crc = crc32_le(crc, bh->b_data, size); in nilfs_segbuf_fill_in_segsum_crc() 214 crc = crc32_le(seed, in nilfs_segbuf_fill_in_data_crc() 220 crc = crc32_le(crc, bh->b_data, bh->b_size); in nilfs_segbuf_fill_in_data_crc() 224 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc() 241 crc = crc32_le(seed, in nilfs_segbuf_fill_in_super_root_crc()
|
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | segbuf.c | 188 crc = crc32_le(seed, in nilfs_segbuf_fill_in_segsum_crc() 198 crc = crc32_le(crc, bh->b_data, size); in nilfs_segbuf_fill_in_segsum_crc() 214 crc = crc32_le(seed, in nilfs_segbuf_fill_in_data_crc() 220 crc = crc32_le(crc, bh->b_data, bh->b_size); in nilfs_segbuf_fill_in_data_crc() 224 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc() 241 crc = crc32_le(seed, in nilfs_segbuf_fill_in_super_root_crc()
|
/kernel/linux/linux-5.10/lib/ |
H A D | crc32.c | 186 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) function 195 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) function 206 EXPORT_SYMBOL(crc32_le); variable 209 u32 __pure crc32_le_base(u32, unsigned char const *, size_t) __alias(crc32_le); variable
|
/kernel/linux/linux-6.6/lib/ |
H A D | crc32.c | 186 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) function 195 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) function 204 EXPORT_SYMBOL(crc32_le); variable 207 u32 __pure crc32_le_base(u32, unsigned char const *, size_t) __alias(crc32_le); variable
|
/kernel/linux/linux-5.10/crypto/ |
H A D | crc32_generic.c | 29 * This is crypto api shash wrappers to crc32_le. 84 *crcp = crc32_le(*crcp, data, len); in crc32_update() 88 /* No final XOR 0xFFFFFFFF, like crc32_le */ 92 put_unaligned_le32(crc32_le(*crcp, data, len), out); in __crc32_finup()
|
/kernel/linux/linux-5.10/drivers/soc/samsung/ |
H A D | s3c-pm-check.c | 115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 192 calc = crc32_le(~0, ptr, left); in s3c_pm_runcheck()
|
/kernel/linux/linux-6.6/drivers/soc/samsung/ |
H A D | s3c-pm-check.c | 115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 192 calc = crc32_le(~0, ptr, left); in s3c_pm_runcheck()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | crc32_generic.c | 7 * This is crypto api shash wrappers to crc32_le. 62 *crcp = crc32_le(*crcp, data, len); in crc32_update() 66 /* No final XOR 0xFFFFFFFF, like crc32_le */ 70 put_unaligned_le32(crc32_le(*crcp, data, len), out); in __crc32_finup()
|
/kernel/linux/linux-5.10/arch/arm64/lib/ |
H A D | crc32.S | 88 SYM_FUNC_START(crc32_le) 93 SYM_FUNC_END(crc32_le)
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
H A D | p80211wep.c | 141 crc = ~crc32_le(~0, buf, len); in wep_decrypt() 212 crc = ~crc32_le(~0, buf, len); in wep_encrypt()
|
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | p80211wep.c | 120 crc = ~crc32_le(~0, buf, len); in wep_decrypt() 191 crc = ~crc32_le(~0, buf, len); in wep_encrypt()
|
/kernel/linux/linux-5.10/lib/xz/ |
H A D | xz_stream.h | 17 (~crc32_le(~(uint32_t)(crc), buf, size))
|
/kernel/linux/linux-6.6/lib/xz/ |
H A D | xz_stream.h | 17 (~crc32_le(~(uint32_t)(crc), buf, size))
|
/kernel/linux/linux-6.6/arch/arm64/lib/ |
H A D | crc32.S | 139 SYM_FUNC_START(crc32_le) 144 SYM_FUNC_END(crc32_le)
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | cdc_eem.c | 134 crc = crc32_le(~0, skb->data, skb->len); in eem_tx_fixup() 304 crc2 = ~crc32_le(~0, skb2->data, skb2->len in eem_rx_fixup()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_wep.c | 111 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt() 166 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_wep.c | 109 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt() 165 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | lib80211_crypt_wep.c | 131 crc = ~crc32_le(~0, pos, len); in lib80211_wep_encrypt() 180 crc = ~crc32_le(~0, pos, plen); in lib80211_wep_decrypt()
|