-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from Sarwate's algorithm to byte-order free Slicing-by-16. Each table data file is generated by `extconf.rb`. In addition, the inspection string, which was previously 10 bytes, is extended to 19 bytes. This is to check the slicing-by-16 loop, which processes in 16-byte units.
- Loading branch information
Showing
78 changed files
with
912 additions
and
1,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
require 'mkmf' | ||
require_relative '../gentable' | ||
|
||
have_header("stdint.h") | ||
have_header('stddef.h') | ||
|
||
generate_table("crc12_3gpp_table.h", "crc12_3gpp_table", 12, 0x080f, false) | ||
|
||
create_header | ||
create_makefile "crc12_3gpp_ext" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
require 'mkmf' | ||
require_relative '../gentable' | ||
|
||
have_header("stdint.h") | ||
have_header('stddef.h') | ||
|
||
generate_table("crc15_table.h", "crc15_table", 15, 0x4599, false) | ||
|
||
create_header | ||
create_makefile "crc15_ext" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
require 'mkmf' | ||
require_relative '../gentable' | ||
|
||
have_header("stdint.h") | ||
have_header('stddef.h') | ||
|
||
generate_table("crc16_table.h", "crc16_table", 16, 0x8005, true) | ||
|
||
create_header | ||
create_makefile "crc16_ext" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
require 'mkmf' | ||
require_relative '../gentable' | ||
|
||
have_header("stdint.h") | ||
have_header('stddef.h') | ||
|
||
generate_table("crc16_ccitt_table.h", "crc16_ccitt_table", 16, 0x1021, false) | ||
|
||
create_header | ||
create_makefile "crc16_ccitt_ext" |
Oops, something went wrong.