File: known.py

package info (click to toggle)
pwntools 4.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 18,436 kB
  • sloc: python: 59,156; ansic: 48,063; asm: 45,030; sh: 396; makefile: 256
file content (1052 lines) | stat: -rw-r--r-- 47,976 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
from __future__ import division

import os
import re


def generate():
    """Generates a dictionary of all the known CRC formats from:
    https://reveng.sourceforge.io/crc-catalogue/all.htm

    See pwnlib/data/crcsum.txt for more information.
    """

    curdir, _ = os.path.split(__file__)
    path = os.path.join(curdir, '..', '..', 'data', 'crcsums.txt')
    with open(path) as fd:
        data = fd.read()
    out = {}

    def fixup(s):
        if s == 'true':
            return True
        elif s == 'false':
            return False
        elif s.startswith('"'):
            assert re.match('"[^"]+"', s)
            return s[1:-1]
        elif s.startswith('0x'):
            assert re.match('0x[0-9a-fA-F]+', s)
            return int(s[2:], 16)
        else:
            assert re.match('[0-9]+', s)
            return int(s, 10)

    for l in data.strip().split('\n'):
        if not l or l[0] == '#':
            continue

        ref, l = l.split(' ', 1)

        cur = {}
        cur['link'] = 'https://reveng.sourceforge.io/crc-catalogue/all.htm#' + ref
        for key in ['width', 'poly', 'init', 'refin', 'refout', 'xorout', 'check', 'name']:
            cur[key] = fixup(re.findall(r'%s=(\S+)' % key, l)[0])

        cur['name'] = cur['name'].lower().replace('/', '_').replace('-', '_')
        assert cur['name'] not in out
        out[cur['name']] = cur

    return out


all_crcs = \
    {'crc_10_atm': {'check': 409,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-10-atm',
                    'name': 'crc_10_atm',
                    'poly': 563,
                    'refin': False,
                    'refout': False,
                    'width': 10,
                    'xorout': 0},
     'crc_10_cdma2000': {'check': 563,
                         'init': 1023,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-10-cdma2000',
                         'name': 'crc_10_cdma2000',
                         'poly': 985,
                         'refin': False,
                         'refout': False,
                         'width': 10,
                         'xorout': 0},
     'crc_10_gsm': {'check': 298,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-10-gsm',
                    'name': 'crc_10_gsm',
                    'poly': 373,
                    'refin': False,
                    'refout': False,
                    'width': 10,
                    'xorout': 1023},
     'crc_11_flexray': {'check': 1443,
                        'init': 26,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-11-flexray',
                        'name': 'crc_11_flexray',
                        'poly': 901,
                        'refin': False,
                        'refout': False,
                        'width': 11,
                        'xorout': 0},
     'crc_11_umts': {'check': 97,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-11-umts',
                     'name': 'crc_11_umts',
                     'poly': 775,
                     'refin': False,
                     'refout': False,
                     'width': 11,
                     'xorout': 0},
     'crc_12_cdma2000': {'check': 3405,
                         'init': 4095,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-12-cdma2000',
                         'name': 'crc_12_cdma2000',
                         'poly': 3859,
                         'refin': False,
                         'refout': False,
                         'width': 12,
                         'xorout': 0},
     'crc_12_dect': {'check': 3931,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-12-dect',
                     'name': 'crc_12_dect',
                     'poly': 2063,
                     'refin': False,
                     'refout': False,
                     'width': 12,
                     'xorout': 0},
     'crc_12_gsm': {'check': 2868,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-12-gsm',
                    'name': 'crc_12_gsm',
                    'poly': 3377,
                    'refin': False,
                    'refout': False,
                    'width': 12,
                    'xorout': 4095},
     'crc_12_umts': {'check': 3503,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-12-umts',
                     'name': 'crc_12_umts',
                     'poly': 2063,
                     'refin': False,
                     'refout': True,
                     'width': 12,
                     'xorout': 0},
     'crc_13_bbc': {'check': 1274,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-13-bbc',
                    'name': 'crc_13_bbc',
                    'poly': 7413,
                    'refin': False,
                    'refout': False,
                    'width': 13,
                    'xorout': 0},
     'crc_14_darc': {'check': 2093,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-14-darc',
                     'name': 'crc_14_darc',
                     'poly': 2053,
                     'refin': True,
                     'refout': True,
                     'width': 14,
                     'xorout': 0},
     'crc_14_gsm': {'check': 12462,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-14-gsm',
                    'name': 'crc_14_gsm',
                    'poly': 8237,
                    'refin': False,
                    'refout': False,
                    'width': 14,
                    'xorout': 16383},
     'crc_15_can': {'check': 1438,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-15-can',
                    'name': 'crc_15_can',
                    'poly': 17817,
                    'refin': False,
                    'refout': False,
                    'width': 15,
                    'xorout': 0},
     'crc_15_mpt1327': {'check': 9574,
                        'init': 0,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-15-mpt1327',
                        'name': 'crc_15_mpt1327',
                        'poly': 26645,
                        'refin': False,
                        'refout': False,
                        'width': 15,
                        'xorout': 1},
     'crc_16_arc': {'check': 47933,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-arc',
                    'name': 'crc_16_arc',
                    'poly': 32773,
                    'refin': True,
                    'refout': True,
                    'width': 16,
                    'xorout': 0},
     'crc_16_cdma2000': {'check': 19462,
                         'init': 65535,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-cdma2000',
                         'name': 'crc_16_cdma2000',
                         'poly': 51303,
                         'refin': False,
                         'refout': False,
                         'width': 16,
                         'xorout': 0},
     'crc_16_cms': {'check': 44775,
                    'init': 65535,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-cms',
                    'name': 'crc_16_cms',
                    'poly': 32773,
                    'refin': False,
                    'refout': False,
                    'width': 16,
                    'xorout': 0},
     'crc_16_dds_110': {'check': 40655,
                        'init': 32781,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-dds-110',
                        'name': 'crc_16_dds_110',
                        'poly': 32773,
                        'refin': False,
                        'refout': False,
                        'width': 16,
                        'xorout': 0},
     'crc_16_dect_r': {'check': 126,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-dect-r',
                       'name': 'crc_16_dect_r',
                       'poly': 1417,
                       'refin': False,
                       'refout': False,
                       'width': 16,
                       'xorout': 1},
     'crc_16_dect_x': {'check': 127,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-dect-x',
                       'name': 'crc_16_dect_x',
                       'poly': 1417,
                       'refin': False,
                       'refout': False,
                       'width': 16,
                       'xorout': 0},
     'crc_16_dnp': {'check': 60034,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-dnp',
                    'name': 'crc_16_dnp',
                    'poly': 15717,
                    'refin': True,
                    'refout': True,
                    'width': 16,
                    'xorout': 65535},
     'crc_16_en_13757': {'check': 49847,
                         'init': 0,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-en-13757',
                         'name': 'crc_16_en_13757',
                         'poly': 15717,
                         'refin': False,
                         'refout': False,
                         'width': 16,
                         'xorout': 65535},
     'crc_16_genibus': {'check': 54862,
                        'init': 65535,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-genibus',
                        'name': 'crc_16_genibus',
                        'poly': 4129,
                        'refin': False,
                        'refout': False,
                        'width': 16,
                        'xorout': 65535},
     'crc_16_gsm': {'check': 52796,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-gsm',
                    'name': 'crc_16_gsm',
                    'poly': 4129,
                    'refin': False,
                    'refout': False,
                    'width': 16,
                    'xorout': 65535},
     'crc_16_ibm_3740': {'check': 10673,
                         'init': 65535,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-ibm-3740',
                         'name': 'crc_16_ibm_3740',
                         'poly': 4129,
                         'refin': False,
                         'refout': False,
                         'width': 16,
                         'xorout': 0},
     'crc_16_ibm_sdlc': {'check': 36974,
                         'init': 65535,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-ibm-sdlc',
                         'name': 'crc_16_ibm_sdlc',
                         'poly': 4129,
                         'refin': True,
                         'refout': True,
                         'width': 16,
                         'xorout': 65535},
     'crc_16_iso_iec_14443_3_a': {'check': 48901,
                                  'init': 50886,
                                  'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-iso-iec-14443-3-a',
                                  'name': 'crc_16_iso_iec_14443_3_a',
                                  'poly': 4129,
                                  'refin': True,
                                  'refout': True,
                                  'width': 16,
                                  'xorout': 0},
     'crc_16_kermit': {'check': 8585,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-kermit',
                       'name': 'crc_16_kermit',
                       'poly': 4129,
                       'refin': True,
                       'refout': True,
                       'width': 16,
                       'xorout': 0},
     'crc_16_lj1200': {'check': 48628,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-lj1200',
                       'name': 'crc_16_lj1200',
                       'poly': 28515,
                       'refin': False,
                       'refout': False,
                       'width': 16,
                       'xorout': 0},
     'crc_16_m17': {'check': 30507,
                    'init': 65535,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-m17',
                    'name': 'crc_16_m17',
                    'poly': 22837,
                    'refin': False,
                    'refout': False,
                    'width': 16,
                    'xorout': 0},
     'crc_16_maxim_dow': {'check': 17602,
                          'init': 0,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-maxim-dow',
                          'name': 'crc_16_maxim_dow',
                          'poly': 32773,
                          'refin': True,
                          'refout': True,
                          'width': 16,
                          'xorout': 65535},
     'crc_16_mcrf4xx': {'check': 28561,
                        'init': 65535,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-mcrf4xx',
                        'name': 'crc_16_mcrf4xx',
                        'poly': 4129,
                        'refin': True,
                        'refout': True,
                        'width': 16,
                        'xorout': 0},
     'crc_16_modbus': {'check': 19255,
                       'init': 65535,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-modbus',
                       'name': 'crc_16_modbus',
                       'poly': 32773,
                       'refin': True,
                       'refout': True,
                       'width': 16,
                       'xorout': 0},
     'crc_16_nrsc_5': {'check': 41062,
                       'init': 65535,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-nrsc-5',
                       'name': 'crc_16_nrsc_5',
                       'poly': 2059,
                       'refin': True,
                       'refout': True,
                       'width': 16,
                       'xorout': 0},
     'crc_16_opensafety_a': {'check': 23864,
                             'init': 0,
                             'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-opensafety-a',
                             'name': 'crc_16_opensafety_a',
                             'poly': 22837,
                             'refin': False,
                             'refout': False,
                             'width': 16,
                             'xorout': 0},
     'crc_16_opensafety_b': {'check': 8446,
                             'init': 0,
                             'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-opensafety-b',
                             'name': 'crc_16_opensafety_b',
                             'poly': 30043,
                             'refin': False,
                             'refout': False,
                             'width': 16,
                             'xorout': 0},
     'crc_16_profibus': {'check': 43033,
                         'init': 65535,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-profibus',
                         'name': 'crc_16_profibus',
                         'poly': 7631,
                         'refin': False,
                         'refout': False,
                         'width': 16,
                         'xorout': 65535},
     'crc_16_riello': {'check': 25552,
                       'init': 45738,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-riello',
                       'name': 'crc_16_riello',
                       'poly': 4129,
                       'refin': True,
                       'refout': True,
                       'width': 16,
                       'xorout': 0},
     'crc_16_spi_fujitsu': {'check': 58828,
                            'init': 7439,
                            'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-spi-fujitsu',
                            'name': 'crc_16_spi_fujitsu',
                            'poly': 4129,
                            'refin': False,
                            'refout': False,
                            'width': 16,
                            'xorout': 0},
     'crc_16_t10_dif': {'check': 53467,
                        'init': 0,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-t10-dif',
                        'name': 'crc_16_t10_dif',
                        'poly': 35767,
                        'refin': False,
                        'refout': False,
                        'width': 16,
                        'xorout': 0},
     'crc_16_teledisk': {'check': 4019,
                         'init': 0,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-teledisk',
                         'name': 'crc_16_teledisk',
                         'poly': 41111,
                         'refin': False,
                         'refout': False,
                         'width': 16,
                         'xorout': 0},
     'crc_16_tms37157': {'check': 9905,
                         'init': 35308,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-tms37157',
                         'name': 'crc_16_tms37157',
                         'poly': 4129,
                         'refin': True,
                         'refout': True,
                         'width': 16,
                         'xorout': 0},
     'crc_16_umts': {'check': 65256,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-umts',
                     'name': 'crc_16_umts',
                     'poly': 32773,
                     'refin': False,
                     'refout': False,
                     'width': 16,
                     'xorout': 0},
     'crc_16_usb': {'check': 46280,
                    'init': 65535,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-usb',
                    'name': 'crc_16_usb',
                    'poly': 32773,
                    'refin': True,
                    'refout': True,
                    'width': 16,
                    'xorout': 65535},
     'crc_16_xmodem': {'check': 12739,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-16-xmodem',
                       'name': 'crc_16_xmodem',
                       'poly': 4129,
                       'refin': False,
                       'refout': False,
                       'width': 16,
                       'xorout': 0},
     'crc_17_can_fd': {'check': 20227,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-17-can-fd',
                       'name': 'crc_17_can_fd',
                       'poly': 92251,
                       'refin': False,
                       'refout': False,
                       'width': 17,
                       'xorout': 0},
     'crc_21_can_fd': {'check': 972865,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-21-can-fd',
                       'name': 'crc_21_can_fd',
                       'poly': 1058969,
                       'refin': False,
                       'refout': False,
                       'width': 21,
                       'xorout': 0},
     'crc_24_ble': {'check': 12737110,
                    'init': 5592405,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-ble',
                    'name': 'crc_24_ble',
                    'poly': 1627,
                    'refin': True,
                    'refout': True,
                    'width': 24,
                    'xorout': 0},
     'crc_24_flexray_a': {'check': 7961021,
                          'init': 16702650,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-flexray-a',
                          'name': 'crc_24_flexray_a',
                          'poly': 6122955,
                          'refin': False,
                          'refout': False,
                          'width': 24,
                          'xorout': 0},
     'crc_24_flexray_b': {'check': 2040760,
                          'init': 11259375,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-flexray-b',
                          'name': 'crc_24_flexray_b',
                          'poly': 6122955,
                          'refin': False,
                          'refout': False,
                          'width': 24,
                          'xorout': 0},
     'crc_24_interlaken': {'check': 11858918,
                           'init': 16777215,
                           'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-interlaken',
                           'name': 'crc_24_interlaken',
                           'poly': 3312483,
                           'refin': False,
                           'refout': False,
                           'width': 24,
                           'xorout': 16777215},
     'crc_24_lte_a': {'check': 13494019,
                      'init': 0,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-lte-a',
                      'name': 'crc_24_lte_a',
                      'poly': 8801531,
                      'refin': False,
                      'refout': False,
                      'width': 24,
                      'xorout': 0},
     'crc_24_lte_b': {'check': 2355026,
                      'init': 0,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-lte-b',
                      'name': 'crc_24_lte_b',
                      'poly': 8388707,
                      'refin': False,
                      'refout': False,
                      'width': 24,
                      'xorout': 0},
     'crc_24_openpgp': {'check': 2215682,
                        'init': 11994318,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-openpgp',
                        'name': 'crc_24_openpgp',
                        'poly': 8801531,
                        'refin': False,
                        'refout': False,
                        'width': 24,
                        'xorout': 0},
     'crc_24_os_9': {'check': 2101157,
                     'init': 16777215,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-24-os-9',
                     'name': 'crc_24_os_9',
                     'poly': 8388707,
                     'refin': False,
                     'refout': False,
                     'width': 24,
                     'xorout': 16777215},
     'crc_30_cdma': {'check': 79907519,
                     'init': 1073741823,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-30-cdma',
                     'name': 'crc_30_cdma',
                     'poly': 540064199,
                     'refin': False,
                     'refout': False,
                     'width': 30,
                     'xorout': 1073741823},
     'crc_31_philips': {'check': 216654956,
                        'init': 2147483647,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-31-philips',
                        'name': 'crc_31_philips',
                        'poly': 79764919,
                        'refin': False,
                        'refout': False,
                        'width': 31,
                        'xorout': 2147483647},
     'crc_32_aixm': {'check': 806403967,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-aixm',
                     'name': 'crc_32_aixm',
                     'poly': 2168537515,
                     'refin': False,
                     'refout': False,
                     'width': 32,
                     'xorout': 0},
     'crc_32_autosar': {'check': 379048042,
                        'init': 4294967295,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-autosar',
                        'name': 'crc_32_autosar',
                        'poly': 4104977171,
                        'refin': True,
                        'refout': True,
                        'width': 32,
                        'xorout': 4294967295},
     'crc_32_base91_d': {'check': 2268157302,
                         'init': 4294967295,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-base91-d',
                         'name': 'crc_32_base91_d',
                         'poly': 2821953579,
                         'refin': True,
                         'refout': True,
                         'width': 32,
                         'xorout': 4294967295},
     'crc_32_bzip2': {'check': 4236843288,
                      'init': 4294967295,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-bzip2',
                      'name': 'crc_32_bzip2',
                      'poly': 79764919,
                      'refin': False,
                      'refout': False,
                      'width': 32,
                      'xorout': 4294967295},
     'crc_32_cd_rom_edc': {'check': 1858268612,
                           'init': 0,
                           'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-cd-rom-edc',
                           'name': 'crc_32_cd_rom_edc',
                           'poly': 2147581979,
                           'refin': True,
                           'refout': True,
                           'width': 32,
                           'xorout': 0},
     'crc_32_cksum': {'check': 1985902208,
                      'init': 0,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-cksum',
                      'name': 'crc_32_cksum',
                      'poly': 79764919,
                      'refin': False,
                      'refout': False,
                      'width': 32,
                      'xorout': 4294967295},
     'crc_32_iscsi': {'check': 3808858755,
                      'init': 4294967295,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-iscsi',
                      'name': 'crc_32_iscsi',
                      'poly': 517762881,
                      'refin': True,
                      'refout': True,
                      'width': 32,
                      'xorout': 4294967295},
     'crc_32_iso_hdlc': {'check': 3421780262,
                         'init': 4294967295,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-iso-hdlc',
                         'name': 'crc_32_iso_hdlc',
                         'poly': 79764919,
                         'refin': True,
                         'refout': True,
                         'width': 32,
                         'xorout': 4294967295},
     'crc_32_jamcrc': {'check': 873187033,
                       'init': 4294967295,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-jamcrc',
                       'name': 'crc_32_jamcrc',
                       'poly': 79764919,
                       'refin': True,
                       'refout': True,
                       'width': 32,
                       'xorout': 0},
     'crc_32_mef': {'check': 3535941457,
                    'init': 4294967295,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-mef',
                    'name': 'crc_32_mef',
                    'poly': 1947962583,
                    'refin': True,
                    'refout': True,
                    'width': 32,
                    'xorout': 0},
     'crc_32_mpeg_2': {'check': 58124007,
                       'init': 4294967295,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-mpeg-2',
                       'name': 'crc_32_mpeg_2',
                       'poly': 79764919,
                       'refin': False,
                       'refout': False,
                       'width': 32,
                       'xorout': 0},
     'crc_32_xfer': {'check': 3171672888,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-32-xfer',
                     'name': 'crc_32_xfer',
                     'poly': 175,
                     'refin': False,
                     'refout': False,
                     'width': 32,
                     'xorout': 0},
     'crc_3_gsm': {'check': 4,
                   'init': 0,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-3-gsm',
                   'name': 'crc_3_gsm',
                   'poly': 3,
                   'refin': False,
                   'refout': False,
                   'width': 3,
                   'xorout': 7},
     'crc_3_rohc': {'check': 6,
                    'init': 7,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-3-rohc',
                    'name': 'crc_3_rohc',
                    'poly': 3,
                    'refin': True,
                    'refout': True,
                    'width': 3,
                    'xorout': 0},
     'crc_40_gsm': {'check': 910907393606,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-40-gsm',
                    'name': 'crc_40_gsm',
                    'poly': 75628553,
                    'refin': False,
                    'refout': False,
                    'width': 40,
                    'xorout': 1099511627775},
     'crc_4_g_704': {'check': 7,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-4-g-704',
                     'name': 'crc_4_g_704',
                     'poly': 3,
                     'refin': True,
                     'refout': True,
                     'width': 4,
                     'xorout': 0},
     'crc_4_interlaken': {'check': 11,
                          'init': 15,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-4-interlaken',
                          'name': 'crc_4_interlaken',
                          'poly': 3,
                          'refin': False,
                          'refout': False,
                          'width': 4,
                          'xorout': 15},
     'crc_5_epc_c1g2': {'check': 0,
                        'init': 9,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-5-epc-c1g2',
                        'name': 'crc_5_epc_c1g2',
                        'poly': 9,
                        'refin': False,
                        'refout': False,
                        'width': 5,
                        'xorout': 0},
     'crc_5_g_704': {'check': 7,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-5-g-704',
                     'name': 'crc_5_g_704',
                     'poly': 21,
                     'refin': True,
                     'refout': True,
                     'width': 5,
                     'xorout': 0},
     'crc_5_usb': {'check': 25,
                   'init': 31,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-5-usb',
                   'name': 'crc_5_usb',
                   'poly': 5,
                   'refin': True,
                   'refout': True,
                   'width': 5,
                   'xorout': 31},
     'crc_64_ecma_182': {'check': 7800480153909949255,
                         'init': 0,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-64-ecma-182',
                         'name': 'crc_64_ecma_182',
                         'poly': 4823603603198064275,
                         'refin': False,
                         'refout': False,
                         'width': 64,
                         'xorout': 0},
     'crc_64_go_iso': {'check': 13333283586479230977,
                       'init': 18446744073709551615,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-64-go-iso',
                       'name': 'crc_64_go_iso',
                       'poly': 27,
                       'refin': True,
                       'refout': True,
                       'width': 64,
                       'xorout': 18446744073709551615},
     'crc_64_ms': {'check': 8490612747469246186,
                   'init': 18446744073709551615,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-64-ms',
                   'name': 'crc_64_ms',
                   'poly': 2710187085972792137,
                   'refin': True,
                   'refout': True,
                   'width': 64,
                   'xorout': 0},
     'crc_64_we': {'check': 7128171145767219210,
                   'init': 18446744073709551615,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-64-we',
                   'name': 'crc_64_we',
                   'poly': 4823603603198064275,
                   'refin': False,
                   'refout': False,
                   'width': 64,
                   'xorout': 18446744073709551615},
     'crc_64_xz': {'check': 11051210869376104954,
                   'init': 18446744073709551615,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-64-xz',
                   'name': 'crc_64_xz',
                   'poly': 4823603603198064275,
                   'refin': True,
                   'refout': True,
                   'width': 64,
                   'xorout': 18446744073709551615},
     'crc_6_cdma2000_a': {'check': 13,
                          'init': 63,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-6-cdma2000-a',
                          'name': 'crc_6_cdma2000_a',
                          'poly': 39,
                          'refin': False,
                          'refout': False,
                          'width': 6,
                          'xorout': 0},
     'crc_6_cdma2000_b': {'check': 59,
                          'init': 63,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-6-cdma2000-b',
                          'name': 'crc_6_cdma2000_b',
                          'poly': 7,
                          'refin': False,
                          'refout': False,
                          'width': 6,
                          'xorout': 0},
     'crc_6_darc': {'check': 38,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-6-darc',
                    'name': 'crc_6_darc',
                    'poly': 25,
                    'refin': True,
                    'refout': True,
                    'width': 6,
                    'xorout': 0},
     'crc_6_g_704': {'check': 6,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-6-g-704',
                     'name': 'crc_6_g_704',
                     'poly': 3,
                     'refin': True,
                     'refout': True,
                     'width': 6,
                     'xorout': 0},
     'crc_6_gsm': {'check': 19,
                   'init': 0,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-6-gsm',
                   'name': 'crc_6_gsm',
                   'poly': 47,
                   'refin': False,
                   'refout': False,
                   'width': 6,
                   'xorout': 63},
     'crc_7_mmc': {'check': 117,
                   'init': 0,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-7-mmc',
                   'name': 'crc_7_mmc',
                   'poly': 9,
                   'refin': False,
                   'refout': False,
                   'width': 7,
                   'xorout': 0},
     'crc_7_rohc': {'check': 83,
                    'init': 127,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-7-rohc',
                    'name': 'crc_7_rohc',
                    'poly': 79,
                    'refin': True,
                    'refout': True,
                    'width': 7,
                    'xorout': 0},
     'crc_7_umts': {'check': 97,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-7-umts',
                    'name': 'crc_7_umts',
                    'poly': 69,
                    'refin': False,
                    'refout': False,
                    'width': 7,
                    'xorout': 0},
     'crc_82_darc': {'check': 749237524598872659187218,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-82-darc',
                     'name': 'crc_82_darc',
                     'poly': 229256212191916381701137,
                     'refin': True,
                     'refout': True,
                     'width': 82,
                     'xorout': 0},
     'crc_8_autosar': {'check': 223,
                       'init': 255,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-autosar',
                       'name': 'crc_8_autosar',
                       'poly': 47,
                       'refin': False,
                       'refout': False,
                       'width': 8,
                       'xorout': 255},
     'crc_8_bluetooth': {'check': 38,
                         'init': 0,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-bluetooth',
                         'name': 'crc_8_bluetooth',
                         'poly': 167,
                         'refin': True,
                         'refout': True,
                         'width': 8,
                         'xorout': 0},
     'crc_8_cdma2000': {'check': 218,
                        'init': 255,
                        'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-cdma2000',
                        'name': 'crc_8_cdma2000',
                        'poly': 155,
                        'refin': False,
                        'refout': False,
                        'width': 8,
                        'xorout': 0},
     'crc_8_darc': {'check': 21,
                    'init': 0,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-darc',
                    'name': 'crc_8_darc',
                    'poly': 57,
                    'refin': True,
                    'refout': True,
                    'width': 8,
                    'xorout': 0},
     'crc_8_dvb_s2': {'check': 188,
                      'init': 0,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-dvb-s2',
                      'name': 'crc_8_dvb_s2',
                      'poly': 213,
                      'refin': False,
                      'refout': False,
                      'width': 8,
                      'xorout': 0},
     'crc_8_gsm_a': {'check': 55,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-gsm-a',
                     'name': 'crc_8_gsm_a',
                     'poly': 29,
                     'refin': False,
                     'refout': False,
                     'width': 8,
                     'xorout': 0},
     'crc_8_gsm_b': {'check': 148,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-gsm-b',
                     'name': 'crc_8_gsm_b',
                     'poly': 73,
                     'refin': False,
                     'refout': False,
                     'width': 8,
                     'xorout': 255},
     'crc_8_hitag': {'check': 180,
                     'init': 255,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-hitag',
                     'name': 'crc_8_hitag',
                     'poly': 29,
                     'refin': False,
                     'refout': False,
                     'width': 8,
                     'xorout': 0},
     'crc_8_i_432_1': {'check': 161,
                       'init': 0,
                       'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-i-432-1',
                       'name': 'crc_8_i_432_1',
                       'poly': 7,
                       'refin': False,
                       'refout': False,
                       'width': 8,
                       'xorout': 85},
     'crc_8_i_code': {'check': 126,
                      'init': 253,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-i-code',
                      'name': 'crc_8_i_code',
                      'poly': 29,
                      'refin': False,
                      'refout': False,
                      'width': 8,
                      'xorout': 0},
     'crc_8_lte': {'check': 234,
                   'init': 0,
                   'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-lte',
                   'name': 'crc_8_lte',
                   'poly': 155,
                   'refin': False,
                   'refout': False,
                   'width': 8,
                   'xorout': 0},
     'crc_8_maxim_dow': {'check': 161,
                         'init': 0,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-maxim-dow',
                         'name': 'crc_8_maxim_dow',
                         'poly': 49,
                         'refin': True,
                         'refout': True,
                         'width': 8,
                         'xorout': 0},
     'crc_8_mifare_mad': {'check': 153,
                          'init': 199,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-mifare-mad',
                          'name': 'crc_8_mifare_mad',
                          'poly': 29,
                          'refin': False,
                          'refout': False,
                          'width': 8,
                          'xorout': 0},
     'crc_8_nrsc_5': {'check': 247,
                      'init': 255,
                      'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-nrsc-5',
                      'name': 'crc_8_nrsc_5',
                      'poly': 49,
                      'refin': False,
                      'refout': False,
                      'width': 8,
                      'xorout': 0},
     'crc_8_opensafety': {'check': 62,
                          'init': 0,
                          'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-opensafety',
                          'name': 'crc_8_opensafety',
                          'poly': 47,
                          'refin': False,
                          'refout': False,
                          'width': 8,
                          'xorout': 0},
     'crc_8_rohc': {'check': 208,
                    'init': 255,
                    'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-rohc',
                    'name': 'crc_8_rohc',
                    'poly': 7,
                    'refin': True,
                    'refout': True,
                    'width': 8,
                    'xorout': 0},
     'crc_8_sae_j1850': {'check': 75,
                         'init': 255,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-sae-j1850',
                         'name': 'crc_8_sae_j1850',
                         'poly': 29,
                         'refin': False,
                         'refout': False,
                         'width': 8,
                         'xorout': 255},
     'crc_8_smbus': {'check': 244,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-smbus',
                     'name': 'crc_8_smbus',
                     'poly': 7,
                     'refin': False,
                     'refout': False,
                     'width': 8,
                     'xorout': 0},
     'crc_8_tech_3250': {'check': 151,
                         'init': 255,
                         'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-tech-3250',
                         'name': 'crc_8_tech_3250',
                         'poly': 29,
                         'refin': True,
                         'refout': True,
                         'width': 8,
                         'xorout': 0},
     'crc_8_wcdma': {'check': 37,
                     'init': 0,
                     'link': 'https://reveng.sourceforge.io/crc-catalogue/all.htm#crc.cat.crc-8-wcdma',
                     'name': 'crc_8_wcdma',
                     'poly': 155,
                     'refin': True,
                     'refout': True,
                     'width': 8,
                     'xorout': 0}}