Anonymous user
Talk:CRC-32: Difference between revisions
Move latest topic to expected chronological order like all the others
(Move latest topic to expected chronological order like all the others) |
|||
Line 1:
== Size of example string ==▼
strlen("The quick brown fox jumps over the lazy dog") is 43.▼
Due to modern processors having specific hardware engines used to calculate CRC's that are 32 bit wide▼
at a time, such as the cortex M3 arm series, it would be better to have a test string that▼
is wholly divisible by 4. The current test string has 43 characters. adding a full stop to this▼
would give a strlen() of 44.▼
Also CRC-16 engines take 16 bit chunks at a time, and would not be compatible with the example string chosen.▼
strlen("The quick brown fox jumps over the lazy dog.") is 44.▼
cprog out: crc32 of test string <The quick brown fox jumps over the lazy dog.>44 is 1368401385 519025E9▼
This agrees with feeding 11 32 bit words into the arm cortex CRC engine with it▼
set to CRC32 and seeded with ~0.▼
[[User:Robin48gx|Robin48gx]] ([[User talk:Robin48gx|talk]]) 10:47, 23 September 2014 (UTC)▼
==Task goal==
Hi, What do you want the task to be about? --[[User:Paddy3118|Paddy3118]] 17:45, 29 November 2011 (UTC)
Line 252 ⟶ 235:
</pre>
Again learned something. --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 05:18, 19 August 2013 (UTC)
▲== Size of example string ==
▲strlen("The quick brown fox jumps over the lazy dog") is 43.
▲Due to modern processors having specific hardware engines used to calculate CRC's that are 32 bit wide
▲at a time, such as the cortex M3 arm series, it would be better to have a test string that
▲is wholly divisible by 4. The current test string has 43 characters. adding a full stop to this
▲would give a strlen() of 44.
▲Also CRC-16 engines take 16 bit chunks at a time, and would not be compatible with the example string chosen.
▲strlen("The quick brown fox jumps over the lazy dog.") is 44.
▲ cprog out: crc32 of test string <The quick brown fox jumps over the lazy dog.>44 is 1368401385 519025E9
▲This agrees with feeding 11 32 bit words into the arm cortex CRC engine with it
▲set to CRC32 and seeded with ~0.
▲[[User:Robin48gx|Robin48gx]] ([[User talk:Robin48gx|talk]]) 10:47, 23 September 2014 (UTC)
|