162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * Aug 8, 2011 Bob Pearson with help from Joakim Tjernlund and George Spelvin
362306a36Sopenharmony_ci * cleaned up code to current version of sparse and added the slicing-by-8
462306a36Sopenharmony_ci * algorithm to the closely similar existing slicing-by-4 algorithm.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Oct 15, 2000 Matt Domsch <Matt_Domsch@dell.com>
762306a36Sopenharmony_ci * Nicer crc32 functions/docs submitted by linux@horizon.com.  Thanks!
862306a36Sopenharmony_ci * Code was from the public domain, copyright abandoned.  Code was
962306a36Sopenharmony_ci * subsequently included in the kernel, thus was re-licensed under the
1062306a36Sopenharmony_ci * GNU GPL v2.
1162306a36Sopenharmony_ci *
1262306a36Sopenharmony_ci * Oct 12, 2000 Matt Domsch <Matt_Domsch@dell.com>
1362306a36Sopenharmony_ci * Same crc32 function was used in 5 other places in the kernel.
1462306a36Sopenharmony_ci * I made one version, and deleted the others.
1562306a36Sopenharmony_ci * There are various incantations of crc32().  Some use a seed of 0 or ~0.
1662306a36Sopenharmony_ci * Some xor at the end with ~0.  The generic crc32() function takes
1762306a36Sopenharmony_ci * seed as an argument, and doesn't xor at the end.  Then individual
1862306a36Sopenharmony_ci * users can do whatever they need.
1962306a36Sopenharmony_ci *   drivers/net/smc9194.c uses seed ~0, doesn't xor with ~0.
2062306a36Sopenharmony_ci *   fs/jffs2 uses seed 0, doesn't xor with ~0.
2162306a36Sopenharmony_ci *   fs/partitions/efi.c uses seed ~0, xor's with ~0.
2262306a36Sopenharmony_ci *
2362306a36Sopenharmony_ci * This source code is licensed under the GNU General Public License,
2462306a36Sopenharmony_ci * Version 2.  See the file COPYING for more details.
2562306a36Sopenharmony_ci */
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#include <linux/crc32.h>
2862306a36Sopenharmony_ci#include <linux/module.h>
2962306a36Sopenharmony_ci#include <linux/sched.h>
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci#include "crc32defs.h"
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci/* 4096 random bytes */
3462306a36Sopenharmony_cistatic u8 const __aligned(8) test_buf[] __initconst =
3562306a36Sopenharmony_ci{
3662306a36Sopenharmony_ci	0x5b, 0x85, 0x21, 0xcb, 0x09, 0x68, 0x7d, 0x30,
3762306a36Sopenharmony_ci	0xc7, 0x69, 0xd7, 0x30, 0x92, 0xde, 0x59, 0xe4,
3862306a36Sopenharmony_ci	0xc9, 0x6e, 0x8b, 0xdb, 0x98, 0x6b, 0xaa, 0x60,
3962306a36Sopenharmony_ci	0xa8, 0xb5, 0xbc, 0x6c, 0xa9, 0xb1, 0x5b, 0x2c,
4062306a36Sopenharmony_ci	0xea, 0xb4, 0x92, 0x6a, 0x3f, 0x79, 0x91, 0xe4,
4162306a36Sopenharmony_ci	0xe9, 0x70, 0x51, 0x8c, 0x7f, 0x95, 0x6f, 0x1a,
4262306a36Sopenharmony_ci	0x56, 0xa1, 0x5c, 0x27, 0x03, 0x67, 0x9f, 0x3a,
4362306a36Sopenharmony_ci	0xe2, 0x31, 0x11, 0x29, 0x6b, 0x98, 0xfc, 0xc4,
4462306a36Sopenharmony_ci	0x53, 0x24, 0xc5, 0x8b, 0xce, 0x47, 0xb2, 0xb9,
4562306a36Sopenharmony_ci	0x32, 0xcb, 0xc1, 0xd0, 0x03, 0x57, 0x4e, 0xd4,
4662306a36Sopenharmony_ci	0xe9, 0x3c, 0xa1, 0x63, 0xcf, 0x12, 0x0e, 0xca,
4762306a36Sopenharmony_ci	0xe1, 0x13, 0xd1, 0x93, 0xa6, 0x88, 0x5c, 0x61,
4862306a36Sopenharmony_ci	0x5b, 0xbb, 0xf0, 0x19, 0x46, 0xb4, 0xcf, 0x9e,
4962306a36Sopenharmony_ci	0xb6, 0x6b, 0x4c, 0x3a, 0xcf, 0x60, 0xf9, 0x7a,
5062306a36Sopenharmony_ci	0x8d, 0x07, 0x63, 0xdb, 0x40, 0xe9, 0x0b, 0x6f,
5162306a36Sopenharmony_ci	0xad, 0x97, 0xf1, 0xed, 0xd0, 0x1e, 0x26, 0xfd,
5262306a36Sopenharmony_ci	0xbf, 0xb7, 0xc8, 0x04, 0x94, 0xf8, 0x8b, 0x8c,
5362306a36Sopenharmony_ci	0xf1, 0xab, 0x7a, 0xd4, 0xdd, 0xf3, 0xe8, 0x88,
5462306a36Sopenharmony_ci	0xc3, 0xed, 0x17, 0x8a, 0x9b, 0x40, 0x0d, 0x53,
5562306a36Sopenharmony_ci	0x62, 0x12, 0x03, 0x5f, 0x1b, 0x35, 0x32, 0x1f,
5662306a36Sopenharmony_ci	0xb4, 0x7b, 0x93, 0x78, 0x0d, 0xdb, 0xce, 0xa4,
5762306a36Sopenharmony_ci	0xc0, 0x47, 0xd5, 0xbf, 0x68, 0xe8, 0x5d, 0x74,
5862306a36Sopenharmony_ci	0x8f, 0x8e, 0x75, 0x1c, 0xb2, 0x4f, 0x9a, 0x60,
5962306a36Sopenharmony_ci	0xd1, 0xbe, 0x10, 0xf4, 0x5c, 0xa1, 0x53, 0x09,
6062306a36Sopenharmony_ci	0xa5, 0xe0, 0x09, 0x54, 0x85, 0x5c, 0xdc, 0x07,
6162306a36Sopenharmony_ci	0xe7, 0x21, 0x69, 0x7b, 0x8a, 0xfd, 0x90, 0xf1,
6262306a36Sopenharmony_ci	0x22, 0xd0, 0xb4, 0x36, 0x28, 0xe6, 0xb8, 0x0f,
6362306a36Sopenharmony_ci	0x39, 0xde, 0xc8, 0xf3, 0x86, 0x60, 0x34, 0xd2,
6462306a36Sopenharmony_ci	0x5e, 0xdf, 0xfd, 0xcf, 0x0f, 0xa9, 0x65, 0xf0,
6562306a36Sopenharmony_ci	0xd5, 0x4d, 0x96, 0x40, 0xe3, 0xdf, 0x3f, 0x95,
6662306a36Sopenharmony_ci	0x5a, 0x39, 0x19, 0x93, 0xf4, 0x75, 0xce, 0x22,
6762306a36Sopenharmony_ci	0x00, 0x1c, 0x93, 0xe2, 0x03, 0x66, 0xf4, 0x93,
6862306a36Sopenharmony_ci	0x73, 0x86, 0x81, 0x8e, 0x29, 0x44, 0x48, 0x86,
6962306a36Sopenharmony_ci	0x61, 0x7c, 0x48, 0xa3, 0x43, 0xd2, 0x9c, 0x8d,
7062306a36Sopenharmony_ci	0xd4, 0x95, 0xdd, 0xe1, 0x22, 0x89, 0x3a, 0x40,
7162306a36Sopenharmony_ci	0x4c, 0x1b, 0x8a, 0x04, 0xa8, 0x09, 0x69, 0x8b,
7262306a36Sopenharmony_ci	0xea, 0xc6, 0x55, 0x8e, 0x57, 0xe6, 0x64, 0x35,
7362306a36Sopenharmony_ci	0xf0, 0xc7, 0x16, 0x9f, 0x5d, 0x5e, 0x86, 0x40,
7462306a36Sopenharmony_ci	0x46, 0xbb, 0xe5, 0x45, 0x88, 0xfe, 0xc9, 0x63,
7562306a36Sopenharmony_ci	0x15, 0xfb, 0xf5, 0xbd, 0x71, 0x61, 0xeb, 0x7b,
7662306a36Sopenharmony_ci	0x78, 0x70, 0x07, 0x31, 0x03, 0x9f, 0xb2, 0xc8,
7762306a36Sopenharmony_ci	0xa7, 0xab, 0x47, 0xfd, 0xdf, 0xa0, 0x78, 0x72,
7862306a36Sopenharmony_ci	0xa4, 0x2a, 0xe4, 0xb6, 0xba, 0xc0, 0x1e, 0x86,
7962306a36Sopenharmony_ci	0x71, 0xe6, 0x3d, 0x18, 0x37, 0x70, 0xe6, 0xff,
8062306a36Sopenharmony_ci	0xe0, 0xbc, 0x0b, 0x22, 0xa0, 0x1f, 0xd3, 0xed,
8162306a36Sopenharmony_ci	0xa2, 0x55, 0x39, 0xab, 0xa8, 0x13, 0x73, 0x7c,
8262306a36Sopenharmony_ci	0x3f, 0xb2, 0xd6, 0x19, 0xac, 0xff, 0x99, 0xed,
8362306a36Sopenharmony_ci	0xe8, 0xe6, 0xa6, 0x22, 0xe3, 0x9c, 0xf1, 0x30,
8462306a36Sopenharmony_ci	0xdc, 0x01, 0x0a, 0x56, 0xfa, 0xe4, 0xc9, 0x99,
8562306a36Sopenharmony_ci	0xdd, 0xa8, 0xd8, 0xda, 0x35, 0x51, 0x73, 0xb4,
8662306a36Sopenharmony_ci	0x40, 0x86, 0x85, 0xdb, 0x5c, 0xd5, 0x85, 0x80,
8762306a36Sopenharmony_ci	0x14, 0x9c, 0xfd, 0x98, 0xa9, 0x82, 0xc5, 0x37,
8862306a36Sopenharmony_ci	0xff, 0x32, 0x5d, 0xd0, 0x0b, 0xfa, 0xdc, 0x04,
8962306a36Sopenharmony_ci	0x5e, 0x09, 0xd2, 0xca, 0x17, 0x4b, 0x1a, 0x8e,
9062306a36Sopenharmony_ci	0x15, 0xe1, 0xcc, 0x4e, 0x52, 0x88, 0x35, 0xbd,
9162306a36Sopenharmony_ci	0x48, 0xfe, 0x15, 0xa0, 0x91, 0xfd, 0x7e, 0x6c,
9262306a36Sopenharmony_ci	0x0e, 0x5d, 0x79, 0x1b, 0x81, 0x79, 0xd2, 0x09,
9362306a36Sopenharmony_ci	0x34, 0x70, 0x3d, 0x81, 0xec, 0xf6, 0x24, 0xbb,
9462306a36Sopenharmony_ci	0xfb, 0xf1, 0x7b, 0xdf, 0x54, 0xea, 0x80, 0x9b,
9562306a36Sopenharmony_ci	0xc7, 0x99, 0x9e, 0xbd, 0x16, 0x78, 0x12, 0x53,
9662306a36Sopenharmony_ci	0x5e, 0x01, 0xa7, 0x4e, 0xbd, 0x67, 0xe1, 0x9b,
9762306a36Sopenharmony_ci	0x4c, 0x0e, 0x61, 0x45, 0x97, 0xd2, 0xf0, 0x0f,
9862306a36Sopenharmony_ci	0xfe, 0x15, 0x08, 0xb7, 0x11, 0x4c, 0xe7, 0xff,
9962306a36Sopenharmony_ci	0x81, 0x53, 0xff, 0x91, 0x25, 0x38, 0x7e, 0x40,
10062306a36Sopenharmony_ci	0x94, 0xe5, 0xe0, 0xad, 0xe6, 0xd9, 0x79, 0xb6,
10162306a36Sopenharmony_ci	0x92, 0xc9, 0xfc, 0xde, 0xc3, 0x1a, 0x23, 0xbb,
10262306a36Sopenharmony_ci	0xdd, 0xc8, 0x51, 0x0c, 0x3a, 0x72, 0xfa, 0x73,
10362306a36Sopenharmony_ci	0x6f, 0xb7, 0xee, 0x61, 0x39, 0x03, 0x01, 0x3f,
10462306a36Sopenharmony_ci	0x7f, 0x94, 0x2e, 0x2e, 0xba, 0x3a, 0xbb, 0xb4,
10562306a36Sopenharmony_ci	0xfa, 0x6a, 0x17, 0xfe, 0xea, 0xef, 0x5e, 0x66,
10662306a36Sopenharmony_ci	0x97, 0x3f, 0x32, 0x3d, 0xd7, 0x3e, 0xb1, 0xf1,
10762306a36Sopenharmony_ci	0x6c, 0x14, 0x4c, 0xfd, 0x37, 0xd3, 0x38, 0x80,
10862306a36Sopenharmony_ci	0xfb, 0xde, 0xa6, 0x24, 0x1e, 0xc8, 0xca, 0x7f,
10962306a36Sopenharmony_ci	0x3a, 0x93, 0xd8, 0x8b, 0x18, 0x13, 0xb2, 0xe5,
11062306a36Sopenharmony_ci	0xe4, 0x93, 0x05, 0x53, 0x4f, 0x84, 0x66, 0xa7,
11162306a36Sopenharmony_ci	0x58, 0x5c, 0x7b, 0x86, 0x52, 0x6d, 0x0d, 0xce,
11262306a36Sopenharmony_ci	0xa4, 0x30, 0x7d, 0xb6, 0x18, 0x9f, 0xeb, 0xff,
11362306a36Sopenharmony_ci	0x22, 0xbb, 0x72, 0x29, 0xb9, 0x44, 0x0b, 0x48,
11462306a36Sopenharmony_ci	0x1e, 0x84, 0x71, 0x81, 0xe3, 0x6d, 0x73, 0x26,
11562306a36Sopenharmony_ci	0x92, 0xb4, 0x4d, 0x2a, 0x29, 0xb8, 0x1f, 0x72,
11662306a36Sopenharmony_ci	0xed, 0xd0, 0xe1, 0x64, 0x77, 0xea, 0x8e, 0x88,
11762306a36Sopenharmony_ci	0x0f, 0xef, 0x3f, 0xb1, 0x3b, 0xad, 0xf9, 0xc9,
11862306a36Sopenharmony_ci	0x8b, 0xd0, 0xac, 0xc6, 0xcc, 0xa9, 0x40, 0xcc,
11962306a36Sopenharmony_ci	0x76, 0xf6, 0x3b, 0x53, 0xb5, 0x88, 0xcb, 0xc8,
12062306a36Sopenharmony_ci	0x37, 0xf1, 0xa2, 0xba, 0x23, 0x15, 0x99, 0x09,
12162306a36Sopenharmony_ci	0xcc, 0xe7, 0x7a, 0x3b, 0x37, 0xf7, 0x58, 0xc8,
12262306a36Sopenharmony_ci	0x46, 0x8c, 0x2b, 0x2f, 0x4e, 0x0e, 0xa6, 0x5c,
12362306a36Sopenharmony_ci	0xea, 0x85, 0x55, 0xba, 0x02, 0x0e, 0x0e, 0x48,
12462306a36Sopenharmony_ci	0xbc, 0xe1, 0xb1, 0x01, 0x35, 0x79, 0x13, 0x3d,
12562306a36Sopenharmony_ci	0x1b, 0xc0, 0x53, 0x68, 0x11, 0xe7, 0x95, 0x0f,
12662306a36Sopenharmony_ci	0x9d, 0x3f, 0x4c, 0x47, 0x7b, 0x4d, 0x1c, 0xae,
12762306a36Sopenharmony_ci	0x50, 0x9b, 0xcb, 0xdd, 0x05, 0x8d, 0x9a, 0x97,
12862306a36Sopenharmony_ci	0xfd, 0x8c, 0xef, 0x0c, 0x1d, 0x67, 0x73, 0xa8,
12962306a36Sopenharmony_ci	0x28, 0x36, 0xd5, 0xb6, 0x92, 0x33, 0x40, 0x75,
13062306a36Sopenharmony_ci	0x0b, 0x51, 0xc3, 0x64, 0xba, 0x1d, 0xc2, 0xcc,
13162306a36Sopenharmony_ci	0xee, 0x7d, 0x54, 0x0f, 0x27, 0x69, 0xa7, 0x27,
13262306a36Sopenharmony_ci	0x63, 0x30, 0x29, 0xd9, 0xc8, 0x84, 0xd8, 0xdf,
13362306a36Sopenharmony_ci	0x9f, 0x68, 0x8d, 0x04, 0xca, 0xa6, 0xc5, 0xc7,
13462306a36Sopenharmony_ci	0x7a, 0x5c, 0xc8, 0xd1, 0xcb, 0x4a, 0xec, 0xd0,
13562306a36Sopenharmony_ci	0xd8, 0x20, 0x69, 0xc5, 0x17, 0xcd, 0x78, 0xc8,
13662306a36Sopenharmony_ci	0x75, 0x23, 0x30, 0x69, 0xc9, 0xd4, 0xea, 0x5c,
13762306a36Sopenharmony_ci	0x4f, 0x6b, 0x86, 0x3f, 0x8b, 0xfe, 0xee, 0x44,
13862306a36Sopenharmony_ci	0xc9, 0x7c, 0xb7, 0xdd, 0x3e, 0xe5, 0xec, 0x54,
13962306a36Sopenharmony_ci	0x03, 0x3e, 0xaa, 0x82, 0xc6, 0xdf, 0xb2, 0x38,
14062306a36Sopenharmony_ci	0x0e, 0x5d, 0xb3, 0x88, 0xd9, 0xd3, 0x69, 0x5f,
14162306a36Sopenharmony_ci	0x8f, 0x70, 0x8a, 0x7e, 0x11, 0xd9, 0x1e, 0x7b,
14262306a36Sopenharmony_ci	0x38, 0xf1, 0x42, 0x1a, 0xc0, 0x35, 0xf5, 0xc7,
14362306a36Sopenharmony_ci	0x36, 0x85, 0xf5, 0xf7, 0xb8, 0x7e, 0xc7, 0xef,
14462306a36Sopenharmony_ci	0x18, 0xf1, 0x63, 0xd6, 0x7a, 0xc6, 0xc9, 0x0e,
14562306a36Sopenharmony_ci	0x4d, 0x69, 0x4f, 0x84, 0xef, 0x26, 0x41, 0x0c,
14662306a36Sopenharmony_ci	0xec, 0xc7, 0xe0, 0x7e, 0x3c, 0x67, 0x01, 0x4c,
14762306a36Sopenharmony_ci	0x62, 0x1a, 0x20, 0x6f, 0xee, 0x47, 0x4d, 0xc0,
14862306a36Sopenharmony_ci	0x99, 0x13, 0x8d, 0x91, 0x4a, 0x26, 0xd4, 0x37,
14962306a36Sopenharmony_ci	0x28, 0x90, 0x58, 0x75, 0x66, 0x2b, 0x0a, 0xdf,
15062306a36Sopenharmony_ci	0xda, 0xee, 0x92, 0x25, 0x90, 0x62, 0x39, 0x9e,
15162306a36Sopenharmony_ci	0x44, 0x98, 0xad, 0xc1, 0x88, 0xed, 0xe4, 0xb4,
15262306a36Sopenharmony_ci	0xaf, 0xf5, 0x8c, 0x9b, 0x48, 0x4d, 0x56, 0x60,
15362306a36Sopenharmony_ci	0x97, 0x0f, 0x61, 0x59, 0x9e, 0xa6, 0x27, 0xfe,
15462306a36Sopenharmony_ci	0xc1, 0x91, 0x15, 0x38, 0xb8, 0x0f, 0xae, 0x61,
15562306a36Sopenharmony_ci	0x7d, 0x26, 0x13, 0x5a, 0x73, 0xff, 0x1c, 0xa3,
15662306a36Sopenharmony_ci	0x61, 0x04, 0x58, 0x48, 0x55, 0x44, 0x11, 0xfe,
15762306a36Sopenharmony_ci	0x15, 0xca, 0xc3, 0xbd, 0xca, 0xc5, 0xb4, 0x40,
15862306a36Sopenharmony_ci	0x5d, 0x1b, 0x7f, 0x39, 0xb5, 0x9c, 0x35, 0xec,
15962306a36Sopenharmony_ci	0x61, 0x15, 0x32, 0x32, 0xb8, 0x4e, 0x40, 0x9f,
16062306a36Sopenharmony_ci	0x17, 0x1f, 0x0a, 0x4d, 0xa9, 0x91, 0xef, 0xb7,
16162306a36Sopenharmony_ci	0xb0, 0xeb, 0xc2, 0x83, 0x9a, 0x6c, 0xd2, 0x79,
16262306a36Sopenharmony_ci	0x43, 0x78, 0x5e, 0x2f, 0xe5, 0xdd, 0x1a, 0x3c,
16362306a36Sopenharmony_ci	0x45, 0xab, 0x29, 0x40, 0x3a, 0x37, 0x5b, 0x6f,
16462306a36Sopenharmony_ci	0xd7, 0xfc, 0x48, 0x64, 0x3c, 0x49, 0xfb, 0x21,
16562306a36Sopenharmony_ci	0xbe, 0xc3, 0xff, 0x07, 0xfb, 0x17, 0xe9, 0xc9,
16662306a36Sopenharmony_ci	0x0c, 0x4c, 0x5c, 0x15, 0x9e, 0x8e, 0x22, 0x30,
16762306a36Sopenharmony_ci	0x0a, 0xde, 0x48, 0x7f, 0xdb, 0x0d, 0xd1, 0x2b,
16862306a36Sopenharmony_ci	0x87, 0x38, 0x9e, 0xcc, 0x5a, 0x01, 0x16, 0xee,
16962306a36Sopenharmony_ci	0x75, 0x49, 0x0d, 0x30, 0x01, 0x34, 0x6a, 0xb6,
17062306a36Sopenharmony_ci	0x9a, 0x5a, 0x2a, 0xec, 0xbb, 0x48, 0xac, 0xd3,
17162306a36Sopenharmony_ci	0x77, 0x83, 0xd8, 0x08, 0x86, 0x4f, 0x48, 0x09,
17262306a36Sopenharmony_ci	0x29, 0x41, 0x79, 0xa1, 0x03, 0x12, 0xc4, 0xcd,
17362306a36Sopenharmony_ci	0x90, 0x55, 0x47, 0x66, 0x74, 0x9a, 0xcc, 0x4f,
17462306a36Sopenharmony_ci	0x35, 0x8c, 0xd6, 0x98, 0xef, 0xeb, 0x45, 0xb9,
17562306a36Sopenharmony_ci	0x9a, 0x26, 0x2f, 0x39, 0xa5, 0x70, 0x6d, 0xfc,
17662306a36Sopenharmony_ci	0xb4, 0x51, 0xee, 0xf4, 0x9c, 0xe7, 0x38, 0x59,
17762306a36Sopenharmony_ci	0xad, 0xf4, 0xbc, 0x46, 0xff, 0x46, 0x8e, 0x60,
17862306a36Sopenharmony_ci	0x9c, 0xa3, 0x60, 0x1d, 0xf8, 0x26, 0x72, 0xf5,
17962306a36Sopenharmony_ci	0x72, 0x9d, 0x68, 0x80, 0x04, 0xf6, 0x0b, 0xa1,
18062306a36Sopenharmony_ci	0x0a, 0xd5, 0xa7, 0x82, 0x3a, 0x3e, 0x47, 0xa8,
18162306a36Sopenharmony_ci	0x5a, 0xde, 0x59, 0x4f, 0x7b, 0x07, 0xb3, 0xe9,
18262306a36Sopenharmony_ci	0x24, 0x19, 0x3d, 0x34, 0x05, 0xec, 0xf1, 0xab,
18362306a36Sopenharmony_ci	0x6e, 0x64, 0x8f, 0xd3, 0xe6, 0x41, 0x86, 0x80,
18462306a36Sopenharmony_ci	0x70, 0xe3, 0x8d, 0x60, 0x9c, 0x34, 0x25, 0x01,
18562306a36Sopenharmony_ci	0x07, 0x4d, 0x19, 0x41, 0x4e, 0x3d, 0x5c, 0x7e,
18662306a36Sopenharmony_ci	0xa8, 0xf5, 0xcc, 0xd5, 0x7b, 0xe2, 0x7d, 0x3d,
18762306a36Sopenharmony_ci	0x49, 0x86, 0x7d, 0x07, 0xb7, 0x10, 0xe3, 0x35,
18862306a36Sopenharmony_ci	0xb8, 0x84, 0x6d, 0x76, 0xab, 0x17, 0xc6, 0x38,
18962306a36Sopenharmony_ci	0xb4, 0xd3, 0x28, 0x57, 0xad, 0xd3, 0x88, 0x5a,
19062306a36Sopenharmony_ci	0xda, 0xea, 0xc8, 0x94, 0xcc, 0x37, 0x19, 0xac,
19162306a36Sopenharmony_ci	0x9c, 0x9f, 0x4b, 0x00, 0x15, 0xc0, 0xc8, 0xca,
19262306a36Sopenharmony_ci	0x1f, 0x15, 0xaa, 0xe0, 0xdb, 0xf9, 0x2f, 0x57,
19362306a36Sopenharmony_ci	0x1b, 0x24, 0xc7, 0x6f, 0x76, 0x29, 0xfb, 0xed,
19462306a36Sopenharmony_ci	0x25, 0x0d, 0xc0, 0xfe, 0xbd, 0x5a, 0xbf, 0x20,
19562306a36Sopenharmony_ci	0x08, 0x51, 0x05, 0xec, 0x71, 0xa3, 0xbf, 0xef,
19662306a36Sopenharmony_ci	0x5e, 0x99, 0x75, 0xdb, 0x3c, 0x5f, 0x9a, 0x8c,
19762306a36Sopenharmony_ci	0xbb, 0x19, 0x5c, 0x0e, 0x93, 0x19, 0xf8, 0x6a,
19862306a36Sopenharmony_ci	0xbc, 0xf2, 0x12, 0x54, 0x2f, 0xcb, 0x28, 0x64,
19962306a36Sopenharmony_ci	0x88, 0xb3, 0x92, 0x0d, 0x96, 0xd1, 0xa6, 0xe4,
20062306a36Sopenharmony_ci	0x1f, 0xf1, 0x4d, 0xa4, 0xab, 0x1c, 0xee, 0x54,
20162306a36Sopenharmony_ci	0xf2, 0xad, 0x29, 0x6d, 0x32, 0x37, 0xb2, 0x16,
20262306a36Sopenharmony_ci	0x77, 0x5c, 0xdc, 0x2e, 0x54, 0xec, 0x75, 0x26,
20362306a36Sopenharmony_ci	0xc6, 0x36, 0xd9, 0x17, 0x2c, 0xf1, 0x7a, 0xdc,
20462306a36Sopenharmony_ci	0x4b, 0xf1, 0xe2, 0xd9, 0x95, 0xba, 0xac, 0x87,
20562306a36Sopenharmony_ci	0xc1, 0xf3, 0x8e, 0x58, 0x08, 0xd8, 0x87, 0x60,
20662306a36Sopenharmony_ci	0xc9, 0xee, 0x6a, 0xde, 0xa4, 0xd2, 0xfc, 0x0d,
20762306a36Sopenharmony_ci	0xe5, 0x36, 0xc4, 0x5c, 0x52, 0xb3, 0x07, 0x54,
20862306a36Sopenharmony_ci	0x65, 0x24, 0xc1, 0xb1, 0xd1, 0xb1, 0x53, 0x13,
20962306a36Sopenharmony_ci	0x31, 0x79, 0x7f, 0x05, 0x76, 0xeb, 0x37, 0x59,
21062306a36Sopenharmony_ci	0x15, 0x2b, 0xd1, 0x3f, 0xac, 0x08, 0x97, 0xeb,
21162306a36Sopenharmony_ci	0x91, 0x98, 0xdf, 0x6c, 0x09, 0x0d, 0x04, 0x9f,
21262306a36Sopenharmony_ci	0xdc, 0x3b, 0x0e, 0x60, 0x68, 0x47, 0x23, 0x15,
21362306a36Sopenharmony_ci	0x16, 0xc6, 0x0b, 0x35, 0xf8, 0x77, 0xa2, 0x78,
21462306a36Sopenharmony_ci	0x50, 0xd4, 0x64, 0x22, 0x33, 0xff, 0xfb, 0x93,
21562306a36Sopenharmony_ci	0x71, 0x46, 0x50, 0x39, 0x1b, 0x9c, 0xea, 0x4e,
21662306a36Sopenharmony_ci	0x8d, 0x0c, 0x37, 0xe5, 0x5c, 0x51, 0x3a, 0x31,
21762306a36Sopenharmony_ci	0xb2, 0x85, 0x84, 0x3f, 0x41, 0xee, 0xa2, 0xc1,
21862306a36Sopenharmony_ci	0xc6, 0x13, 0x3b, 0x54, 0x28, 0xd2, 0x18, 0x37,
21962306a36Sopenharmony_ci	0xcc, 0x46, 0x9f, 0x6a, 0x91, 0x3d, 0x5a, 0x15,
22062306a36Sopenharmony_ci	0x3c, 0x89, 0xa3, 0x61, 0x06, 0x7d, 0x2e, 0x78,
22162306a36Sopenharmony_ci	0xbe, 0x7d, 0x40, 0xba, 0x2f, 0x95, 0xb1, 0x2f,
22262306a36Sopenharmony_ci	0x87, 0x3b, 0x8a, 0xbe, 0x6a, 0xf4, 0xc2, 0x31,
22362306a36Sopenharmony_ci	0x74, 0xee, 0x91, 0xe0, 0x23, 0xaa, 0x5d, 0x7f,
22462306a36Sopenharmony_ci	0xdd, 0xf0, 0x44, 0x8c, 0x0b, 0x59, 0x2b, 0xfc,
22562306a36Sopenharmony_ci	0x48, 0x3a, 0xdf, 0x07, 0x05, 0x38, 0x6c, 0xc9,
22662306a36Sopenharmony_ci	0xeb, 0x18, 0x24, 0x68, 0x8d, 0x58, 0x98, 0xd3,
22762306a36Sopenharmony_ci	0x31, 0xa3, 0xe4, 0x70, 0x59, 0xb1, 0x21, 0xbe,
22862306a36Sopenharmony_ci	0x7e, 0x65, 0x7d, 0xb8, 0x04, 0xab, 0xf6, 0xe4,
22962306a36Sopenharmony_ci	0xd7, 0xda, 0xec, 0x09, 0x8f, 0xda, 0x6d, 0x24,
23062306a36Sopenharmony_ci	0x07, 0xcc, 0x29, 0x17, 0x05, 0x78, 0x1a, 0xc1,
23162306a36Sopenharmony_ci	0xb1, 0xce, 0xfc, 0xaa, 0x2d, 0xe7, 0xcc, 0x85,
23262306a36Sopenharmony_ci	0x84, 0x84, 0x03, 0x2a, 0x0c, 0x3f, 0xa9, 0xf8,
23362306a36Sopenharmony_ci	0xfd, 0x84, 0x53, 0x59, 0x5c, 0xf0, 0xd4, 0x09,
23462306a36Sopenharmony_ci	0xf0, 0xd2, 0x6c, 0x32, 0x03, 0xb0, 0xa0, 0x8c,
23562306a36Sopenharmony_ci	0x52, 0xeb, 0x23, 0x91, 0x88, 0x43, 0x13, 0x46,
23662306a36Sopenharmony_ci	0xf6, 0x1e, 0xb4, 0x1b, 0xf5, 0x8e, 0x3a, 0xb5,
23762306a36Sopenharmony_ci	0x3d, 0x00, 0xf6, 0xe5, 0x08, 0x3d, 0x5f, 0x39,
23862306a36Sopenharmony_ci	0xd3, 0x21, 0x69, 0xbc, 0x03, 0x22, 0x3a, 0xd2,
23962306a36Sopenharmony_ci	0x5c, 0x84, 0xf8, 0x15, 0xc4, 0x80, 0x0b, 0xbc,
24062306a36Sopenharmony_ci	0x29, 0x3c, 0xf3, 0x95, 0x98, 0xcd, 0x8f, 0x35,
24162306a36Sopenharmony_ci	0xbc, 0xa5, 0x3e, 0xfc, 0xd4, 0x13, 0x9e, 0xde,
24262306a36Sopenharmony_ci	0x4f, 0xce, 0x71, 0x9d, 0x09, 0xad, 0xf2, 0x80,
24362306a36Sopenharmony_ci	0x6b, 0x65, 0x7f, 0x03, 0x00, 0x14, 0x7c, 0x15,
24462306a36Sopenharmony_ci	0x85, 0x40, 0x6d, 0x70, 0xea, 0xdc, 0xb3, 0x63,
24562306a36Sopenharmony_ci	0x35, 0x4f, 0x4d, 0xe0, 0xd9, 0xd5, 0x3c, 0x58,
24662306a36Sopenharmony_ci	0x56, 0x23, 0x80, 0xe2, 0x36, 0xdd, 0x75, 0x1d,
24762306a36Sopenharmony_ci	0x94, 0x11, 0x41, 0x8e, 0xe0, 0x81, 0x8e, 0xcf,
24862306a36Sopenharmony_ci	0xe0, 0xe5, 0xf6, 0xde, 0xd1, 0xe7, 0x04, 0x12,
24962306a36Sopenharmony_ci	0x79, 0x92, 0x2b, 0x71, 0x2a, 0x79, 0x8b, 0x7c,
25062306a36Sopenharmony_ci	0x44, 0x79, 0x16, 0x30, 0x4e, 0xf4, 0xf6, 0x9b,
25162306a36Sopenharmony_ci	0xb7, 0x40, 0xa3, 0x5a, 0xa7, 0x69, 0x3e, 0xc1,
25262306a36Sopenharmony_ci	0x3a, 0x04, 0xd0, 0x88, 0xa0, 0x3b, 0xdd, 0xc6,
25362306a36Sopenharmony_ci	0x9e, 0x7e, 0x1e, 0x1e, 0x8f, 0x44, 0xf7, 0x73,
25462306a36Sopenharmony_ci	0x67, 0x1e, 0x1a, 0x78, 0xfa, 0x62, 0xf4, 0xa9,
25562306a36Sopenharmony_ci	0xa8, 0xc6, 0x5b, 0xb8, 0xfa, 0x06, 0x7d, 0x5e,
25662306a36Sopenharmony_ci	0x38, 0x1c, 0x9a, 0x39, 0xe9, 0x39, 0x98, 0x22,
25762306a36Sopenharmony_ci	0x0b, 0xa7, 0xac, 0x0b, 0xf3, 0xbc, 0xf1, 0xeb,
25862306a36Sopenharmony_ci	0x8c, 0x81, 0xe3, 0x48, 0x8a, 0xed, 0x42, 0xc2,
25962306a36Sopenharmony_ci	0x38, 0xcf, 0x3e, 0xda, 0xd2, 0x89, 0x8d, 0x9c,
26062306a36Sopenharmony_ci	0x53, 0xb5, 0x2f, 0x41, 0x01, 0x26, 0x84, 0x9c,
26162306a36Sopenharmony_ci	0xa3, 0x56, 0xf6, 0x49, 0xc7, 0xd4, 0x9f, 0x93,
26262306a36Sopenharmony_ci	0x1b, 0x96, 0x49, 0x5e, 0xad, 0xb3, 0x84, 0x1f,
26362306a36Sopenharmony_ci	0x3c, 0xa4, 0xe0, 0x9b, 0xd1, 0x90, 0xbc, 0x38,
26462306a36Sopenharmony_ci	0x6c, 0xdd, 0x95, 0x4d, 0x9d, 0xb1, 0x71, 0x57,
26562306a36Sopenharmony_ci	0x2d, 0x34, 0xe8, 0xb8, 0x42, 0xc7, 0x99, 0x03,
26662306a36Sopenharmony_ci	0xc7, 0x07, 0x30, 0x65, 0x91, 0x55, 0xd5, 0x90,
26762306a36Sopenharmony_ci	0x70, 0x97, 0x37, 0x68, 0xd4, 0x11, 0xf9, 0xe8,
26862306a36Sopenharmony_ci	0xce, 0xec, 0xdc, 0x34, 0xd5, 0xd3, 0xb7, 0xc4,
26962306a36Sopenharmony_ci	0xb8, 0x97, 0x05, 0x92, 0xad, 0xf8, 0xe2, 0x36,
27062306a36Sopenharmony_ci	0x64, 0x41, 0xc9, 0xc5, 0x41, 0x77, 0x52, 0xd7,
27162306a36Sopenharmony_ci	0x2c, 0xa5, 0x24, 0x2f, 0xd9, 0x34, 0x0b, 0x47,
27262306a36Sopenharmony_ci	0x35, 0xa7, 0x28, 0x8b, 0xc5, 0xcd, 0xe9, 0x46,
27362306a36Sopenharmony_ci	0xac, 0x39, 0x94, 0x3c, 0x10, 0xc6, 0x29, 0x73,
27462306a36Sopenharmony_ci	0x0e, 0x0e, 0x5d, 0xe0, 0x71, 0x03, 0x8a, 0x72,
27562306a36Sopenharmony_ci	0x0e, 0x26, 0xb0, 0x7d, 0x84, 0xed, 0x95, 0x23,
27662306a36Sopenharmony_ci	0x49, 0x5a, 0x45, 0x83, 0x45, 0x60, 0x11, 0x4a,
27762306a36Sopenharmony_ci	0x46, 0x31, 0xd4, 0xd8, 0x16, 0x54, 0x98, 0x58,
27862306a36Sopenharmony_ci	0xed, 0x6d, 0xcc, 0x5d, 0xd6, 0x50, 0x61, 0x9f,
27962306a36Sopenharmony_ci	0x9d, 0xc5, 0x3e, 0x9d, 0x32, 0x47, 0xde, 0x96,
28062306a36Sopenharmony_ci	0xe1, 0x5d, 0xd8, 0xf8, 0xb4, 0x69, 0x6f, 0xb9,
28162306a36Sopenharmony_ci	0x15, 0x90, 0x57, 0x7a, 0xf6, 0xad, 0xb0, 0x5b,
28262306a36Sopenharmony_ci	0xf5, 0xa6, 0x36, 0x94, 0xfd, 0x84, 0xce, 0x1c,
28362306a36Sopenharmony_ci	0x0f, 0x4b, 0xd0, 0xc2, 0x5b, 0x6b, 0x56, 0xef,
28462306a36Sopenharmony_ci	0x73, 0x93, 0x0b, 0xc3, 0xee, 0xd9, 0xcf, 0xd3,
28562306a36Sopenharmony_ci	0xa4, 0x22, 0x58, 0xcd, 0x50, 0x6e, 0x65, 0xf4,
28662306a36Sopenharmony_ci	0xe9, 0xb7, 0x71, 0xaf, 0x4b, 0xb3, 0xb6, 0x2f,
28762306a36Sopenharmony_ci	0x0f, 0x0e, 0x3b, 0xc9, 0x85, 0x14, 0xf5, 0x17,
28862306a36Sopenharmony_ci	0xe8, 0x7a, 0x3a, 0xbf, 0x5f, 0x5e, 0xf8, 0x18,
28962306a36Sopenharmony_ci	0x48, 0xa6, 0x72, 0xab, 0x06, 0x95, 0xe9, 0xc8,
29062306a36Sopenharmony_ci	0xa7, 0xf4, 0x32, 0x44, 0x04, 0x0c, 0x84, 0x98,
29162306a36Sopenharmony_ci	0x73, 0xe3, 0x89, 0x8d, 0x5f, 0x7e, 0x4a, 0x42,
29262306a36Sopenharmony_ci	0x8f, 0xc5, 0x28, 0xb1, 0x82, 0xef, 0x1c, 0x97,
29362306a36Sopenharmony_ci	0x31, 0x3b, 0x4d, 0xe0, 0x0e, 0x10, 0x10, 0x97,
29462306a36Sopenharmony_ci	0x93, 0x49, 0x78, 0x2f, 0x0d, 0x86, 0x8b, 0xa1,
29562306a36Sopenharmony_ci	0x53, 0xa9, 0x81, 0x20, 0x79, 0xe7, 0x07, 0x77,
29662306a36Sopenharmony_ci	0xb6, 0xac, 0x5e, 0xd2, 0x05, 0xcd, 0xe9, 0xdb,
29762306a36Sopenharmony_ci	0x8a, 0x94, 0x82, 0x8a, 0x23, 0xb9, 0x3d, 0x1c,
29862306a36Sopenharmony_ci	0xa9, 0x7d, 0x72, 0x4a, 0xed, 0x33, 0xa3, 0xdb,
29962306a36Sopenharmony_ci	0x21, 0xa7, 0x86, 0x33, 0x45, 0xa5, 0xaa, 0x56,
30062306a36Sopenharmony_ci	0x45, 0xb5, 0x83, 0x29, 0x40, 0x47, 0x79, 0x04,
30162306a36Sopenharmony_ci	0x6e, 0xb9, 0x95, 0xd0, 0x81, 0x77, 0x2d, 0x48,
30262306a36Sopenharmony_ci	0x1e, 0xfe, 0xc3, 0xc2, 0x1e, 0xe5, 0xf2, 0xbe,
30362306a36Sopenharmony_ci	0xfd, 0x3b, 0x94, 0x9f, 0xc4, 0xc4, 0x26, 0x9d,
30462306a36Sopenharmony_ci	0xe4, 0x66, 0x1e, 0x19, 0xee, 0x6c, 0x79, 0x97,
30562306a36Sopenharmony_ci	0x11, 0x31, 0x4b, 0x0d, 0x01, 0xcb, 0xde, 0xa8,
30662306a36Sopenharmony_ci	0xf6, 0x6d, 0x7c, 0x39, 0x46, 0x4e, 0x7e, 0x3f,
30762306a36Sopenharmony_ci	0x94, 0x17, 0xdf, 0xa1, 0x7d, 0xd9, 0x1c, 0x8e,
30862306a36Sopenharmony_ci	0xbc, 0x7d, 0x33, 0x7d, 0xe3, 0x12, 0x40, 0xca,
30962306a36Sopenharmony_ci	0xab, 0x37, 0x11, 0x46, 0xd4, 0xae, 0xef, 0x44,
31062306a36Sopenharmony_ci	0xa2, 0xb3, 0x6a, 0x66, 0x0e, 0x0c, 0x90, 0x7f,
31162306a36Sopenharmony_ci	0xdf, 0x5c, 0x66, 0x5f, 0xf2, 0x94, 0x9f, 0xa6,
31262306a36Sopenharmony_ci	0x73, 0x4f, 0xeb, 0x0d, 0xad, 0xbf, 0xc0, 0x63,
31362306a36Sopenharmony_ci	0x5c, 0xdc, 0x46, 0x51, 0xe8, 0x8e, 0x90, 0x19,
31462306a36Sopenharmony_ci	0xa8, 0xa4, 0x3c, 0x91, 0x79, 0xfa, 0x7e, 0x58,
31562306a36Sopenharmony_ci	0x85, 0x13, 0x55, 0xc5, 0x19, 0x82, 0x37, 0x1b,
31662306a36Sopenharmony_ci	0x0a, 0x02, 0x1f, 0x99, 0x6b, 0x18, 0xf1, 0x28,
31762306a36Sopenharmony_ci	0x08, 0xa2, 0x73, 0xb8, 0x0f, 0x2e, 0xcd, 0xbf,
31862306a36Sopenharmony_ci	0xf3, 0x86, 0x7f, 0xea, 0xef, 0xd0, 0xbb, 0xa6,
31962306a36Sopenharmony_ci	0x21, 0xdf, 0x49, 0x73, 0x51, 0xcc, 0x36, 0xd3,
32062306a36Sopenharmony_ci	0x3e, 0xa0, 0xf8, 0x44, 0xdf, 0xd3, 0xa6, 0xbe,
32162306a36Sopenharmony_ci	0x8a, 0xd4, 0x57, 0xdd, 0x72, 0x94, 0x61, 0x0f,
32262306a36Sopenharmony_ci	0x82, 0xd1, 0x07, 0xb8, 0x7c, 0x18, 0x83, 0xdf,
32362306a36Sopenharmony_ci	0x3a, 0xe5, 0x50, 0x6a, 0x82, 0x20, 0xac, 0xa9,
32462306a36Sopenharmony_ci	0xa8, 0xff, 0xd9, 0xf3, 0x77, 0x33, 0x5a, 0x9e,
32562306a36Sopenharmony_ci	0x7f, 0x6d, 0xfe, 0x5d, 0x33, 0x41, 0x42, 0xe7,
32662306a36Sopenharmony_ci	0x6c, 0x19, 0xe0, 0x44, 0x8a, 0x15, 0xf6, 0x70,
32762306a36Sopenharmony_ci	0x98, 0xb7, 0x68, 0x4d, 0xfa, 0x97, 0x39, 0xb0,
32862306a36Sopenharmony_ci	0x8e, 0xe8, 0x84, 0x8b, 0x75, 0x30, 0xb7, 0x7d,
32962306a36Sopenharmony_ci	0x92, 0x69, 0x20, 0x9c, 0x81, 0xfb, 0x4b, 0xf4,
33062306a36Sopenharmony_ci	0x01, 0x50, 0xeb, 0xce, 0x0c, 0x1c, 0x6c, 0xb5,
33162306a36Sopenharmony_ci	0x4a, 0xd7, 0x27, 0x0c, 0xce, 0xbb, 0xe5, 0x85,
33262306a36Sopenharmony_ci	0xf0, 0xb6, 0xee, 0xd5, 0x70, 0xdd, 0x3b, 0xfc,
33362306a36Sopenharmony_ci	0xd4, 0x99, 0xf1, 0x33, 0xdd, 0x8b, 0xc4, 0x2f,
33462306a36Sopenharmony_ci	0xae, 0xab, 0x74, 0x96, 0x32, 0xc7, 0x4c, 0x56,
33562306a36Sopenharmony_ci	0x3c, 0x89, 0x0f, 0x96, 0x0b, 0x42, 0xc0, 0xcb,
33662306a36Sopenharmony_ci	0xee, 0x0f, 0x0b, 0x8c, 0xfb, 0x7e, 0x47, 0x7b,
33762306a36Sopenharmony_ci	0x64, 0x48, 0xfd, 0xb2, 0x00, 0x80, 0x89, 0xa5,
33862306a36Sopenharmony_ci	0x13, 0x55, 0x62, 0xfc, 0x8f, 0xe2, 0x42, 0x03,
33962306a36Sopenharmony_ci	0xb7, 0x4e, 0x2a, 0x79, 0xb4, 0x82, 0xea, 0x23,
34062306a36Sopenharmony_ci	0x49, 0xda, 0xaf, 0x52, 0x63, 0x1e, 0x60, 0x03,
34162306a36Sopenharmony_ci	0x89, 0x06, 0x44, 0x46, 0x08, 0xc3, 0xc4, 0x87,
34262306a36Sopenharmony_ci	0x70, 0x2e, 0xda, 0x94, 0xad, 0x6b, 0xe0, 0xe4,
34362306a36Sopenharmony_ci	0xd1, 0x8a, 0x06, 0xc2, 0xa8, 0xc0, 0xa7, 0x43,
34462306a36Sopenharmony_ci	0x3c, 0x47, 0x52, 0x0e, 0xc3, 0x77, 0x81, 0x11,
34562306a36Sopenharmony_ci	0x67, 0x0e, 0xa0, 0x70, 0x04, 0x47, 0x29, 0x40,
34662306a36Sopenharmony_ci	0x86, 0x0d, 0x34, 0x56, 0xa7, 0xc9, 0x35, 0x59,
34762306a36Sopenharmony_ci	0x68, 0xdc, 0x93, 0x81, 0x70, 0xee, 0x86, 0xd9,
34862306a36Sopenharmony_ci	0x80, 0x06, 0x40, 0x4f, 0x1a, 0x0d, 0x40, 0x30,
34962306a36Sopenharmony_ci	0x0b, 0xcb, 0x96, 0x47, 0xc1, 0xb7, 0x52, 0xfd,
35062306a36Sopenharmony_ci	0x56, 0xe0, 0x72, 0x4b, 0xfb, 0xbd, 0x92, 0x45,
35162306a36Sopenharmony_ci	0x61, 0x71, 0xc2, 0x33, 0x11, 0xbf, 0x52, 0x83,
35262306a36Sopenharmony_ci	0x79, 0x26, 0xe0, 0x49, 0x6b, 0xb7, 0x05, 0x8b,
35362306a36Sopenharmony_ci	0xe8, 0x0e, 0x87, 0x31, 0xd7, 0x9d, 0x8a, 0xf5,
35462306a36Sopenharmony_ci	0xc0, 0x5f, 0x2e, 0x58, 0x4a, 0xdb, 0x11, 0xb3,
35562306a36Sopenharmony_ci	0x6c, 0x30, 0x2a, 0x46, 0x19, 0xe3, 0x27, 0x84,
35662306a36Sopenharmony_ci	0x1f, 0x63, 0x6e, 0xf6, 0x57, 0xc7, 0xc9, 0xd8,
35762306a36Sopenharmony_ci	0x5e, 0xba, 0xb3, 0x87, 0xd5, 0x83, 0x26, 0x34,
35862306a36Sopenharmony_ci	0x21, 0x9e, 0x65, 0xde, 0x42, 0xd3, 0xbe, 0x7b,
35962306a36Sopenharmony_ci	0xbc, 0x91, 0x71, 0x44, 0x4d, 0x99, 0x3b, 0x31,
36062306a36Sopenharmony_ci	0xe5, 0x3f, 0x11, 0x4e, 0x7f, 0x13, 0x51, 0x3b,
36162306a36Sopenharmony_ci	0xae, 0x79, 0xc9, 0xd3, 0x81, 0x8e, 0x25, 0x40,
36262306a36Sopenharmony_ci	0x10, 0xfc, 0x07, 0x1e, 0xf9, 0x7b, 0x9a, 0x4b,
36362306a36Sopenharmony_ci	0x6c, 0xe3, 0xb3, 0xad, 0x1a, 0x0a, 0xdd, 0x9e,
36462306a36Sopenharmony_ci	0x59, 0x0c, 0xa2, 0xcd, 0xae, 0x48, 0x4a, 0x38,
36562306a36Sopenharmony_ci	0x5b, 0x47, 0x41, 0x94, 0x65, 0x6b, 0xbb, 0xeb,
36662306a36Sopenharmony_ci	0x5b, 0xe3, 0xaf, 0x07, 0x5b, 0xd4, 0x4a, 0xa2,
36762306a36Sopenharmony_ci	0xc9, 0x5d, 0x2f, 0x64, 0x03, 0xd7, 0x3a, 0x2c,
36862306a36Sopenharmony_ci	0x6e, 0xce, 0x76, 0x95, 0xb4, 0xb3, 0xc0, 0xf1,
36962306a36Sopenharmony_ci	0xe2, 0x45, 0x73, 0x7a, 0x5c, 0xab, 0xc1, 0xfc,
37062306a36Sopenharmony_ci	0x02, 0x8d, 0x81, 0x29, 0xb3, 0xac, 0x07, 0xec,
37162306a36Sopenharmony_ci	0x40, 0x7d, 0x45, 0xd9, 0x7a, 0x59, 0xee, 0x34,
37262306a36Sopenharmony_ci	0xf0, 0xe9, 0xd5, 0x7b, 0x96, 0xb1, 0x3d, 0x95,
37362306a36Sopenharmony_ci	0xcc, 0x86, 0xb5, 0xb6, 0x04, 0x2d, 0xb5, 0x92,
37462306a36Sopenharmony_ci	0x7e, 0x76, 0xf4, 0x06, 0xa9, 0xa3, 0x12, 0x0f,
37562306a36Sopenharmony_ci	0xb1, 0xaf, 0x26, 0xba, 0x7c, 0xfc, 0x7e, 0x1c,
37662306a36Sopenharmony_ci	0xbc, 0x2c, 0x49, 0x97, 0x53, 0x60, 0x13, 0x0b,
37762306a36Sopenharmony_ci	0xa6, 0x61, 0x83, 0x89, 0x42, 0xd4, 0x17, 0x0c,
37862306a36Sopenharmony_ci	0x6c, 0x26, 0x52, 0xc3, 0xb3, 0xd4, 0x67, 0xf5,
37962306a36Sopenharmony_ci	0xe3, 0x04, 0xb7, 0xf4, 0xcb, 0x80, 0xb8, 0xcb,
38062306a36Sopenharmony_ci	0x77, 0x56, 0x3e, 0xaa, 0x57, 0x54, 0xee, 0xb4,
38162306a36Sopenharmony_ci	0x2c, 0x67, 0xcf, 0xf2, 0xdc, 0xbe, 0x55, 0xf9,
38262306a36Sopenharmony_ci	0x43, 0x1f, 0x6e, 0x22, 0x97, 0x67, 0x7f, 0xc4,
38362306a36Sopenharmony_ci	0xef, 0xb1, 0x26, 0x31, 0x1e, 0x27, 0xdf, 0x41,
38462306a36Sopenharmony_ci	0x80, 0x47, 0x6c, 0xe2, 0xfa, 0xa9, 0x8c, 0x2a,
38562306a36Sopenharmony_ci	0xf6, 0xf2, 0xab, 0xf0, 0x15, 0xda, 0x6c, 0xc8,
38662306a36Sopenharmony_ci	0xfe, 0xb5, 0x23, 0xde, 0xa9, 0x05, 0x3f, 0x06,
38762306a36Sopenharmony_ci	0x54, 0x4c, 0xcd, 0xe1, 0xab, 0xfc, 0x0e, 0x62,
38862306a36Sopenharmony_ci	0x33, 0x31, 0x73, 0x2c, 0x76, 0xcb, 0xb4, 0x47,
38962306a36Sopenharmony_ci	0x1e, 0x20, 0xad, 0xd8, 0xf2, 0x31, 0xdd, 0xc4,
39062306a36Sopenharmony_ci	0x8b, 0x0c, 0x77, 0xbe, 0xe1, 0x8b, 0x26, 0x00,
39162306a36Sopenharmony_ci	0x02, 0x58, 0xd6, 0x8d, 0xef, 0xad, 0x74, 0x67,
39262306a36Sopenharmony_ci	0xab, 0x3f, 0xef, 0xcb, 0x6f, 0xb0, 0xcc, 0x81,
39362306a36Sopenharmony_ci	0x44, 0x4c, 0xaf, 0xe9, 0x49, 0x4f, 0xdb, 0xa0,
39462306a36Sopenharmony_ci	0x25, 0xa4, 0xf0, 0x89, 0xf1, 0xbe, 0xd8, 0x10,
39562306a36Sopenharmony_ci	0xff, 0xb1, 0x3b, 0x4b, 0xfa, 0x98, 0xf5, 0x79,
39662306a36Sopenharmony_ci	0x6d, 0x1e, 0x69, 0x4d, 0x57, 0xb1, 0xc8, 0x19,
39762306a36Sopenharmony_ci	0x1b, 0xbd, 0x1e, 0x8c, 0x84, 0xb7, 0x7b, 0xe8,
39862306a36Sopenharmony_ci	0xd2, 0x2d, 0x09, 0x41, 0x41, 0x37, 0x3d, 0xb1,
39962306a36Sopenharmony_ci	0x6f, 0x26, 0x5d, 0x71, 0x16, 0x3d, 0xb7, 0x83,
40062306a36Sopenharmony_ci	0x27, 0x2c, 0xa7, 0xb6, 0x50, 0xbd, 0x91, 0x86,
40162306a36Sopenharmony_ci	0xab, 0x24, 0xa1, 0x38, 0xfd, 0xea, 0x71, 0x55,
40262306a36Sopenharmony_ci	0x7e, 0x9a, 0x07, 0x77, 0x4b, 0xfa, 0x61, 0x66,
40362306a36Sopenharmony_ci	0x20, 0x1e, 0x28, 0x95, 0x18, 0x1b, 0xa4, 0xa0,
40462306a36Sopenharmony_ci	0xfd, 0xc0, 0x89, 0x72, 0x43, 0xd9, 0x3b, 0x49,
40562306a36Sopenharmony_ci	0x5a, 0x3f, 0x9d, 0xbf, 0xdb, 0xb4, 0x46, 0xea,
40662306a36Sopenharmony_ci	0x42, 0x01, 0x77, 0x23, 0x68, 0x95, 0xb6, 0x24,
40762306a36Sopenharmony_ci	0xb3, 0xa8, 0x6c, 0x28, 0x3b, 0x11, 0x40, 0x7e,
40862306a36Sopenharmony_ci	0x18, 0x65, 0x6d, 0xd8, 0x24, 0x42, 0x7d, 0x88,
40962306a36Sopenharmony_ci	0xc0, 0x52, 0xd9, 0x05, 0xe4, 0x95, 0x90, 0x87,
41062306a36Sopenharmony_ci	0x8c, 0xf4, 0xd0, 0x6b, 0xb9, 0x83, 0x99, 0x34,
41162306a36Sopenharmony_ci	0x6d, 0xfe, 0x54, 0x40, 0x94, 0x52, 0x21, 0x4f,
41262306a36Sopenharmony_ci	0x14, 0x25, 0xc5, 0xd6, 0x5e, 0x95, 0xdc, 0x0a,
41362306a36Sopenharmony_ci	0x2b, 0x89, 0x20, 0x11, 0x84, 0x48, 0xd6, 0x3a,
41462306a36Sopenharmony_ci	0xcd, 0x5c, 0x24, 0xad, 0x62, 0xe3, 0xb1, 0x93,
41562306a36Sopenharmony_ci	0x25, 0x8d, 0xcd, 0x7e, 0xfc, 0x27, 0xa3, 0x37,
41662306a36Sopenharmony_ci	0xfd, 0x84, 0xfc, 0x1b, 0xb2, 0xf1, 0x27, 0x38,
41762306a36Sopenharmony_ci	0x5a, 0xb7, 0xfc, 0xf2, 0xfa, 0x95, 0x66, 0xd4,
41862306a36Sopenharmony_ci	0xfb, 0xba, 0xa7, 0xd7, 0xa3, 0x72, 0x69, 0x48,
41962306a36Sopenharmony_ci	0x48, 0x8c, 0xeb, 0x28, 0x89, 0xfe, 0x33, 0x65,
42062306a36Sopenharmony_ci	0x5a, 0x36, 0x01, 0x7e, 0x06, 0x79, 0x0a, 0x09,
42162306a36Sopenharmony_ci	0x3b, 0x74, 0x11, 0x9a, 0x6e, 0xbf, 0xd4, 0x9e,
42262306a36Sopenharmony_ci	0x58, 0x90, 0x49, 0x4f, 0x4d, 0x08, 0xd4, 0xe5,
42362306a36Sopenharmony_ci	0x4a, 0x09, 0x21, 0xef, 0x8b, 0xb8, 0x74, 0x3b,
42462306a36Sopenharmony_ci	0x91, 0xdd, 0x36, 0x85, 0x60, 0x2d, 0xfa, 0xd4,
42562306a36Sopenharmony_ci	0x45, 0x7b, 0x45, 0x53, 0xf5, 0x47, 0x87, 0x7e,
42662306a36Sopenharmony_ci	0xa6, 0x37, 0xc8, 0x78, 0x7a, 0x68, 0x9d, 0x8d,
42762306a36Sopenharmony_ci	0x65, 0x2c, 0x0e, 0x91, 0x5c, 0xa2, 0x60, 0xf0,
42862306a36Sopenharmony_ci	0x8e, 0x3f, 0xe9, 0x1a, 0xcd, 0xaa, 0xe7, 0xd5,
42962306a36Sopenharmony_ci	0x77, 0x18, 0xaf, 0xc9, 0xbc, 0x18, 0xea, 0x48,
43062306a36Sopenharmony_ci	0x1b, 0xfb, 0x22, 0x48, 0x70, 0x16, 0x29, 0x9e,
43162306a36Sopenharmony_ci	0x5b, 0xc1, 0x2c, 0x66, 0x23, 0xbc, 0xf0, 0x1f,
43262306a36Sopenharmony_ci	0xef, 0xaf, 0xe4, 0xd6, 0x04, 0x19, 0x82, 0x7a,
43362306a36Sopenharmony_ci	0x0b, 0xba, 0x4b, 0x46, 0xb1, 0x6a, 0x85, 0x5d,
43462306a36Sopenharmony_ci	0xb4, 0x73, 0xd6, 0x21, 0xa1, 0x71, 0x60, 0x14,
43562306a36Sopenharmony_ci	0xee, 0x0a, 0x77, 0xc4, 0x66, 0x2e, 0xf9, 0x69,
43662306a36Sopenharmony_ci	0x30, 0xaf, 0x41, 0x0b, 0xc8, 0x83, 0x3c, 0x53,
43762306a36Sopenharmony_ci	0x99, 0x19, 0x27, 0x46, 0xf7, 0x41, 0x6e, 0x56,
43862306a36Sopenharmony_ci	0xdc, 0x94, 0x28, 0x67, 0x4e, 0xb7, 0x25, 0x48,
43962306a36Sopenharmony_ci	0x8a, 0xc2, 0xe0, 0x60, 0x96, 0xcc, 0x18, 0xf4,
44062306a36Sopenharmony_ci	0x84, 0xdd, 0xa7, 0x5e, 0x3e, 0x05, 0x0b, 0x26,
44162306a36Sopenharmony_ci	0x26, 0xb2, 0x5c, 0x1f, 0x57, 0x1a, 0x04, 0x7e,
44262306a36Sopenharmony_ci	0x6a, 0xe3, 0x2f, 0xb4, 0x35, 0xb6, 0x38, 0x40,
44362306a36Sopenharmony_ci	0x40, 0xcd, 0x6f, 0x87, 0x2e, 0xef, 0xa3, 0xd7,
44462306a36Sopenharmony_ci	0xa9, 0xc2, 0xe8, 0x0d, 0x27, 0xdf, 0x44, 0x62,
44562306a36Sopenharmony_ci	0x99, 0xa0, 0xfc, 0xcf, 0x81, 0x78, 0xcb, 0xfe,
44662306a36Sopenharmony_ci	0xe5, 0xa0, 0x03, 0x4e, 0x6c, 0xd7, 0xf4, 0xaf,
44762306a36Sopenharmony_ci	0x7a, 0xbb, 0x61, 0x82, 0xfe, 0x71, 0x89, 0xb2,
44862306a36Sopenharmony_ci	0x22, 0x7c, 0x8e, 0x83, 0x04, 0xce, 0xf6, 0x5d,
44962306a36Sopenharmony_ci	0x84, 0x8f, 0x95, 0x6a, 0x7f, 0xad, 0xfd, 0x32,
45062306a36Sopenharmony_ci	0x9c, 0x5e, 0xe4, 0x9c, 0x89, 0x60, 0x54, 0xaa,
45162306a36Sopenharmony_ci	0x96, 0x72, 0xd2, 0xd7, 0x36, 0x85, 0xa9, 0x45,
45262306a36Sopenharmony_ci	0xd2, 0x2a, 0xa1, 0x81, 0x49, 0x6f, 0x7e, 0x04,
45362306a36Sopenharmony_ci	0xfa, 0xe2, 0xfe, 0x90, 0x26, 0x77, 0x5a, 0x33,
45462306a36Sopenharmony_ci	0xb8, 0x04, 0x9a, 0x7a, 0xe6, 0x4c, 0x4f, 0xad,
45562306a36Sopenharmony_ci	0x72, 0x96, 0x08, 0x28, 0x58, 0x13, 0xf8, 0xc4,
45662306a36Sopenharmony_ci	0x1c, 0xf0, 0xc3, 0x45, 0x95, 0x49, 0x20, 0x8c,
45762306a36Sopenharmony_ci	0x9f, 0x39, 0x70, 0xe1, 0x77, 0xfe, 0xd5, 0x4b,
45862306a36Sopenharmony_ci	0xaf, 0x86, 0xda, 0xef, 0x22, 0x06, 0x83, 0x36,
45962306a36Sopenharmony_ci	0x29, 0x12, 0x11, 0x40, 0xbc, 0x3b, 0x86, 0xaa,
46062306a36Sopenharmony_ci	0xaa, 0x65, 0x60, 0xc3, 0x80, 0xca, 0xed, 0xa9,
46162306a36Sopenharmony_ci	0xf3, 0xb0, 0x79, 0x96, 0xa2, 0x55, 0x27, 0x28,
46262306a36Sopenharmony_ci	0x55, 0x73, 0x26, 0xa5, 0x50, 0xea, 0x92, 0x4b,
46362306a36Sopenharmony_ci	0x3c, 0x5c, 0x82, 0x33, 0xf0, 0x01, 0x3f, 0x03,
46462306a36Sopenharmony_ci	0xc1, 0x08, 0x05, 0xbf, 0x98, 0xf4, 0x9b, 0x6d,
46562306a36Sopenharmony_ci	0xa5, 0xa8, 0xb4, 0x82, 0x0c, 0x06, 0xfa, 0xff,
46662306a36Sopenharmony_ci	0x2d, 0x08, 0xf3, 0x05, 0x4f, 0x57, 0x2a, 0x39,
46762306a36Sopenharmony_ci	0xd4, 0x83, 0x0d, 0x75, 0x51, 0xd8, 0x5b, 0x1b,
46862306a36Sopenharmony_ci	0xd3, 0x51, 0x5a, 0x32, 0x2a, 0x9b, 0x32, 0xb2,
46962306a36Sopenharmony_ci	0xf2, 0xa4, 0x96, 0x12, 0xf2, 0xae, 0x40, 0x34,
47062306a36Sopenharmony_ci	0x67, 0xa8, 0xf5, 0x44, 0xd5, 0x35, 0x53, 0xfe,
47162306a36Sopenharmony_ci	0xa3, 0x60, 0x96, 0x63, 0x0f, 0x1f, 0x6e, 0xb0,
47262306a36Sopenharmony_ci	0x5a, 0x42, 0xa6, 0xfc, 0x51, 0x0b, 0x60, 0x27,
47362306a36Sopenharmony_ci	0xbc, 0x06, 0x71, 0xed, 0x65, 0x5b, 0x23, 0x86,
47462306a36Sopenharmony_ci	0x4a, 0x07, 0x3b, 0x22, 0x07, 0x46, 0xe6, 0x90,
47562306a36Sopenharmony_ci	0x3e, 0xf3, 0x25, 0x50, 0x1b, 0x4c, 0x7f, 0x03,
47662306a36Sopenharmony_ci	0x08, 0xa8, 0x36, 0x6b, 0x87, 0xe5, 0xe3, 0xdb,
47762306a36Sopenharmony_ci	0x9a, 0x38, 0x83, 0xff, 0x9f, 0x1a, 0x9f, 0x57,
47862306a36Sopenharmony_ci	0xa4, 0x2a, 0xf6, 0x37, 0xbc, 0x1a, 0xff, 0xc9,
47962306a36Sopenharmony_ci	0x1e, 0x35, 0x0c, 0xc3, 0x7c, 0xa3, 0xb2, 0xe5,
48062306a36Sopenharmony_ci	0xd2, 0xc6, 0xb4, 0x57, 0x47, 0xe4, 0x32, 0x16,
48162306a36Sopenharmony_ci	0x6d, 0xa9, 0xae, 0x64, 0xe6, 0x2d, 0x8d, 0xc5,
48262306a36Sopenharmony_ci	0x8d, 0x50, 0x8e, 0xe8, 0x1a, 0x22, 0x34, 0x2a,
48362306a36Sopenharmony_ci	0xd9, 0xeb, 0x51, 0x90, 0x4a, 0xb1, 0x41, 0x7d,
48462306a36Sopenharmony_ci	0x64, 0xf9, 0xb9, 0x0d, 0xf6, 0x23, 0x33, 0xb0,
48562306a36Sopenharmony_ci	0x33, 0xf4, 0xf7, 0x3f, 0x27, 0x84, 0xc6, 0x0f,
48662306a36Sopenharmony_ci	0x54, 0xa5, 0xc0, 0x2e, 0xec, 0x0b, 0x3a, 0x48,
48762306a36Sopenharmony_ci	0x6e, 0x80, 0x35, 0x81, 0x43, 0x9b, 0x90, 0xb1,
48862306a36Sopenharmony_ci	0xd0, 0x2b, 0xea, 0x21, 0xdc, 0xda, 0x5b, 0x09,
48962306a36Sopenharmony_ci	0xf4, 0xcc, 0x10, 0xb4, 0xc7, 0xfe, 0x79, 0x51,
49062306a36Sopenharmony_ci	0xc3, 0xc5, 0xac, 0x88, 0x74, 0x84, 0x0b, 0x4b,
49162306a36Sopenharmony_ci	0xca, 0x79, 0x16, 0x29, 0xfb, 0x69, 0x54, 0xdf,
49262306a36Sopenharmony_ci	0x41, 0x7e, 0xe9, 0xc7, 0x8e, 0xea, 0xa5, 0xfe,
49362306a36Sopenharmony_ci	0xfc, 0x76, 0x0e, 0x90, 0xc4, 0x92, 0x38, 0xad,
49462306a36Sopenharmony_ci	0x7b, 0x48, 0xe6, 0x6e, 0xf7, 0x21, 0xfd, 0x4e,
49562306a36Sopenharmony_ci	0x93, 0x0a, 0x7b, 0x41, 0x83, 0x68, 0xfb, 0x57,
49662306a36Sopenharmony_ci	0x51, 0x76, 0x34, 0xa9, 0x6c, 0x00, 0xaa, 0x4f,
49762306a36Sopenharmony_ci	0x66, 0x65, 0x98, 0x4a, 0x4f, 0xa3, 0xa0, 0xef,
49862306a36Sopenharmony_ci	0x69, 0x3f, 0xe3, 0x1c, 0x92, 0x8c, 0xfd, 0xd8,
49962306a36Sopenharmony_ci	0xe8, 0xde, 0x7c, 0x7f, 0x3e, 0x84, 0x8e, 0x69,
50062306a36Sopenharmony_ci	0x3c, 0xf1, 0xf2, 0x05, 0x46, 0xdc, 0x2f, 0x9d,
50162306a36Sopenharmony_ci	0x5e, 0x6e, 0x4c, 0xfb, 0xb5, 0x99, 0x2a, 0x59,
50262306a36Sopenharmony_ci	0x63, 0xc1, 0x34, 0xbc, 0x57, 0xc0, 0x0d, 0xb9,
50362306a36Sopenharmony_ci	0x61, 0x25, 0xf3, 0x33, 0x23, 0x51, 0xb6, 0x0d,
50462306a36Sopenharmony_ci	0x07, 0xa6, 0xab, 0x94, 0x4a, 0xb7, 0x2a, 0xea,
50562306a36Sopenharmony_ci	0xee, 0xac, 0xa3, 0xc3, 0x04, 0x8b, 0x0e, 0x56,
50662306a36Sopenharmony_ci	0xfe, 0x44, 0xa7, 0x39, 0xe2, 0xed, 0xed, 0xb4,
50762306a36Sopenharmony_ci	0x22, 0x2b, 0xac, 0x12, 0x32, 0x28, 0x91, 0xd8,
50862306a36Sopenharmony_ci	0xa5, 0xab, 0xff, 0x5f, 0xe0, 0x4b, 0xda, 0x78,
50962306a36Sopenharmony_ci	0x17, 0xda, 0xf1, 0x01, 0x5b, 0xcd, 0xe2, 0x5f,
51062306a36Sopenharmony_ci	0x50, 0x45, 0x73, 0x2b, 0xe4, 0x76, 0x77, 0xf4,
51162306a36Sopenharmony_ci	0x64, 0x1d, 0x43, 0xfb, 0x84, 0x7a, 0xea, 0x91,
51262306a36Sopenharmony_ci	0xae, 0xf9, 0x9e, 0xb7, 0xb4, 0xb0, 0x91, 0x5f,
51362306a36Sopenharmony_ci	0x16, 0x35, 0x9a, 0x11, 0xb8, 0xc7, 0xc1, 0x8c,
51462306a36Sopenharmony_ci	0xc6, 0x10, 0x8d, 0x2f, 0x63, 0x4a, 0xa7, 0x57,
51562306a36Sopenharmony_ci	0x3a, 0x51, 0xd6, 0x32, 0x2d, 0x64, 0x72, 0xd4,
51662306a36Sopenharmony_ci	0x66, 0xdc, 0x10, 0xa6, 0x67, 0xd6, 0x04, 0x23,
51762306a36Sopenharmony_ci	0x9d, 0x0a, 0x11, 0x77, 0xdd, 0x37, 0x94, 0x17,
51862306a36Sopenharmony_ci	0x3c, 0xbf, 0x8b, 0x65, 0xb0, 0x2e, 0x5e, 0x66,
51962306a36Sopenharmony_ci	0x47, 0x64, 0xac, 0xdd, 0xf0, 0x84, 0xfd, 0x39,
52062306a36Sopenharmony_ci	0xfa, 0x15, 0x5d, 0xef, 0xae, 0xca, 0xc1, 0x36,
52162306a36Sopenharmony_ci	0xa7, 0x5c, 0xbf, 0xc7, 0x08, 0xc2, 0x66, 0x00,
52262306a36Sopenharmony_ci	0x74, 0x74, 0x4e, 0x27, 0x3f, 0x55, 0x8a, 0xb7,
52362306a36Sopenharmony_ci	0x38, 0x66, 0x83, 0x6d, 0xcf, 0x99, 0x9e, 0x60,
52462306a36Sopenharmony_ci	0x8f, 0xdd, 0x2e, 0x62, 0x22, 0x0e, 0xef, 0x0c,
52562306a36Sopenharmony_ci	0x98, 0xa7, 0x85, 0x74, 0x3b, 0x9d, 0xec, 0x9e,
52662306a36Sopenharmony_ci	0xa9, 0x19, 0x72, 0xa5, 0x7f, 0x2c, 0x39, 0xb7,
52762306a36Sopenharmony_ci	0x7d, 0xb7, 0xf1, 0x12, 0x65, 0x27, 0x4b, 0x5a,
52862306a36Sopenharmony_ci	0xde, 0x17, 0xfe, 0xad, 0x44, 0xf3, 0x20, 0x4d,
52962306a36Sopenharmony_ci	0xfd, 0xe4, 0x1f, 0xb5, 0x81, 0xb0, 0x36, 0x37,
53062306a36Sopenharmony_ci	0x08, 0x6f, 0xc3, 0x0c, 0xe9, 0x85, 0x98, 0x82,
53162306a36Sopenharmony_ci	0xa9, 0x62, 0x0c, 0xc4, 0x97, 0xc0, 0x50, 0xc8,
53262306a36Sopenharmony_ci	0xa7, 0x3c, 0x50, 0x9f, 0x43, 0xb9, 0xcd, 0x5e,
53362306a36Sopenharmony_ci	0x4d, 0xfa, 0x1c, 0x4b, 0x0b, 0xa9, 0x98, 0x85,
53462306a36Sopenharmony_ci	0x38, 0x92, 0xac, 0x8d, 0xe4, 0xad, 0x9b, 0x98,
53562306a36Sopenharmony_ci	0xab, 0xd9, 0x38, 0xac, 0x62, 0x52, 0xa3, 0x22,
53662306a36Sopenharmony_ci	0x63, 0x0f, 0xbf, 0x95, 0x48, 0xdf, 0x69, 0xe7,
53762306a36Sopenharmony_ci	0x8b, 0x33, 0xd5, 0xb2, 0xbd, 0x05, 0x49, 0x49,
53862306a36Sopenharmony_ci	0x9d, 0x57, 0x73, 0x19, 0x33, 0xae, 0xfa, 0x33,
53962306a36Sopenharmony_ci	0xf1, 0x19, 0xa8, 0x80, 0xce, 0x04, 0x9f, 0xbc,
54062306a36Sopenharmony_ci	0x1d, 0x65, 0x82, 0x1b, 0xe5, 0x3a, 0x51, 0xc8,
54162306a36Sopenharmony_ci	0x1c, 0x21, 0xe3, 0x5d, 0xf3, 0x7d, 0x9b, 0x2f,
54262306a36Sopenharmony_ci	0x2c, 0x1d, 0x4a, 0x7f, 0x9b, 0x68, 0x35, 0xa3,
54362306a36Sopenharmony_ci	0xb2, 0x50, 0xf7, 0x62, 0x79, 0xcd, 0xf4, 0x98,
54462306a36Sopenharmony_ci	0x4f, 0xe5, 0x63, 0x7c, 0x3e, 0x45, 0x31, 0x8c,
54562306a36Sopenharmony_ci	0x16, 0xa0, 0x12, 0xc8, 0x58, 0xce, 0x39, 0xa6,
54662306a36Sopenharmony_ci	0xbc, 0x54, 0xdb, 0xc5, 0xe0, 0xd5, 0xba, 0xbc,
54762306a36Sopenharmony_ci	0xb9, 0x04, 0xf4, 0x8d, 0xe8, 0x2f, 0x15, 0x9d,
54862306a36Sopenharmony_ci};
54962306a36Sopenharmony_ci
55062306a36Sopenharmony_ci/* 100 test cases */
55162306a36Sopenharmony_cistatic struct crc_test {
55262306a36Sopenharmony_ci	u32 crc;	/* random starting crc */
55362306a36Sopenharmony_ci	u32 start;	/* random 6 bit offset in buf */
55462306a36Sopenharmony_ci	u32 length;	/* random 11 bit length of test */
55562306a36Sopenharmony_ci	u32 crc_le;	/* expected crc32_le result */
55662306a36Sopenharmony_ci	u32 crc_be;	/* expected crc32_be result */
55762306a36Sopenharmony_ci	u32 crc32c_le;	/* expected crc32c_le result */
55862306a36Sopenharmony_ci} const test[] __initconst =
55962306a36Sopenharmony_ci{
56062306a36Sopenharmony_ci	{0x674bf11d, 0x00000038, 0x00000542, 0x0af6d466, 0xd8b6e4c1, 0xf6e93d6c},
56162306a36Sopenharmony_ci	{0x35c672c6, 0x0000003a, 0x000001aa, 0xc6d3dfba, 0x28aaf3ad, 0x0fe92aca},
56262306a36Sopenharmony_ci	{0x496da28e, 0x00000039, 0x000005af, 0xd933660f, 0x5d57e81f, 0x52e1ebb8},
56362306a36Sopenharmony_ci	{0x09a9b90e, 0x00000027, 0x000001f8, 0xb45fe007, 0xf45fca9a, 0x0798af9a},
56462306a36Sopenharmony_ci	{0xdc97e5a9, 0x00000025, 0x000003b6, 0xf81a3562, 0xe0126ba2, 0x18eb3152},
56562306a36Sopenharmony_ci	{0x47c58900, 0x0000000a, 0x000000b9, 0x8e58eccf, 0xf3afc793, 0xd00d08c7},
56662306a36Sopenharmony_ci	{0x292561e8, 0x0000000c, 0x00000403, 0xa2ba8aaf, 0x0b797aed, 0x8ba966bc},
56762306a36Sopenharmony_ci	{0x415037f6, 0x00000003, 0x00000676, 0xa17d52e8, 0x7f0fdf35, 0x11d694a2},
56862306a36Sopenharmony_ci	{0x3466e707, 0x00000026, 0x00000042, 0x258319be, 0x75c484a2, 0x6ab3208d},
56962306a36Sopenharmony_ci	{0xafd1281b, 0x00000023, 0x000002ee, 0x4428eaf8, 0x06c7ad10, 0xba4603c5},
57062306a36Sopenharmony_ci	{0xd3857b18, 0x00000028, 0x000004a2, 0x5c430821, 0xb062b7cb, 0xe6071c6f},
57162306a36Sopenharmony_ci	{0x1d825a8f, 0x0000002b, 0x0000050b, 0xd2c45f0c, 0xd68634e0, 0x179ec30a},
57262306a36Sopenharmony_ci	{0x5033e3bc, 0x0000000b, 0x00000078, 0xa3ea4113, 0xac6d31fb, 0x0903beb8},
57362306a36Sopenharmony_ci	{0x94f1fb5e, 0x0000000f, 0x000003a2, 0xfbfc50b1, 0x3cfe50ed, 0x6a7cb4fa},
57462306a36Sopenharmony_ci	{0xc9a0fe14, 0x00000009, 0x00000473, 0x5fb61894, 0x87070591, 0xdb535801},
57562306a36Sopenharmony_ci	{0x88a034b1, 0x0000001c, 0x000005ad, 0xc1b16053, 0x46f95c67, 0x92bed597},
57662306a36Sopenharmony_ci	{0xf0f72239, 0x00000020, 0x0000026d, 0xa6fa58f3, 0xf8c2c1dd, 0x192a3f1b},
57762306a36Sopenharmony_ci	{0xcc20a5e3, 0x0000003b, 0x0000067a, 0x7740185a, 0x308b979a, 0xccbaec1a},
57862306a36Sopenharmony_ci	{0xce589c95, 0x0000002b, 0x00000641, 0xd055e987, 0x40aae25b, 0x7eabae4d},
57962306a36Sopenharmony_ci	{0x78edc885, 0x00000035, 0x000005be, 0xa39cb14b, 0x035b0d1f, 0x28c72982},
58062306a36Sopenharmony_ci	{0x9d40a377, 0x0000003b, 0x00000038, 0x1f47ccd2, 0x197fbc9d, 0xc3cd4d18},
58162306a36Sopenharmony_ci	{0x703d0e01, 0x0000003c, 0x000006f1, 0x88735e7c, 0xfed57c5a, 0xbca8f0e7},
58262306a36Sopenharmony_ci	{0x776bf505, 0x0000000f, 0x000005b2, 0x5cc4fc01, 0xf32efb97, 0x713f60b3},
58362306a36Sopenharmony_ci	{0x4a3e7854, 0x00000027, 0x000004b8, 0x8d923c82, 0x0cbfb4a2, 0xebd08fd5},
58462306a36Sopenharmony_ci	{0x209172dd, 0x0000003b, 0x00000356, 0xb89e9c2b, 0xd7868138, 0x64406c59},
58562306a36Sopenharmony_ci	{0x3ba4cc5b, 0x0000002f, 0x00000203, 0xe51601a9, 0x5b2a1032, 0x7421890e},
58662306a36Sopenharmony_ci	{0xfc62f297, 0x00000000, 0x00000079, 0x71a8e1a2, 0x5d88685f, 0xe9347603},
58762306a36Sopenharmony_ci	{0x64280b8b, 0x00000016, 0x000007ab, 0x0fa7a30c, 0xda3a455f, 0x1bef9060},
58862306a36Sopenharmony_ci	{0x97dd724b, 0x00000033, 0x000007ad, 0x5788b2f4, 0xd7326d32, 0x34720072},
58962306a36Sopenharmony_ci	{0x61394b52, 0x00000035, 0x00000571, 0xc66525f1, 0xcabe7fef, 0x48310f59},
59062306a36Sopenharmony_ci	{0x29b4faff, 0x00000024, 0x0000006e, 0xca13751e, 0x993648e0, 0x783a4213},
59162306a36Sopenharmony_ci	{0x29bfb1dc, 0x0000000b, 0x00000244, 0x436c43f7, 0x429f7a59, 0x9e8efd41},
59262306a36Sopenharmony_ci	{0x86ae934b, 0x00000035, 0x00000104, 0x0760ec93, 0x9cf7d0f4, 0xfc3d34a5},
59362306a36Sopenharmony_ci	{0xc4c1024e, 0x0000002e, 0x000006b1, 0x6516a3ec, 0x19321f9c, 0x17a52ae2},
59462306a36Sopenharmony_ci	{0x3287a80a, 0x00000026, 0x00000496, 0x0b257eb1, 0x754ebd51, 0x886d935a},
59562306a36Sopenharmony_ci	{0xa4db423e, 0x00000023, 0x0000045d, 0x9b3a66dc, 0x873e9f11, 0xeaaeaeb2},
59662306a36Sopenharmony_ci	{0x7a1078df, 0x00000015, 0x0000014a, 0x8c2484c5, 0x6a628659, 0x8e900a4b},
59762306a36Sopenharmony_ci	{0x6048bd5b, 0x00000006, 0x0000006a, 0x897e3559, 0xac9961af, 0xd74662b1},
59862306a36Sopenharmony_ci	{0xd8f9ea20, 0x0000003d, 0x00000277, 0x60eb905b, 0xed2aaf99, 0xd26752ba},
59962306a36Sopenharmony_ci	{0xea5ec3b4, 0x0000002a, 0x000004fe, 0x869965dc, 0x6c1f833b, 0x8b1fcd62},
60062306a36Sopenharmony_ci	{0x2dfb005d, 0x00000016, 0x00000345, 0x6a3b117e, 0xf05e8521, 0xf54342fe},
60162306a36Sopenharmony_ci	{0x5a214ade, 0x00000020, 0x000005b6, 0x467f70be, 0xcb22ccd3, 0x5b95b988},
60262306a36Sopenharmony_ci	{0xf0ab9cca, 0x00000032, 0x00000515, 0xed223df3, 0x7f3ef01d, 0x2e1176be},
60362306a36Sopenharmony_ci	{0x91b444f9, 0x0000002e, 0x000007f8, 0x84e9a983, 0x5676756f, 0x66120546},
60462306a36Sopenharmony_ci	{0x1b5d2ddb, 0x0000002e, 0x0000012c, 0xba638c4c, 0x3f42047b, 0xf256a5cc},
60562306a36Sopenharmony_ci	{0xd824d1bb, 0x0000003a, 0x000007b5, 0x6288653b, 0x3a3ebea0, 0x4af1dd69},
60662306a36Sopenharmony_ci	{0x0470180c, 0x00000034, 0x000001f0, 0x9d5b80d6, 0x3de08195, 0x56f0a04a},
60762306a36Sopenharmony_ci	{0xffaa3a3f, 0x00000036, 0x00000299, 0xf3a82ab8, 0x53e0c13d, 0x74f6b6b2},
60862306a36Sopenharmony_ci	{0x6406cfeb, 0x00000023, 0x00000600, 0xa920b8e8, 0xe4e2acf4, 0x085951fd},
60962306a36Sopenharmony_ci	{0xb24aaa38, 0x0000003e, 0x000004a1, 0x657cc328, 0x5077b2c3, 0xc65387eb},
61062306a36Sopenharmony_ci	{0x58b2ab7c, 0x00000039, 0x000002b4, 0x3a17ee7e, 0x9dcb3643, 0x1ca9257b},
61162306a36Sopenharmony_ci	{0x3db85970, 0x00000006, 0x000002b6, 0x95268b59, 0xb9812c10, 0xfd196d76},
61262306a36Sopenharmony_ci	{0x857830c5, 0x00000003, 0x00000590, 0x4ef439d5, 0xf042161d, 0x5ef88339},
61362306a36Sopenharmony_ci	{0xe1fcd978, 0x0000003e, 0x000007d8, 0xae8d8699, 0xce0a1ef5, 0x2c3714d9},
61462306a36Sopenharmony_ci	{0xb982a768, 0x00000016, 0x000006e0, 0x62fad3df, 0x5f8a067b, 0x58576548},
61562306a36Sopenharmony_ci	{0x1d581ce8, 0x0000001e, 0x0000058b, 0xf0f5da53, 0x26e39eee, 0xfd7c57de},
61662306a36Sopenharmony_ci	{0x2456719b, 0x00000025, 0x00000503, 0x4296ac64, 0xd50e4c14, 0xd5fedd59},
61762306a36Sopenharmony_ci	{0xfae6d8f2, 0x00000000, 0x0000055d, 0x057fdf2e, 0x2a31391a, 0x1cc3b17b},
61862306a36Sopenharmony_ci	{0xcba828e3, 0x00000039, 0x000002ce, 0xe3f22351, 0x8f00877b, 0x270eed73},
61962306a36Sopenharmony_ci	{0x13d25952, 0x0000000a, 0x0000072d, 0x76d4b4cc, 0x5eb67ec3, 0x91ecbb11},
62062306a36Sopenharmony_ci	{0x0342be3f, 0x00000015, 0x00000599, 0xec75d9f1, 0x9d4d2826, 0x05ed8d0c},
62162306a36Sopenharmony_ci	{0xeaa344e0, 0x00000014, 0x000004d8, 0x72a4c981, 0x2064ea06, 0x0b09ad5b},
62262306a36Sopenharmony_ci	{0xbbb52021, 0x0000003b, 0x00000272, 0x04af99fc, 0xaf042d35, 0xf8d511fb},
62362306a36Sopenharmony_ci	{0xb66384dc, 0x0000001d, 0x000007fc, 0xd7629116, 0x782bd801, 0x5ad832cc},
62462306a36Sopenharmony_ci	{0x616c01b6, 0x00000022, 0x000002c8, 0x5b1dab30, 0x783ce7d2, 0x1214d196},
62562306a36Sopenharmony_ci	{0xce2bdaad, 0x00000016, 0x0000062a, 0x932535c8, 0x3f02926d, 0x5747218a},
62662306a36Sopenharmony_ci	{0x00fe84d7, 0x00000005, 0x00000205, 0x850e50aa, 0x753d649c, 0xde8f14de},
62762306a36Sopenharmony_ci	{0xbebdcb4c, 0x00000006, 0x0000055d, 0xbeaa37a2, 0x2d8c9eba, 0x3563b7b9},
62862306a36Sopenharmony_ci	{0xd8b1a02a, 0x00000010, 0x00000387, 0x5017d2fc, 0x503541a5, 0x071475d0},
62962306a36Sopenharmony_ci	{0x3b96cad2, 0x00000036, 0x00000347, 0x1d2372ae, 0x926cd90b, 0x54c79d60},
63062306a36Sopenharmony_ci	{0xc94c1ed7, 0x00000005, 0x0000038b, 0x9e9fdb22, 0x144a9178, 0x4c53eee6},
63162306a36Sopenharmony_ci	{0x1aad454e, 0x00000025, 0x000002b2, 0xc3f6315c, 0x5c7a35b3, 0x10137a3c},
63262306a36Sopenharmony_ci	{0xa4fec9a6, 0x00000000, 0x000006d6, 0x90be5080, 0xa4107605, 0xaa9d6c73},
63362306a36Sopenharmony_ci	{0x1bbe71e2, 0x0000001f, 0x000002fd, 0x4e504c3b, 0x284ccaf1, 0xb63d23e7},
63462306a36Sopenharmony_ci	{0x4201c7e4, 0x00000002, 0x000002b7, 0x7822e3f9, 0x0cc912a9, 0x7f53e9cf},
63562306a36Sopenharmony_ci	{0x23fddc96, 0x00000003, 0x00000627, 0x8a385125, 0x07767e78, 0x13c1cd83},
63662306a36Sopenharmony_ci	{0xd82ba25c, 0x00000016, 0x0000063e, 0x98e4148a, 0x283330c9, 0x49ff5867},
63762306a36Sopenharmony_ci	{0x786f2032, 0x0000002d, 0x0000060f, 0xf201600a, 0xf561bfcd, 0x8467f211},
63862306a36Sopenharmony_ci	{0xfebe4e1f, 0x0000002a, 0x000004f2, 0x95e51961, 0xfd80dcab, 0x3f9683b2},
63962306a36Sopenharmony_ci	{0x1a6e0a39, 0x00000008, 0x00000672, 0x8af6c2a5, 0x78dd84cb, 0x76a3f874},
64062306a36Sopenharmony_ci	{0x56000ab8, 0x0000000e, 0x000000e5, 0x36bacb8f, 0x22ee1f77, 0x863b702f},
64162306a36Sopenharmony_ci	{0x4717fe0c, 0x00000000, 0x000006ec, 0x8439f342, 0x5c8e03da, 0xdc6c58ff},
64262306a36Sopenharmony_ci	{0xd5d5d68e, 0x0000003c, 0x000003a3, 0x46fff083, 0x177d1b39, 0x0622cc95},
64362306a36Sopenharmony_ci	{0xc25dd6c6, 0x00000024, 0x000006c0, 0x5ceb8eb4, 0x892b0d16, 0xe85605cd},
64462306a36Sopenharmony_ci	{0xe9b11300, 0x00000023, 0x00000683, 0x07a5d59a, 0x6c6a3208, 0x31da5f06},
64562306a36Sopenharmony_ci	{0x95cd285e, 0x00000001, 0x00000047, 0x7b3a4368, 0x0202c07e, 0xa1f2e784},
64662306a36Sopenharmony_ci	{0xd9245a25, 0x0000001e, 0x000003a6, 0xd33c1841, 0x1936c0d5, 0xb07cc616},
64762306a36Sopenharmony_ci	{0x103279db, 0x00000006, 0x0000039b, 0xca09b8a0, 0x77d62892, 0xbf943b6c},
64862306a36Sopenharmony_ci	{0x1cba3172, 0x00000027, 0x000001c8, 0xcb377194, 0xebe682db, 0x2c01af1c},
64962306a36Sopenharmony_ci	{0x8f613739, 0x0000000c, 0x000001df, 0xb4b0bc87, 0x7710bd43, 0x0fe5f56d},
65062306a36Sopenharmony_ci	{0x1c6aa90d, 0x0000001b, 0x0000053c, 0x70559245, 0xda7894ac, 0xf8943b2d},
65162306a36Sopenharmony_ci	{0xaabe5b93, 0x0000003d, 0x00000715, 0xcdbf42fa, 0x0c3b99e7, 0xe4d89272},
65262306a36Sopenharmony_ci	{0xf15dd038, 0x00000006, 0x000006db, 0x6e104aea, 0x8d5967f2, 0x7c2f6bbb},
65362306a36Sopenharmony_ci	{0x584dd49c, 0x00000020, 0x000007bc, 0x36b6cfd6, 0xad4e23b2, 0xabbf388b},
65462306a36Sopenharmony_ci	{0x5d8c9506, 0x00000020, 0x00000470, 0x4c62378e, 0x31d92640, 0x1dca1f4e},
65562306a36Sopenharmony_ci	{0xb80d17b0, 0x00000032, 0x00000346, 0x22a5bb88, 0x9a7ec89f, 0x5c170e23},
65662306a36Sopenharmony_ci	{0xdaf0592e, 0x00000023, 0x000007b0, 0x3cab3f99, 0x9b1fdd99, 0xc0e9d672},
65762306a36Sopenharmony_ci	{0x4793cc85, 0x0000000d, 0x00000706, 0xe82e04f6, 0xed3db6b7, 0xc18bdc86},
65862306a36Sopenharmony_ci	{0x82ebf64e, 0x00000009, 0x000007c3, 0x69d590a9, 0x9efa8499, 0xa874fcdd},
65962306a36Sopenharmony_ci	{0xb18a0319, 0x00000026, 0x000007db, 0x1cf98dcc, 0x8fa9ad6a, 0x9dc0bb48},
66062306a36Sopenharmony_ci};
66162306a36Sopenharmony_ci
66262306a36Sopenharmony_ci#include <linux/time.h>
66362306a36Sopenharmony_ci
66462306a36Sopenharmony_cistatic int __init crc32c_test(void)
66562306a36Sopenharmony_ci{
66662306a36Sopenharmony_ci	int i;
66762306a36Sopenharmony_ci	int errors = 0;
66862306a36Sopenharmony_ci	int bytes = 0;
66962306a36Sopenharmony_ci	u64 nsec;
67062306a36Sopenharmony_ci	unsigned long flags;
67162306a36Sopenharmony_ci
67262306a36Sopenharmony_ci	/* keep static to prevent cache warming code from
67362306a36Sopenharmony_ci	 * getting eliminated by the compiler */
67462306a36Sopenharmony_ci	static u32 crc;
67562306a36Sopenharmony_ci
67662306a36Sopenharmony_ci	/* pre-warm the cache */
67762306a36Sopenharmony_ci	for (i = 0; i < 100; i++) {
67862306a36Sopenharmony_ci		bytes += test[i].length;
67962306a36Sopenharmony_ci
68062306a36Sopenharmony_ci		crc ^= __crc32c_le(test[i].crc, test_buf +
68162306a36Sopenharmony_ci		    test[i].start, test[i].length);
68262306a36Sopenharmony_ci	}
68362306a36Sopenharmony_ci
68462306a36Sopenharmony_ci	/* reduce OS noise */
68562306a36Sopenharmony_ci	local_irq_save(flags);
68662306a36Sopenharmony_ci
68762306a36Sopenharmony_ci	nsec = ktime_get_ns();
68862306a36Sopenharmony_ci	for (i = 0; i < 100; i++) {
68962306a36Sopenharmony_ci		if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf +
69062306a36Sopenharmony_ci		    test[i].start, test[i].length))
69162306a36Sopenharmony_ci			errors++;
69262306a36Sopenharmony_ci	}
69362306a36Sopenharmony_ci	nsec = ktime_get_ns() - nsec;
69462306a36Sopenharmony_ci
69562306a36Sopenharmony_ci	local_irq_restore(flags);
69662306a36Sopenharmony_ci
69762306a36Sopenharmony_ci	pr_info("crc32c: CRC_LE_BITS = %d\n", CRC_LE_BITS);
69862306a36Sopenharmony_ci
69962306a36Sopenharmony_ci	if (errors)
70062306a36Sopenharmony_ci		pr_warn("crc32c: %d self tests failed\n", errors);
70162306a36Sopenharmony_ci	else {
70262306a36Sopenharmony_ci		pr_info("crc32c: self tests passed, processed %d bytes in %lld nsec\n",
70362306a36Sopenharmony_ci			bytes, nsec);
70462306a36Sopenharmony_ci	}
70562306a36Sopenharmony_ci
70662306a36Sopenharmony_ci	return 0;
70762306a36Sopenharmony_ci}
70862306a36Sopenharmony_ci
70962306a36Sopenharmony_cistatic int __init crc32c_combine_test(void)
71062306a36Sopenharmony_ci{
71162306a36Sopenharmony_ci	int i, j;
71262306a36Sopenharmony_ci	int errors = 0, runs = 0;
71362306a36Sopenharmony_ci
71462306a36Sopenharmony_ci	for (i = 0; i < 10; i++) {
71562306a36Sopenharmony_ci		u32 crc_full;
71662306a36Sopenharmony_ci
71762306a36Sopenharmony_ci		crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start,
71862306a36Sopenharmony_ci				       test[i].length);
71962306a36Sopenharmony_ci		for (j = 0; j <= test[i].length; ++j) {
72062306a36Sopenharmony_ci			u32 crc1, crc2;
72162306a36Sopenharmony_ci			u32 len1 = j, len2 = test[i].length - j;
72262306a36Sopenharmony_ci
72362306a36Sopenharmony_ci			crc1 = __crc32c_le(test[i].crc, test_buf +
72462306a36Sopenharmony_ci					   test[i].start, len1);
72562306a36Sopenharmony_ci			crc2 = __crc32c_le(0, test_buf + test[i].start +
72662306a36Sopenharmony_ci					   len1, len2);
72762306a36Sopenharmony_ci
72862306a36Sopenharmony_ci			if (!(crc_full == __crc32c_le_combine(crc1, crc2, len2) &&
72962306a36Sopenharmony_ci			      crc_full == test[i].crc32c_le))
73062306a36Sopenharmony_ci				errors++;
73162306a36Sopenharmony_ci			runs++;
73262306a36Sopenharmony_ci			cond_resched();
73362306a36Sopenharmony_ci		}
73462306a36Sopenharmony_ci	}
73562306a36Sopenharmony_ci
73662306a36Sopenharmony_ci	if (errors)
73762306a36Sopenharmony_ci		pr_warn("crc32c_combine: %d/%d self tests failed\n", errors, runs);
73862306a36Sopenharmony_ci	else
73962306a36Sopenharmony_ci		pr_info("crc32c_combine: %d self tests passed\n", runs);
74062306a36Sopenharmony_ci
74162306a36Sopenharmony_ci	return 0;
74262306a36Sopenharmony_ci}
74362306a36Sopenharmony_ci
74462306a36Sopenharmony_cistatic int __init crc32_test(void)
74562306a36Sopenharmony_ci{
74662306a36Sopenharmony_ci	int i;
74762306a36Sopenharmony_ci	int errors = 0;
74862306a36Sopenharmony_ci	int bytes = 0;
74962306a36Sopenharmony_ci	u64 nsec;
75062306a36Sopenharmony_ci	unsigned long flags;
75162306a36Sopenharmony_ci
75262306a36Sopenharmony_ci	/* keep static to prevent cache warming code from
75362306a36Sopenharmony_ci	 * getting eliminated by the compiler */
75462306a36Sopenharmony_ci	static u32 crc;
75562306a36Sopenharmony_ci
75662306a36Sopenharmony_ci	/* pre-warm the cache */
75762306a36Sopenharmony_ci	for (i = 0; i < 100; i++) {
75862306a36Sopenharmony_ci		bytes += 2*test[i].length;
75962306a36Sopenharmony_ci
76062306a36Sopenharmony_ci		crc ^= crc32_le(test[i].crc, test_buf +
76162306a36Sopenharmony_ci		    test[i].start, test[i].length);
76262306a36Sopenharmony_ci
76362306a36Sopenharmony_ci		crc ^= crc32_be(test[i].crc, test_buf +
76462306a36Sopenharmony_ci		    test[i].start, test[i].length);
76562306a36Sopenharmony_ci	}
76662306a36Sopenharmony_ci
76762306a36Sopenharmony_ci	/* reduce OS noise */
76862306a36Sopenharmony_ci	local_irq_save(flags);
76962306a36Sopenharmony_ci
77062306a36Sopenharmony_ci	nsec = ktime_get_ns();
77162306a36Sopenharmony_ci	for (i = 0; i < 100; i++) {
77262306a36Sopenharmony_ci		if (test[i].crc_le != crc32_le(test[i].crc, test_buf +
77362306a36Sopenharmony_ci		    test[i].start, test[i].length))
77462306a36Sopenharmony_ci			errors++;
77562306a36Sopenharmony_ci
77662306a36Sopenharmony_ci		if (test[i].crc_be != crc32_be(test[i].crc, test_buf +
77762306a36Sopenharmony_ci		    test[i].start, test[i].length))
77862306a36Sopenharmony_ci			errors++;
77962306a36Sopenharmony_ci	}
78062306a36Sopenharmony_ci	nsec = ktime_get_ns() - nsec;
78162306a36Sopenharmony_ci
78262306a36Sopenharmony_ci	local_irq_restore(flags);
78362306a36Sopenharmony_ci
78462306a36Sopenharmony_ci	pr_info("crc32: CRC_LE_BITS = %d, CRC_BE BITS = %d\n",
78562306a36Sopenharmony_ci		 CRC_LE_BITS, CRC_BE_BITS);
78662306a36Sopenharmony_ci
78762306a36Sopenharmony_ci	if (errors)
78862306a36Sopenharmony_ci		pr_warn("crc32: %d self tests failed\n", errors);
78962306a36Sopenharmony_ci	else {
79062306a36Sopenharmony_ci		pr_info("crc32: self tests passed, processed %d bytes in %lld nsec\n",
79162306a36Sopenharmony_ci			bytes, nsec);
79262306a36Sopenharmony_ci	}
79362306a36Sopenharmony_ci
79462306a36Sopenharmony_ci	return 0;
79562306a36Sopenharmony_ci}
79662306a36Sopenharmony_ci
79762306a36Sopenharmony_cistatic int __init crc32_combine_test(void)
79862306a36Sopenharmony_ci{
79962306a36Sopenharmony_ci	int i, j;
80062306a36Sopenharmony_ci	int errors = 0, runs = 0;
80162306a36Sopenharmony_ci
80262306a36Sopenharmony_ci	for (i = 0; i < 10; i++) {
80362306a36Sopenharmony_ci		u32 crc_full;
80462306a36Sopenharmony_ci
80562306a36Sopenharmony_ci		crc_full = crc32_le(test[i].crc, test_buf + test[i].start,
80662306a36Sopenharmony_ci				    test[i].length);
80762306a36Sopenharmony_ci		for (j = 0; j <= test[i].length; ++j) {
80862306a36Sopenharmony_ci			u32 crc1, crc2;
80962306a36Sopenharmony_ci			u32 len1 = j, len2 = test[i].length - j;
81062306a36Sopenharmony_ci
81162306a36Sopenharmony_ci			crc1 = crc32_le(test[i].crc, test_buf +
81262306a36Sopenharmony_ci					test[i].start, len1);
81362306a36Sopenharmony_ci			crc2 = crc32_le(0, test_buf + test[i].start +
81462306a36Sopenharmony_ci					len1, len2);
81562306a36Sopenharmony_ci
81662306a36Sopenharmony_ci			if (!(crc_full == crc32_le_combine(crc1, crc2, len2) &&
81762306a36Sopenharmony_ci			      crc_full == test[i].crc_le))
81862306a36Sopenharmony_ci				errors++;
81962306a36Sopenharmony_ci			runs++;
82062306a36Sopenharmony_ci			cond_resched();
82162306a36Sopenharmony_ci		}
82262306a36Sopenharmony_ci	}
82362306a36Sopenharmony_ci
82462306a36Sopenharmony_ci	if (errors)
82562306a36Sopenharmony_ci		pr_warn("crc32_combine: %d/%d self tests failed\n", errors, runs);
82662306a36Sopenharmony_ci	else
82762306a36Sopenharmony_ci		pr_info("crc32_combine: %d self tests passed\n", runs);
82862306a36Sopenharmony_ci
82962306a36Sopenharmony_ci	return 0;
83062306a36Sopenharmony_ci}
83162306a36Sopenharmony_ci
83262306a36Sopenharmony_cistatic int __init crc32test_init(void)
83362306a36Sopenharmony_ci{
83462306a36Sopenharmony_ci	crc32_test();
83562306a36Sopenharmony_ci	crc32c_test();
83662306a36Sopenharmony_ci
83762306a36Sopenharmony_ci	crc32_combine_test();
83862306a36Sopenharmony_ci	crc32c_combine_test();
83962306a36Sopenharmony_ci
84062306a36Sopenharmony_ci	return 0;
84162306a36Sopenharmony_ci}
84262306a36Sopenharmony_ci
84362306a36Sopenharmony_cistatic void __exit crc32_exit(void)
84462306a36Sopenharmony_ci{
84562306a36Sopenharmony_ci}
84662306a36Sopenharmony_ci
84762306a36Sopenharmony_cimodule_init(crc32test_init);
84862306a36Sopenharmony_cimodule_exit(crc32_exit);
84962306a36Sopenharmony_ci
85062306a36Sopenharmony_ciMODULE_AUTHOR("Matt Domsch <Matt_Domsch@dell.com>");
85162306a36Sopenharmony_ciMODULE_DESCRIPTION("CRC32 selftest");
85262306a36Sopenharmony_ciMODULE_LICENSE("GPL");
853