search for: crc32

Displaying 20 results from an estimated 411 matches for "crc32".

2001 Nov 29
4
openssh 2.9p2 release 8.7 security alert!!!
...named[10478]: Lame server on '55.254.58.211.in-addr.arpa' (in '254.58.211.in-addr.arpa'?): [210.94.0.7].53 'ns.hananet.net' Nov 25 11:33:36 ns named[10478]: ns_forw: query(55.254.58.211.in-addr.arpa) All possible A RR's lame Nov 25 11:33:45 ns sshd[10689]: Disconnecting: crc32 compensation attack: network attack detected Nov 25 11:33:45 ns sshd[10690]: Disconnecting: crc32 compensation attack: network attack detected Nov 25 11:33:46 ns sshd[10691]: Disconnecting: crc32 compensation attack: network attack detected Nov 25 11:33:46 ns sshd[10692]: Disconnecting: crc32 compe...
2003 May 27
1
[RESEND] crc32 optimization
Hi Samba I noticed that the crc32 function in lib/crc32.c is somewhat inefficient. This little patch will reduce the inner loop from 10 instructions to 8 instructions on x86 with gcc. gcc can't figure out this simple optimization by itself on x86. Further optimization is possible by using the impl. in the linux 2.5 kernel, but...
2011 May 26
0
[LLVMdev] x86 SSE4.2 CRC32 intrinsics renamed
FYI, The CRC64 intrinsics were renamed to CRC32 since there is no such thing. See below for details. Chad On May 26, 2011, at 4:13 PM, Chad Rosier wrote: > Author: mcrosier > Date: Thu May 26 18:13:19 2011 > New Revision: 132163 > > URL: http://llvm.org/viewvc/llvm-project?rev=132163&view=rev > Log: > Renamed llvm.x...
2005 Mar 01
1
Can crc32() assume to be available at the C level?
Dear R-develers, Antoine Lucas suggested extending my small digest package (which provides md5 and sha-1 digests of R objects, which it are serialized if needed) with a crc32 function, and provided a fairly complete patch. We are now wondering if we should play it safe and bundle crc32.c (plus utils) in the digest sources (as I do with md5 and sha1), or if we can assume that crc32 is present on all R platforms thanks to zlib. Is that the case? If so, is it a good id...
2019 Jun 08
2
Kernel Image CRC checking
...t;> >> However, the CRC polynomial for zlib and the Linux kernel should both be the >> same: 0x04c11db7. > > I just double-checked, and the CRC tables are indeed identical. I was pretty > sure, because I wrote that code a long time ago... > Ah, it seems that zlib's CRC32 returns the binary inverse of the CRC32 (i.e. crc32 ^ 0xffffffff); so unless the Linux code is broken (and the spec needs to be corrected, since that error would go back many years) using the zlib code one would have to look for 0xffffffff == UINT32_MAX instead of 0. -hpa
2019 Jun 08
2
Kernel Image CRC checking
...d the Linux kernel should both be the >>>> same: 0x04c11db7. >>> >>> I just double-checked, and the CRC tables are indeed identical. I was pretty >>> sure, because I wrote that code a long time ago... >>> >> >> Ah, it seems that zlib's CRC32 returns the binary inverse of the CRC32 (i.e. >> crc32 ^ 0xffffffff); so unless the Linux code is broken (and the spec needs to >> be corrected, since that error would go back many years) using the zlib code >> one would have to look for 0xffffffff == UINT32_MAX instead of 0. >...
2019 Feb 19
0
[PATCH nbdkit 1/4] common: Move some GPT functionality to a common directory.
...related to GUID Partition Tables are moved to a common directory to allow us to share that code across multiple plugins and filters in future. This change is pure refactoring. --- Makefile.am | 1 + common/gpt/Makefile.am | 42 +++++++++++ common/gpt/efi-crc32.c | 140 +++++++++++++++++++++++++++++++++++ common/gpt/efi-crc32.h | 42 +++++++++++ common/gpt/gpt.h | 80 ++++++++++++++++++++ configure.ac | 1 + plugins/partitioning/Makefile.am | 4 +- plugins/partitioning/efi-c...
2008 Jan 06
1
Is crc32 adequate to detect real-life data corruption in filesystem's blocks?
What about multiple errors detection with crc32? Is it work? Thanks.
2005 Nov 04
2
R-2.2.0 Compile problem on Slackware 10.2
...pabilities: PNG, JPEG, iconv, MBCS, NLS Options enabled: R profiling Recommended packages: yes When I gave make command, I got the following error message: gcc -I. -DUSE_MMAP -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c crc32.c -o crc32.o In file included from /usr/include/linux/errno.h:4, from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from zutil.h:38, from crc32.c:29: /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or...
2003 Feb 24
0
Compile errors on Solaris, early AIX and PAM platforms
Hi All. Damien merged a bunch of changes today which caused compile errors on a few platforms (which you can see live and in colour at [0]). a) Solaris, early AIX: ../crc32.c:100: `u_int32_t? undeclared (first use in this function) On these platforms u_int32_t is defined in defines.h which is not included by crc32.c. Fixed by attached patch. b) PAM platforms (Redhat, Solaris once a) is fixed, probably others) gcc -o sshd sshd.o [snip] auth2-kbdint.o: In function `...
2010 Nov 23
1
Understanding debugfs.ocfs2 output
...the //global_bitmap section. Specifically, "If none are higher than the sum[sic] of "Clusters per Group * Bits per Cluster" the metadata extent file cannot be expanded..." Here is a sample output below: Group Chain: 8 Parent Inode: 11 Generation: 1861766630 CRC32: 00000000 ECC: 0000 ## Block# Total Used Free Contig Size 0 258048 32256 1026 31230 28159 4032 1 8096256 32256 1 32255 32255 4032 Group Chain: 9 Parent Inode: 11 Generation: 18617...
2018 Nov 23
1
How to concatenate Ogg in the browser JS?
I found how to build CRC32 table for Ogg in JS, if anyone interested: function _makeCRC32Table() { // From https://stackoverflow.com/questions/53438815/hot-to-build-crc32-table-for-ogg const polynomial = 79764919; const mask = 2147483648; const CRCTable = new Uint32Array(256); for (let i = 256; i--;) {...
2000 Aug 15
0
crc32() clashes with zlib function of the same name
OpenSSH defines a function crc32(), and so does the zlib library. This is at best confusing (since they are different functions with different prototypes), and at worst a source of crashes. I found this problem getting OpenSSH up and running on Darwin, which turned out to be calling the wrong function. My bandaid was to includ...
2018 Nov 16
4
How to concatenate Ogg in the browser JS?
...numbers, can you tell us what software is producing Oggs with a hard-coded serial number to begin with? Vitaly Zdanevich wrote: > Thank you again for your help, now I am thinking about much simpler solution - because all my Oggs comes from the the one source looks like I can alter serial and crc32 at their hardcoded positions. Please see this screenshot https://giphy.com/gifs/9AIe7ksYBwiYQoLVv9/fullscreen with serials 11111111 and 22222222- it will be correct approach? And can you please say me from what region I need to calculate crc32? And also as we can see on the screenshot above - chang...
2019 Feb 06
2
[PATCH] Remove unused since ssh1 protocol removal crc32.[ch]
A non-text attachment was scrubbed... Name: 0001-Remove-unused-since-ssh1-protocol-removal-crc32.-ch.patch Type: text/x-patch Size: 20097 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20190206/ca9d8d10/attachment-0001.bin>
2003 Nov 16
2
[LLVMdev] Packages
...running program. Is it all or nothing? What if the calling program new it needed a specific module from the larger optimized "package"? Can the original modules, now combined into the one .bc file, get loaded individually? For example, using Java, suppose I wanted to use java.util.zip.CRC32 to compute a checksum in a program. That class (module) is delivered to me as a java.util.zip "package". That is, it is the result of running llvm-link to produce a single bytecode file that includes all the classes with java.util.zip prefix. But (for some mysterious reason) the java.uti...
2019 Jun 08
2
Kernel Image CRC checking
...mage CRC ? >> >> If (ImageCRC("/bzImage") == -1) >> Load_kernel("/BACKUP/bzImage") or what else >> >> Thanks >> >> Regards >> Johann > > It doesn't appear so. I'm assuming you're referring to the CRC32 > present in Linux x86 boot protocol 2.08+ found in Linux versions > 2.6.26+ ? libupload has a CRC-16 function. zlib has a CRC-32 > function but looks like it's initialized with different > polynomial/remainder. > Writing a generic CRC generator is not very hard; for a boot l...
2019 Jun 09
0
Kernel Image CRC checking
...>>> both be the same: 0x04c11db7. > >>> > >>> I just double-checked, and the CRC tables are indeed identical. I > >>> was pretty sure, because I wrote that code a long time ago... > >>> > >> > >> Ah, it seems that zlib's CRC32 returns the binary inverse of the > >> CRC32 (i.e. crc32 ^ 0xffffffff); so unless the Linux code is > >> broken (and the spec needs to be corrected, since that error would > >> go back many years) using the zlib code one would have to look for > >> 0xffffffff ==...
2009 Jan 06
1
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...fs2.h | 4 + fs/ocfs2/super.c | 42 +++++++++--- 4 files changed, 240 insertions(+), 19 deletions(-) diff --git a/fs/ocfs2/blockcheck.c b/fs/ocfs2/blockcheck.c index 2a947c4..a1163b8 100644 --- a/fs/ocfs2/blockcheck.c +++ b/fs/ocfs2/blockcheck.c @@ -22,6 +22,9 @@ #include <linux/crc32.h> #include <linux/buffer_head.h> #include <linux/bitops.h> +#include <linux/debugfs.h> +#include <linux/module.h> +#include <linux/fs.h> #include <asm/byteorder.h> #include <cluster/masklog.h> @@ -222,6 +225,155 @@ void ocfs2_hamming_fix_block(voi...
2019 Jun 08
0
Kernel Image CRC checking
...CRC polynomial for zlib and the Linux kernel should both be the >>> same: 0x04c11db7. >> >> I just double-checked, and the CRC tables are indeed identical. I was pretty >> sure, because I wrote that code a long time ago... >> > > Ah, it seems that zlib's CRC32 returns the binary inverse of the CRC32 (i.e. > crc32 ^ 0xffffffff); so unless the Linux code is broken (and the spec needs to > be corrected, since that error would go back many years) using the zlib code > one would have to look for 0xffffffff == UINT32_MAX instead of 0. > Just doub...