Home
last modified time | relevance | path

Searched refs:kStringCrc (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_checksum/
Dcrc32_test.cc39 constexpr uint32_t kStringCrc = 0x9EC87F88; variable
50 EXPECT_EQ(Crc32::Calculate(std::as_bytes(std::span(kString))), kStringCrc); in TEST()
77 EXPECT_EQ(crc32.value(), kStringCrc); in TEST()
90 EXPECT_EQ(CallChecksumCrc32(kString.data(), kString.size()), kStringCrc); in TEST()
105 kStringCrc); in TEST()
Dcrc16_ccitt_test.cc35 constexpr uint16_t kStringCrc = 0xC184; variable
57 kStringCrc); in TEST()
69 EXPECT_EQ(crc16.value(), kStringCrc); in TEST()
79 EXPECT_EQ(CallChecksumCrc16Ccitt(kString.data(), kString.size()), kStringCrc); in TEST()
/external/pigweed/pw_kvs/
Dchecksum_test.cc28 constexpr uint16_t kStringCrc = 0xC184; variable
35 EXPECT_EQ(OkStatus(), algo.Verify(std::as_bytes(std::span(&kStringCrc, 1)))); in TEST()