- Make in_memory_fake_flash.h a separate library that is only visible
within pw_kvs (for now).
- Have the fake flash use PW_LOG_ERROR instead of the short names, since
it's logging from the header.
Change-Id: I686024bad1e532632d0c9e6eefe74207fdc1f22e
- Allow checksums to verify data larger than their internal state. This
facilitates using a CRC16 in a uint32_t.
- Move checksum functions to the EntryHeader class, since it ultimately
stores the checksums and is included with it.
- Enable one checksum test. Further tests are needed.
- Make some tweaks to the Get overload for objects.
Change-Id: I989b72905e140794f75c8f8619aaab1623f6f195
- Create CRC16 implementation of pw::kvs::ChecksumAlgorithm.
- Add tests for the ChecksumAlgorithm class.
Change-Id: I3d7268e49c4eec06d61e113602ce24c05a3b0fa0
Builds, but lots more work needed.
Fun fact: this code was written collaboratively in a Google Doc.
Change-Id: I8a89c5d0fdc71ec28cf432350e65d17e24a6f25c
- Use std::string_view for keys to avoid the need for null termination.
- Use std::span and std::byte for data.
- Use StatusWithSize and size_t.
- Other minor adjustments.
Change-Id: I10d2f0f47b386071ed4ecf81586decfcc99244cd