aboutsummaryrefslogtreecommitdiff
path: root/pw_tokenizer/rust/pw_tokenizer_core_test_cases.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pw_tokenizer/rust/pw_tokenizer_core_test_cases.rs')
-rw-r--r--pw_tokenizer/rust/pw_tokenizer_core_test_cases.rs744
1 files changed, 744 insertions, 0 deletions
diff --git a/pw_tokenizer/rust/pw_tokenizer_core_test_cases.rs b/pw_tokenizer/rust/pw_tokenizer_core_test_cases.rs
new file mode 100644
index 000000000..215842506
--- /dev/null
+++ b/pw_tokenizer/rust/pw_tokenizer_core_test_cases.rs
@@ -0,0 +1,744 @@
+// Copyright 2023 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+// AUTOGENERATED - DO NOT EDIT
+//
+// This file was generated by generate_hash_test_data.py.
+// To make changes, update the script and run it to generate new files.
+
+fn test_cases() -> Vec<TestCase> {
+ vec![
+ TestCase{
+ string: b"",
+ hash_length: 80,
+ hash: 0,
+ },
+ TestCase{
+ string: b"",
+ hash_length: 96,
+ hash: 0,
+ },
+ TestCase{
+ string: b"",
+ hash_length: 128,
+ hash: 0,
+ },
+ TestCase{
+ string: b"\xa1",
+ hash_length: 80,
+ hash: 10561440,
+ },
+ TestCase{
+ string: b"\xa1",
+ hash_length: 96,
+ hash: 10561440,
+ },
+ TestCase{
+ string: b"\xa1",
+ hash_length: 128,
+ hash: 10561440,
+ },
+ TestCase{
+ string: b"\xff",
+ hash_length: 80,
+ hash: 16727746,
+ },
+ TestCase{
+ string: b"\xff",
+ hash_length: 96,
+ hash: 16727746,
+ },
+ TestCase{
+ string: b"\xff",
+ hash_length: 128,
+ hash: 16727746,
+ },
+ TestCase{
+ string: b"\x00",
+ hash_length: 80,
+ hash: 1,
+ },
+ TestCase{
+ string: b"\x00",
+ hash_length: 96,
+ hash: 1,
+ },
+ TestCase{
+ string: b"\x00",
+ hash_length: 128,
+ hash: 1,
+ },
+ TestCase{
+ string: b"\x00\x00",
+ hash_length: 80,
+ hash: 2,
+ },
+ TestCase{
+ string: b"\x00\x00",
+ hash_length: 96,
+ hash: 2,
+ },
+ TestCase{
+ string: b"\x00\x00",
+ hash_length: 128,
+ hash: 2,
+ },
+ TestCase{
+ string: b"a",
+ hash_length: 80,
+ hash: 6363104,
+ },
+ TestCase{
+ string: b"a",
+ hash_length: 96,
+ hash: 6363104,
+ },
+ TestCase{
+ string: b"a",
+ hash_length: 128,
+ hash: 6363104,
+ },
+ TestCase{
+ string: b"A",
+ hash_length: 80,
+ hash: 4263936,
+ },
+ TestCase{
+ string: b"A",
+ hash_length: 96,
+ hash: 4263936,
+ },
+ TestCase{
+ string: b"A",
+ hash_length: 128,
+ hash: 4263936,
+ },
+ TestCase{
+ string: b"hello, \"world\"",
+ hash_length: 80,
+ hash: 3537412730,
+ },
+ TestCase{
+ string: b"hello, \"world\"",
+ hash_length: 96,
+ hash: 3537412730,
+ },
+ TestCase{
+ string: b"hello, \"world\"",
+ hash_length: 128,
+ hash: 3537412730,
+ },
+ TestCase{
+ string: b"YOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYO",
+ hash_length: 80,
+ hash: 2035157304,
+ },
+ TestCase{
+ string: b"YOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYO",
+ hash_length: 96,
+ hash: 4222077672,
+ },
+ TestCase{
+ string: b"YOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYOYO",
+ hash_length: 128,
+ hash: 255790664,
+ },
+ TestCase{
+ string: b"4",
+ hash_length: 80,
+ hash: 3411149,
+ },
+ TestCase{
+ string: b"4",
+ hash_length: 96,
+ hash: 3411149,
+ },
+ TestCase{
+ string: b"4",
+ hash_length: 128,
+ hash: 3411149,
+ },
+ TestCase{
+ string: b"\xe0",
+ hash_length: 80,
+ hash: 14694177,
+ },
+ TestCase{
+ string: b"\xe0",
+ hash_length: 96,
+ hash: 14694177,
+ },
+ TestCase{
+ string: b"\xe0",
+ hash_length: 128,
+ hash: 14694177,
+ },
+ TestCase{
+ string: b"\x90\xb9",
+ hash_length: 80,
+ hash: 1537824683,
+ },
+ TestCase{
+ string: b"\x90\xb9",
+ hash_length: 96,
+ hash: 1537824683,
+ },
+ TestCase{
+ string: b"\x90\xb9",
+ hash_length: 128,
+ hash: 1537824683,
+ },
+ TestCase{
+ string: b"\x6a\xe7",
+ hash_length: 80,
+ hash: 1915361151,
+ },
+ TestCase{
+ string: b"\x6a\xe7",
+ hash_length: 96,
+ hash: 1915361151,
+ },
+ TestCase{
+ string: b"\x6a\xe7",
+ hash_length: 128,
+ hash: 1915361151,
+ },
+ TestCase{
+ string: b"dy0",
+ hash_length: 80,
+ hash: 4114649192,
+ },
+ TestCase{
+ string: b"dy0",
+ hash_length: 96,
+ hash: 4114649192,
+ },
+ TestCase{
+ string: b"dy0",
+ hash_length: 128,
+ hash: 4114649192,
+ },
+ TestCase{
+ string: b"\xc4\x18\x32",
+ hash_length: 80,
+ hash: 585787813,
+ },
+ TestCase{
+ string: b"\xc4\x18\x32",
+ hash_length: 96,
+ hash: 585787813,
+ },
+ TestCase{
+ string: b"\xc4\x18\x32",
+ hash_length: 128,
+ hash: 585787813,
+ },
+ TestCase{
+ string: b"\x1c\xfc\x28\x2b",
+ hash_length: 80,
+ hash: 704109799,
+ },
+ TestCase{
+ string: b"\x1c\xfc\x28\x2b",
+ hash_length: 96,
+ hash: 704109799,
+ },
+ TestCase{
+ string: b"\x1c\xfc\x28\x2b",
+ hash_length: 128,
+ hash: 704109799,
+ },
+ TestCase{
+ string: b"\xab\x96\x56\x70",
+ hash_length: 80,
+ hash: 2738614345,
+ },
+ TestCase{
+ string: b"\xab\x96\x56\x70",
+ hash_length: 96,
+ hash: 2738614345,
+ },
+ TestCase{
+ string: b"\xab\x96\x56\x70",
+ hash_length: 128,
+ hash: 2738614345,
+ },
+ TestCase{
+ string: b"\x18\x1e\x6e\x6a\x73",
+ hash_length: 80,
+ hash: 580554452,
+ },
+ TestCase{
+ string: b"\x18\x1e\x6e\x6a\x73",
+ hash_length: 96,
+ hash: 580554452,
+ },
+ TestCase{
+ string: b"\x18\x1e\x6e\x6a\x73",
+ hash_length: 128,
+ hash: 580554452,
+ },
+ TestCase{
+ string: b"\xde\xe5\xdf\x22\x00",
+ hash_length: 80,
+ hash: 4269181327,
+ },
+ TestCase{
+ string: b"\xde\xe5\xdf\x22\x00",
+ hash_length: 96,
+ hash: 4269181327,
+ },
+ TestCase{
+ string: b"\xde\xe5\xdf\x22\x00",
+ hash_length: 128,
+ hash: 4269181327,
+ },
+ TestCase{
+ string: b"\x59\xac\x64\x3b\xc7\x36",
+ hash_length: 80,
+ hash: 2461849503,
+ },
+ TestCase{
+ string: b"\x59\xac\x64\x3b\xc7\x36",
+ hash_length: 96,
+ hash: 2461849503,
+ },
+ TestCase{
+ string: b"\x59\xac\x64\x3b\xc7\x36",
+ hash_length: 128,
+ hash: 2461849503,
+ },
+ TestCase{
+ string: b"\xe1\xef\x87\x8d\xbc\xd7",
+ hash_length: 80,
+ hash: 2407518645,
+ },
+ TestCase{
+ string: b"\xe1\xef\x87\x8d\xbc\xd7",
+ hash_length: 96,
+ hash: 2407518645,
+ },
+ TestCase{
+ string: b"\xe1\xef\x87\x8d\xbc\xd7",
+ hash_length: 128,
+ hash: 2407518645,
+ },
+ TestCase{
+ string: b"\x34\xd8\x3a\xbb\xf1\x0e\x07",
+ hash_length: 80,
+ hash: 2657240642,
+ },
+ TestCase{
+ string: b"\x34\xd8\x3a\xbb\xf1\x0e\x07",
+ hash_length: 96,
+ hash: 2657240642,
+ },
+ TestCase{
+ string: b"\x34\xd8\x3a\xbb\xf1\x0e\x07",
+ hash_length: 128,
+ hash: 2657240642,
+ },
+ TestCase{
+ string: b"\xa2\x8e\xb6\x56\x83\xd2\x89",
+ hash_length: 80,
+ hash: 2016713689,
+ },
+ TestCase{
+ string: b"\xa2\x8e\xb6\x56\x83\xd2\x89",
+ hash_length: 96,
+ hash: 2016713689,
+ },
+ TestCase{
+ string: b"\xa2\x8e\xb6\x56\x83\xd2\x89",
+ hash_length: 128,
+ hash: 2016713689,
+ },
+ TestCase{
+ string: b"\x20\x3b\x66\x3f\x80\x8b\xd6\x9f",
+ hash_length: 80,
+ hash: 727179216,
+ },
+ TestCase{
+ string: b"\x20\x3b\x66\x3f\x80\x8b\xd6\x9f",
+ hash_length: 96,
+ hash: 727179216,
+ },
+ TestCase{
+ string: b"\x20\x3b\x66\x3f\x80\x8b\xd6\x9f",
+ hash_length: 128,
+ hash: 727179216,
+ },
+ TestCase{
+ string: b"\xe5\x15\xbf\x96\x52\xd8\x22\x72",
+ hash_length: 80,
+ hash: 110264805,
+ },
+ TestCase{
+ string: b"\xe5\x15\xbf\x96\x52\xd8\x22\x72",
+ hash_length: 96,
+ hash: 110264805,
+ },
+ TestCase{
+ string: b"\xe5\x15\xbf\x96\x52\xd8\x22\x72",
+ hash_length: 128,
+ hash: 110264805,
+ },
+ TestCase{
+ string: b"\x21\x5a\x75\x73\xf1\x70\xc1\x0e\x82",
+ hash_length: 80,
+ hash: 261914122,
+ },
+ TestCase{
+ string: b"\x21\x5a\x75\x73\xf1\x70\xc1\x0e\x82",
+ hash_length: 96,
+ hash: 261914122,
+ },
+ TestCase{
+ string: b"\x21\x5a\x75\x73\xf1\x70\xc1\x0e\x82",
+ hash_length: 128,
+ hash: 261914122,
+ },
+ TestCase{
+ string: b"\x37\x1b\xf3\x87\x5c\xd9\x94\xc6\x40",
+ hash_length: 80,
+ hash: 1833718768,
+ },
+ TestCase{
+ string: b"\x37\x1b\xf3\x87\x5c\xd9\x94\xc6\x40",
+ hash_length: 96,
+ hash: 1833718768,
+ },
+ TestCase{
+ string: b"\x37\x1b\xf3\x87\x5c\xd9\x94\xc6\x40",
+ hash_length: 128,
+ hash: 1833718768,
+ },
+ TestCase{
+ string: b"\x71\x48\x39\xc6\x53\x98\xfa\xc6\x54\x3d",
+ hash_length: 80,
+ hash: 2326646568,
+ },
+ TestCase{
+ string: b"\x71\x48\x39\xc6\x53\x98\xfa\xc6\x54\x3d",
+ hash_length: 96,
+ hash: 2326646568,
+ },
+ TestCase{
+ string: b"\x71\x48\x39\xc6\x53\x98\xfa\xc6\x54\x3d",
+ hash_length: 128,
+ hash: 2326646568,
+ },
+ TestCase{
+ string: b"\x82\x26\x3a\x43\x83\xcf\x86\x3d\x3b\xf5",
+ hash_length: 80,
+ hash: 2712532084,
+ },
+ TestCase{
+ string: b"\x82\x26\x3a\x43\x83\xcf\x86\x3d\x3b\xf5",
+ hash_length: 96,
+ hash: 2712532084,
+ },
+ TestCase{
+ string: b"\x82\x26\x3a\x43\x83\xcf\x86\x3d\x3b\xf5",
+ hash_length: 128,
+ hash: 2712532084,
+ },
+ TestCase{
+ string: b"\xde\x35\x78\x6e\x3f\x98\x61\x43\x53\x28\x24",
+ hash_length: 80,
+ hash: 544632964,
+ },
+ TestCase{
+ string: b"\xde\x35\x78\x6e\x3f\x98\x61\x43\x53\x28\x24",
+ hash_length: 96,
+ hash: 544632964,
+ },
+ TestCase{
+ string: b"\xde\x35\x78\x6e\x3f\x98\x61\x43\x53\x28\x24",
+ hash_length: 128,
+ hash: 544632964,
+ },
+ TestCase{
+ string: b"\x28\x5a\xef\x49\x5c\xfb\x43\x91\xdd\x27\x00",
+ hash_length: 80,
+ hash: 3878380686,
+ },
+ TestCase{
+ string: b"\x28\x5a\xef\x49\x5c\xfb\x43\x91\xdd\x27\x00",
+ hash_length: 96,
+ hash: 3878380686,
+ },
+ TestCase{
+ string: b"\x28\x5a\xef\x49\x5c\xfb\x43\x91\xdd\x27\x00",
+ hash_length: 128,
+ hash: 3878380686,
+ },
+ TestCase{
+ string: b"\xca\x45\x01\x88\x5d\xf2\x24\xa9\x78\xbf\x91\x97",
+ hash_length: 80,
+ hash: 4053891765,
+ },
+ TestCase{
+ string: b"\xca\x45\x01\x88\x5d\xf2\x24\xa9\x78\xbf\x91\x97",
+ hash_length: 96,
+ hash: 4053891765,
+ },
+ TestCase{
+ string: b"\xca\x45\x01\x88\x5d\xf2\x24\xa9\x78\xbf\x91\x97",
+ hash_length: 128,
+ hash: 4053891765,
+ },
+ TestCase{
+ string: b"\x43\xa1\xfb\x5c\x60\x89\xaf\x2b\xdb\xa9\xe5\x59",
+ hash_length: 80,
+ hash: 2009683698,
+ },
+ TestCase{
+ string: b"\x43\xa1\xfb\x5c\x60\x89\xaf\x2b\xdb\xa9\xe5\x59",
+ hash_length: 96,
+ hash: 2009683698,
+ },
+ TestCase{
+ string: b"\x43\xa1\xfb\x5c\x60\x89\xaf\x2b\xdb\xa9\xe5\x59",
+ hash_length: 128,
+ hash: 2009683698,
+ },
+ TestCase{
+ string: b"\xde\x1a\x80\x72\x19\x63\x71\x85\x6c\x53\x51\x7a\x26",
+ hash_length: 80,
+ hash: 3862326851,
+ },
+ TestCase{
+ string: b"\xde\x1a\x80\x72\x19\x63\x71\x85\x6c\x53\x51\x7a\x26",
+ hash_length: 96,
+ hash: 3862326851,
+ },
+ TestCase{
+ string: b"\xde\x1a\x80\x72\x19\x63\x71\x85\x6c\x53\x51\x7a\x26",
+ hash_length: 128,
+ hash: 3862326851,
+ },
+ TestCase{
+ string: b"\x59\x74\xd1\xa5\x70\x0b\xef\x7d\x45\xa9\xcc\xef\x1e",
+ hash_length: 80,
+ hash: 2358079886,
+ },
+ TestCase{
+ string: b"\x59\x74\xd1\xa5\x70\x0b\xef\x7d\x45\xa9\xcc\xef\x1e",
+ hash_length: 96,
+ hash: 2358079886,
+ },
+ TestCase{
+ string: b"\x59\x74\xd1\xa5\x70\x0b\xef\x7d\x45\xa9\xcc\xef\x1e",
+ hash_length: 128,
+ hash: 2358079886,
+ },
+ TestCase{
+ string: b"\xed\xf2\x0a\x96\x1e\xec\x9e\xda\x71\xba\x60\x4d\x49\x8a",
+ hash_length: 80,
+ hash: 4215296608,
+ },
+ TestCase{
+ string: b"\xed\xf2\x0a\x96\x1e\xec\x9e\xda\x71\xba\x60\x4d\x49\x8a",
+ hash_length: 96,
+ hash: 4215296608,
+ },
+ TestCase{
+ string: b"\xed\xf2\x0a\x96\x1e\xec\x9e\xda\x71\xba\x60\x4d\x49\x8a",
+ hash_length: 128,
+ hash: 4215296608,
+ },
+ TestCase{
+ string: b"\x89\x5f\xe4\x0a\xfb\x75\xff\x6a\x24\x1c\x06\xec\xad\xc8",
+ hash_length: 80,
+ hash: 1051337960,
+ },
+ TestCase{
+ string: b"\x89\x5f\xe4\x0a\xfb\x75\xff\x6a\x24\x1c\x06\xec\xad\xc8",
+ hash_length: 96,
+ hash: 1051337960,
+ },
+ TestCase{
+ string: b"\x89\x5f\xe4\x0a\xfb\x75\xff\x6a\x24\x1c\x06\xec\xad\xc8",
+ hash_length: 128,
+ hash: 1051337960,
+ },
+ TestCase{
+ string: b"\x63\xe4\xd0\xdd\xf5\x83\xdb\xa4\x6b\x25\xc2\x2f\x8e\xfe\x1a",
+ hash_length: 80,
+ hash: 3916582129,
+ },
+ TestCase{
+ string: b"\x63\xe4\xd0\xdd\xf5\x83\xdb\xa4\x6b\x25\xc2\x2f\x8e\xfe\x1a",
+ hash_length: 96,
+ hash: 3916582129,
+ },
+ TestCase{
+ string: b"\x63\xe4\xd0\xdd\xf5\x83\xdb\xa4\x6b\x25\xc2\x2f\x8e\xfe\x1a",
+ hash_length: 128,
+ hash: 3916582129,
+ },
+ TestCase{
+ string: b"\x12\xbf\x0e\x44\x14\x1d\x31\x3c\x77\x5e\xf9\xa4\x98\x42\x76",
+ hash_length: 80,
+ hash: 2665036172,
+ },
+ TestCase{
+ string: b"\x12\xbf\x0e\x44\x14\x1d\x31\x3c\x77\x5e\xf9\xa4\x98\x42\x76",
+ hash_length: 96,
+ hash: 2665036172,
+ },
+ TestCase{
+ string: b"\x12\xbf\x0e\x44\x14\x1d\x31\x3c\x77\x5e\xf9\xa4\x98\x42\x76",
+ hash_length: 128,
+ hash: 2665036172,
+ },
+ TestCase{
+ string: b"\x97\xec\x22\xd5\x2d\xdb\xd7\x6a\xd7\x80\xae\xd1\x68\x3a\xca\xbe\x6b\x3c\xbb\x1b\x68\xca\xb4\xde\xa0\xb3\x7f\x80\x44\xd2\xa3\xe9\x80\x56\x06\xb9\xe4\xeb\xde\xe2\x9f\xc5\xcd\xc0\x21\x19\x21\x77\xdc\x38\xf9\x6c\xdb\x00\x64\x46\x40\xfa\x29\xd4\x9c\x87\x3e\x80\xd6\xbe\x4e\xed\x12\x54\xa9\x38\xe3\xff\x6f\x79\x30\xd7\xeb",
+ hash_length: 80,
+ hash: 2352453932,
+ },
+ TestCase{
+ string: b"\x97\xec\x22\xd5\x2d\xdb\xd7\x6a\xd7\x80\xae\xd1\x68\x3a\xca\xbe\x6b\x3c\xbb\x1b\x68\xca\xb4\xde\xa0\xb3\x7f\x80\x44\xd2\xa3\xe9\x80\x56\x06\xb9\xe4\xeb\xde\xe2\x9f\xc5\xcd\xc0\x21\x19\x21\x77\xdc\x38\xf9\x6c\xdb\x00\x64\x46\x40\xfa\x29\xd4\x9c\x87\x3e\x80\xd6\xbe\x4e\xed\x12\x54\xa9\x38\xe3\xff\x6f\x79\x30\xd7\xeb",
+ hash_length: 96,
+ hash: 2352453932,
+ },
+ TestCase{
+ string: b"\x97\xec\x22\xd5\x2d\xdb\xd7\x6a\xd7\x80\xae\xd1\x68\x3a\xca\xbe\x6b\x3c\xbb\x1b\x68\xca\xb4\xde\xa0\xb3\x7f\x80\x44\xd2\xa3\xe9\x80\x56\x06\xb9\xe4\xeb\xde\xe2\x9f\xc5\xcd\xc0\x21\x19\x21\x77\xdc\x38\xf9\x6c\xdb\x00\x64\x46\x40\xfa\x29\xd4\x9c\x87\x3e\x80\xd6\xbe\x4e\xed\x12\x54\xa9\x38\xe3\xff\x6f\x79\x30\xd7\xeb",
+ hash_length: 128,
+ hash: 2352453932,
+ },
+ TestCase{
+ string: b"\x4a\x94\x21\xd0\xe7\xa0\xd4\x23\x23\x38\xc1\x04\xce\xbb\xc9\xe6\xcc\x08\x90\x33\x7b\x0a\x28\x31\xf9\xe3\xe6\xc9\x78\x47\x10\x2c\xda\xb3\xf8\xcd\x7a\x20\xb7\xd1\xd6\x4c\xba\x18\x31\x44\x57\x08\x97\x89\xfd\x43\xce\xf2\x06\x67\xa1\x6d\x15\x47\xa1\xe1\x52\xf6\x4a\x9e\x79\x31\xae\x12\xae\xdd\x4b\x3c\x20\xba\xce\x50\x1e\x13",
+ hash_length: 80,
+ hash: 4169625832,
+ },
+ TestCase{
+ string: b"\x4a\x94\x21\xd0\xe7\xa0\xd4\x23\x23\x38\xc1\x04\xce\xbb\xc9\xe6\xcc\x08\x90\x33\x7b\x0a\x28\x31\xf9\xe3\xe6\xc9\x78\x47\x10\x2c\xda\xb3\xf8\xcd\x7a\x20\xb7\xd1\xd6\x4c\xba\x18\x31\x44\x57\x08\x97\x89\xfd\x43\xce\xf2\x06\x67\xa1\x6d\x15\x47\xa1\xe1\x52\xf6\x4a\x9e\x79\x31\xae\x12\xae\xdd\x4b\x3c\x20\xba\xce\x50\x1e\x13",
+ hash_length: 96,
+ hash: 4169625832,
+ },
+ TestCase{
+ string: b"\x4a\x94\x21\xd0\xe7\xa0\xd4\x23\x23\x38\xc1\x04\xce\xbb\xc9\xe6\xcc\x08\x90\x33\x7b\x0a\x28\x31\xf9\xe3\xe6\xc9\x78\x47\x10\x2c\xda\xb3\xf8\xcd\x7a\x20\xb7\xd1\xd6\x4c\xba\x18\x31\x44\x57\x08\x97\x89\xfd\x43\xce\xf2\x06\x67\xa1\x6d\x15\x47\xa1\xe1\x52\xf6\x4a\x9e\x79\x31\xae\x12\xae\xdd\x4b\x3c\x20\xba\xce\x50\x1e\x13",
+ hash_length: 128,
+ hash: 4169625832,
+ },
+ TestCase{
+ string: b"\x79\x1d\xba\x71\x02\x36\xfd\xaf\xbe\x49\x5e\x0b\x77\x7b\x57\xf7\x8b\xad\x6a\xe3\xc5\x57\x5a\x34\xa6\x12\xb2\xb2\x8a\x4e\x11\x13\xa5\x97\x2f\xf6\xbc\x62\xdb\x63\x0b\xa4\xc3\x3d\x66\x92\x3e\x8b\x53\x47\x12\x3a\x36\x9a\xe2\x31\xf9\x0d\x62\x71\x79\x3f\xa7\x04\x09\x8c\x40\xa7\x8a\x17\x3a\xb3\x6a\xea\x51\xdf\x91\x5a\x1d\x42\x4e",
+ hash_length: 80,
+ hash: 2417296923,
+ },
+ TestCase{
+ string: b"\x79\x1d\xba\x71\x02\x36\xfd\xaf\xbe\x49\x5e\x0b\x77\x7b\x57\xf7\x8b\xad\x6a\xe3\xc5\x57\x5a\x34\xa6\x12\xb2\xb2\x8a\x4e\x11\x13\xa5\x97\x2f\xf6\xbc\x62\xdb\x63\x0b\xa4\xc3\x3d\x66\x92\x3e\x8b\x53\x47\x12\x3a\x36\x9a\xe2\x31\xf9\x0d\x62\x71\x79\x3f\xa7\x04\x09\x8c\x40\xa7\x8a\x17\x3a\xb3\x6a\xea\x51\xdf\x91\x5a\x1d\x42\x4e",
+ hash_length: 96,
+ hash: 987115853,
+ },
+ TestCase{
+ string: b"\x79\x1d\xba\x71\x02\x36\xfd\xaf\xbe\x49\x5e\x0b\x77\x7b\x57\xf7\x8b\xad\x6a\xe3\xc5\x57\x5a\x34\xa6\x12\xb2\xb2\x8a\x4e\x11\x13\xa5\x97\x2f\xf6\xbc\x62\xdb\x63\x0b\xa4\xc3\x3d\x66\x92\x3e\x8b\x53\x47\x12\x3a\x36\x9a\xe2\x31\xf9\x0d\x62\x71\x79\x3f\xa7\x04\x09\x8c\x40\xa7\x8a\x17\x3a\xb3\x6a\xea\x51\xdf\x91\x5a\x1d\x42\x4e",
+ hash_length: 128,
+ hash: 987115853,
+ },
+ TestCase{
+ string: b"\x08\xd5\x5f\x9b\x1a\xd5\x15\x4b\x80\x3f\x01\x35\x6f\xda\xf3\x9a\x2d\x8d\xb6\xb2\x36\x8b\xc4\x69\x46\xfe\xe1\x3f\x83\xbc\x45\xc8\x53\x75\xf5\x89\x22\x8b\x14\xfa\xd0\xce\xc9\x85\xe8\x98\x6b\x47\xc4\xa5\xf9\x06\x4c\x39\xdc\x8c\xe2\xf1\xa4\x59\x1c\xc1\xd4\x16\xb1\xb4\x2a\x61\x2c\x48\x2c\x7f\xd2\x1f\x77\xd2\x92\xf9\xfa\x84\x8c\x74\xc7\xa1\x3d\x72\x46\x97\x63\xc1\x97\x9a\x4b\xb2\x17",
+ hash_length: 80,
+ hash: 1750895817,
+ },
+ TestCase{
+ string: b"\x08\xd5\x5f\x9b\x1a\xd5\x15\x4b\x80\x3f\x01\x35\x6f\xda\xf3\x9a\x2d\x8d\xb6\xb2\x36\x8b\xc4\x69\x46\xfe\xe1\x3f\x83\xbc\x45\xc8\x53\x75\xf5\x89\x22\x8b\x14\xfa\xd0\xce\xc9\x85\xe8\x98\x6b\x47\xc4\xa5\xf9\x06\x4c\x39\xdc\x8c\xe2\xf1\xa4\x59\x1c\xc1\xd4\x16\xb1\xb4\x2a\x61\x2c\x48\x2c\x7f\xd2\x1f\x77\xd2\x92\xf9\xfa\x84\x8c\x74\xc7\xa1\x3d\x72\x46\x97\x63\xc1\x97\x9a\x4b\xb2\x17",
+ hash_length: 96,
+ hash: 720276802,
+ },
+ TestCase{
+ string: b"\x08\xd5\x5f\x9b\x1a\xd5\x15\x4b\x80\x3f\x01\x35\x6f\xda\xf3\x9a\x2d\x8d\xb6\xb2\x36\x8b\xc4\x69\x46\xfe\xe1\x3f\x83\xbc\x45\xc8\x53\x75\xf5\x89\x22\x8b\x14\xfa\xd0\xce\xc9\x85\xe8\x98\x6b\x47\xc4\xa5\xf9\x06\x4c\x39\xdc\x8c\xe2\xf1\xa4\x59\x1c\xc1\xd4\x16\xb1\xb4\x2a\x61\x2c\x48\x2c\x7f\xd2\x1f\x77\xd2\x92\xf9\xfa\x84\x8c\x74\xc7\xa1\x3d\x72\x46\x97\x63\xc1\x97\x9a\x4b\xb2\x17",
+ hash_length: 128,
+ hash: 720276802,
+ },
+ TestCase{
+ string: b"\x9b\xf2\x2d\xc5\x5f\xe7\xa6\xf3\xf6\xd8\x2c\x7f\x89\x72\x1d\xba\x88\x1a\x84\xb1\x7b\xad\x24\x96\x31\x80\x10\x2b\x1f\x32\x06\xc8\xef\x00\x5a\xe2\x9c\xfc\x3a\x6f\x5d\x70\xc0\x06\xe0\x8b\xcd\xd5\xec\xf4\x25\x91\xd9\xe4\x86\x4f\x3a\xdb\x36\x42\xde\x57\x8d\x5b\xeb\xd3\x67\x47\x99\x0b\x1b\x26\xd1\x06\x93\x5e\xa2\xf9\xc3\x28\x2e\x51\xed\x99\x12\x84\xd8\x79\x85\x12\x16\xde\x1d\xdc\x47\x4b",
+ hash_length: 80,
+ hash: 760136888,
+ },
+ TestCase{
+ string: b"\x9b\xf2\x2d\xc5\x5f\xe7\xa6\xf3\xf6\xd8\x2c\x7f\x89\x72\x1d\xba\x88\x1a\x84\xb1\x7b\xad\x24\x96\x31\x80\x10\x2b\x1f\x32\x06\xc8\xef\x00\x5a\xe2\x9c\xfc\x3a\x6f\x5d\x70\xc0\x06\xe0\x8b\xcd\xd5\xec\xf4\x25\x91\xd9\xe4\x86\x4f\x3a\xdb\x36\x42\xde\x57\x8d\x5b\xeb\xd3\x67\x47\x99\x0b\x1b\x26\xd1\x06\x93\x5e\xa2\xf9\xc3\x28\x2e\x51\xed\x99\x12\x84\xd8\x79\x85\x12\x16\xde\x1d\xdc\x47\x4b",
+ hash_length: 96,
+ hash: 1408671026,
+ },
+ TestCase{
+ string: b"\x9b\xf2\x2d\xc5\x5f\xe7\xa6\xf3\xf6\xd8\x2c\x7f\x89\x72\x1d\xba\x88\x1a\x84\xb1\x7b\xad\x24\x96\x31\x80\x10\x2b\x1f\x32\x06\xc8\xef\x00\x5a\xe2\x9c\xfc\x3a\x6f\x5d\x70\xc0\x06\xe0\x8b\xcd\xd5\xec\xf4\x25\x91\xd9\xe4\x86\x4f\x3a\xdb\x36\x42\xde\x57\x8d\x5b\xeb\xd3\x67\x47\x99\x0b\x1b\x26\xd1\x06\x93\x5e\xa2\xf9\xc3\x28\x2e\x51\xed\x99\x12\x84\xd8\x79\x85\x12\x16\xde\x1d\xdc\x47\x4b",
+ hash_length: 128,
+ hash: 1408671026,
+ },
+ TestCase{
+ string: b"\xa7\x97\xb4\x6c\x4b\x3e\xa9\x40\x2d\x1c\x46\xd6\x42\xf7\xee\xd3\xc4\xa7\xa8\xbd\xd3\xe0\x1a\x56\x31\x4e\x9b\xbd\x28\x16\x56\x1f\x38\x57\x56\x8b\x7d\xa4\xc9\xe4\xb2\xce\x3c\xf8\x0f\x13\x83\x35\x66\x86\xdf\x33\xfa\x6e\x09\xf7\x3c\x05\xd9\x05\xb3\xb6\x62\xc2\xd9\x75\x00\x7f\x00\xd9\x2c\x67\x78\x8c\x4c\x45\x3b\x9b\xc7\xaf\x6e\xdf\x23\x79\x09\xa4\xbb\x29\x29\x64\xd4\xc7\x2c\x50\x83\x24\xc7",
+ hash_length: 80,
+ hash: 4113347769,
+ },
+ TestCase{
+ string: b"\xa7\x97\xb4\x6c\x4b\x3e\xa9\x40\x2d\x1c\x46\xd6\x42\xf7\xee\xd3\xc4\xa7\xa8\xbd\xd3\xe0\x1a\x56\x31\x4e\x9b\xbd\x28\x16\x56\x1f\x38\x57\x56\x8b\x7d\xa4\xc9\xe4\xb2\xce\x3c\xf8\x0f\x13\x83\x35\x66\x86\xdf\x33\xfa\x6e\x09\xf7\x3c\x05\xd9\x05\xb3\xb6\x62\xc2\xd9\x75\x00\x7f\x00\xd9\x2c\x67\x78\x8c\x4c\x45\x3b\x9b\xc7\xaf\x6e\xdf\x23\x79\x09\xa4\xbb\x29\x29\x64\xd4\xc7\x2c\x50\x83\x24\xc7",
+ hash_length: 96,
+ hash: 1367119804,
+ },
+ TestCase{
+ string: b"\xa7\x97\xb4\x6c\x4b\x3e\xa9\x40\x2d\x1c\x46\xd6\x42\xf7\xee\xd3\xc4\xa7\xa8\xbd\xd3\xe0\x1a\x56\x31\x4e\x9b\xbd\x28\x16\x56\x1f\x38\x57\x56\x8b\x7d\xa4\xc9\xe4\xb2\xce\x3c\xf8\x0f\x13\x83\x35\x66\x86\xdf\x33\xfa\x6e\x09\xf7\x3c\x05\xd9\x05\xb3\xb6\x62\xc2\xd9\x75\x00\x7f\x00\xd9\x2c\x67\x78\x8c\x4c\x45\x3b\x9b\xc7\xaf\x6e\xdf\x23\x79\x09\xa4\xbb\x29\x29\x64\xd4\xc7\x2c\x50\x83\x24\xc7",
+ hash_length: 128,
+ hash: 687960245,
+ },
+ TestCase{
+ string: b"\xf1\xdf\xb7\x7c\xcb\xf7\xc8\xe8\x94\xd3\x04\x33\x3e\x1a\x9c\x7d\x4a\xa4\xc3\xaf\x87\x97\xdb\xcc\xd6\x23\xe5\x0d\xf2\xa9\x9e\x63\xf6\xc4\xa8\x4d\x56\x86\x2b\x9c\x5f\xca\x4c\x17\x88\xa4\x5c\x73\x80\x6b\x2c\x03\x0e\xcd\x9f\xb8\x99\x44\x40\x2a\x33\x73\x94\xd1\x3f\x64\x56\x76\xf1\x9f\xfc\xb4\x1b\x1c\xa7\xc8\x28\x90\x03\x21\xe1\xcf\xb4\x57\x14\x2b\x5f\xbb\x84\x99\x4f\x16\xd4\x25\xe4\x54\x6f\xcd\x2c\x0f\x70\x98\xdb\xf3\xb0\xfe\xe0\x1a\x2e\x3d\x8b\x26\xdf\x28\x41\x16\x21\xc4\x86\x43\x9a\x29\x2b\xa3\x18\x74\x98",
+ hash_length: 80,
+ hash: 1288060573,
+ },
+ TestCase{
+ string: b"\xf1\xdf\xb7\x7c\xcb\xf7\xc8\xe8\x94\xd3\x04\x33\x3e\x1a\x9c\x7d\x4a\xa4\xc3\xaf\x87\x97\xdb\xcc\xd6\x23\xe5\x0d\xf2\xa9\x9e\x63\xf6\xc4\xa8\x4d\x56\x86\x2b\x9c\x5f\xca\x4c\x17\x88\xa4\x5c\x73\x80\x6b\x2c\x03\x0e\xcd\x9f\xb8\x99\x44\x40\x2a\x33\x73\x94\xd1\x3f\x64\x56\x76\xf1\x9f\xfc\xb4\x1b\x1c\xa7\xc8\x28\x90\x03\x21\xe1\xcf\xb4\x57\x14\x2b\x5f\xbb\x84\x99\x4f\x16\xd4\x25\xe4\x54\x6f\xcd\x2c\x0f\x70\x98\xdb\xf3\xb0\xfe\xe0\x1a\x2e\x3d\x8b\x26\xdf\x28\x41\x16\x21\xc4\x86\x43\x9a\x29\x2b\xa3\x18\x74\x98",
+ hash_length: 96,
+ hash: 1810369278,
+ },
+ TestCase{
+ string: b"\xf1\xdf\xb7\x7c\xcb\xf7\xc8\xe8\x94\xd3\x04\x33\x3e\x1a\x9c\x7d\x4a\xa4\xc3\xaf\x87\x97\xdb\xcc\xd6\x23\xe5\x0d\xf2\xa9\x9e\x63\xf6\xc4\xa8\x4d\x56\x86\x2b\x9c\x5f\xca\x4c\x17\x88\xa4\x5c\x73\x80\x6b\x2c\x03\x0e\xcd\x9f\xb8\x99\x44\x40\x2a\x33\x73\x94\xd1\x3f\x64\x56\x76\xf1\x9f\xfc\xb4\x1b\x1c\xa7\xc8\x28\x90\x03\x21\xe1\xcf\xb4\x57\x14\x2b\x5f\xbb\x84\x99\x4f\x16\xd4\x25\xe4\x54\x6f\xcd\x2c\x0f\x70\x98\xdb\xf3\xb0\xfe\xe0\x1a\x2e\x3d\x8b\x26\xdf\x28\x41\x16\x21\xc4\x86\x43\x9a\x29\x2b\xa3\x18\x74\x98",
+ hash_length: 128,
+ hash: 2429195322,
+ },
+ TestCase{
+ string: b"\x43\xd7\x5e\xff\x9b\x29\x34\x97\x50\x92\xb3\xcd\x38\xee\x3c\xdf\xc7\x7a\x76\x4e\x72\xaf\xb2\xdd\x37\x1c\x8e\x1c\xec\x08\x15\x72\x4f\xac\x2d\x67\x19\xc1\xc5\x6f\x52\x7d\x79\xe9\xa8\x3d\xcb\x3b\xdb\x4d\x29\x81\x89\xa8\x1f\xcb\xbf\xc6\x2f\x5a\xab\x9e\x05\xc6\xec\x42\x24\xf0\x9e\x2c\xb4\x7e\xc1\x85\x10\x3c\xc0\xd5\x99\x9a\x62\x52\x04\xde\xe1\xd1\x44\x5e\x4b\x4b\xc1\x10\xf1\xbe\x06\xc8\xf7\x07\xd2\x92\xc8\x92\xb3\xb6\xa5\x79\x6e\x93\x6d\xfa\xd1\x68\x6e\xec\x25\x10\xcf\x4f\x8e\xd4\xfb\x3c\x56\x04\xbc\x6f\xbc\x65",
+ hash_length: 80,
+ hash: 1125261758,
+ },
+ TestCase{
+ string: b"\x43\xd7\x5e\xff\x9b\x29\x34\x97\x50\x92\xb3\xcd\x38\xee\x3c\xdf\xc7\x7a\x76\x4e\x72\xaf\xb2\xdd\x37\x1c\x8e\x1c\xec\x08\x15\x72\x4f\xac\x2d\x67\x19\xc1\xc5\x6f\x52\x7d\x79\xe9\xa8\x3d\xcb\x3b\xdb\x4d\x29\x81\x89\xa8\x1f\xcb\xbf\xc6\x2f\x5a\xab\x9e\x05\xc6\xec\x42\x24\xf0\x9e\x2c\xb4\x7e\xc1\x85\x10\x3c\xc0\xd5\x99\x9a\x62\x52\x04\xde\xe1\xd1\x44\x5e\x4b\x4b\xc1\x10\xf1\xbe\x06\xc8\xf7\x07\xd2\x92\xc8\x92\xb3\xb6\xa5\x79\x6e\x93\x6d\xfa\xd1\x68\x6e\xec\x25\x10\xcf\x4f\x8e\xd4\xfb\x3c\x56\x04\xbc\x6f\xbc\x65",
+ hash_length: 96,
+ hash: 1477867120,
+ },
+ TestCase{
+ string: b"\x43\xd7\x5e\xff\x9b\x29\x34\x97\x50\x92\xb3\xcd\x38\xee\x3c\xdf\xc7\x7a\x76\x4e\x72\xaf\xb2\xdd\x37\x1c\x8e\x1c\xec\x08\x15\x72\x4f\xac\x2d\x67\x19\xc1\xc5\x6f\x52\x7d\x79\xe9\xa8\x3d\xcb\x3b\xdb\x4d\x29\x81\x89\xa8\x1f\xcb\xbf\xc6\x2f\x5a\xab\x9e\x05\xc6\xec\x42\x24\xf0\x9e\x2c\xb4\x7e\xc1\x85\x10\x3c\xc0\xd5\x99\x9a\x62\x52\x04\xde\xe1\xd1\x44\x5e\x4b\x4b\xc1\x10\xf1\xbe\x06\xc8\xf7\x07\xd2\x92\xc8\x92\xb3\xb6\xa5\x79\x6e\x93\x6d\xfa\xd1\x68\x6e\xec\x25\x10\xcf\x4f\x8e\xd4\xfb\x3c\x56\x04\xbc\x6f\xbc\x65",
+ hash_length: 128,
+ hash: 3694995364,
+ },
+ TestCase{
+ string: b"\x23\x66\x8c\x45\x63\x79\xfb\x31\x74\x7c\xa5\xcc\x58\x09\xc6\x46\x13\x9e\xf1\x96\x66\xb5\x03\x3a\xaa\x03\x78\x6e\x93\xdb\x9e\x70\x74\x05\xaa\x30\xca\x00\xf3\xc3\xef\xd0\x2e\xb5\xc3\x6c\xbd\x7f\xbc\x41\xd2\x1a\x83\xec\x72\xb0\x8c\x35\x9e\xcf\x6f\x16\x90\x6b\xdb\xa5\x88\xc6\xdc\x05\x8c\xdf\x51\x99\xa7\xca\xa9\xe3\x59\x68\x20\xb2\xdd\x63\xab\xd9\x27\xec\xcb\x1a\x2c\xac\xed\x5d\x8c\x97\x04\xbe\x22\x76\xbb\x14\x3b\x5f\xff\xc3\x78\xe2\xed\x79\xea\xdf\xc4\x5a\x28\xf2\x7a\xcb\x20\x68\x7b\xdc\xbf\xf2\x77\x61\x56\x5a\xe1",
+ hash_length: 80,
+ hash: 6281856,
+ },
+ TestCase{
+ string: b"\x23\x66\x8c\x45\x63\x79\xfb\x31\x74\x7c\xa5\xcc\x58\x09\xc6\x46\x13\x9e\xf1\x96\x66\xb5\x03\x3a\xaa\x03\x78\x6e\x93\xdb\x9e\x70\x74\x05\xaa\x30\xca\x00\xf3\xc3\xef\xd0\x2e\xb5\xc3\x6c\xbd\x7f\xbc\x41\xd2\x1a\x83\xec\x72\xb0\x8c\x35\x9e\xcf\x6f\x16\x90\x6b\xdb\xa5\x88\xc6\xdc\x05\x8c\xdf\x51\x99\xa7\xca\xa9\xe3\x59\x68\x20\xb2\xdd\x63\xab\xd9\x27\xec\xcb\x1a\x2c\xac\xed\x5d\x8c\x97\x04\xbe\x22\x76\xbb\x14\x3b\x5f\xff\xc3\x78\xe2\xed\x79\xea\xdf\xc4\x5a\x28\xf2\x7a\xcb\x20\x68\x7b\xdc\xbf\xf2\x77\x61\x56\x5a\xe1",
+ hash_length: 96,
+ hash: 598421397,
+ },
+ TestCase{
+ string: b"\x23\x66\x8c\x45\x63\x79\xfb\x31\x74\x7c\xa5\xcc\x58\x09\xc6\x46\x13\x9e\xf1\x96\x66\xb5\x03\x3a\xaa\x03\x78\x6e\x93\xdb\x9e\x70\x74\x05\xaa\x30\xca\x00\xf3\xc3\xef\xd0\x2e\xb5\xc3\x6c\xbd\x7f\xbc\x41\xd2\x1a\x83\xec\x72\xb0\x8c\x35\x9e\xcf\x6f\x16\x90\x6b\xdb\xa5\x88\xc6\xdc\x05\x8c\xdf\x51\x99\xa7\xca\xa9\xe3\x59\x68\x20\xb2\xdd\x63\xab\xd9\x27\xec\xcb\x1a\x2c\xac\xed\x5d\x8c\x97\x04\xbe\x22\x76\xbb\x14\x3b\x5f\xff\xc3\x78\xe2\xed\x79\xea\xdf\xc4\x5a\x28\xf2\x7a\xcb\x20\x68\x7b\xdc\xbf\xf2\x77\x61\x56\x5a\xe1",
+ hash_length: 128,
+ hash: 1313299978,
+ },
+
+ ]
+}