Add crc8 implementation and unit tests for it. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
move crc.h to sys/crc.h and create a shim for backward-compatibility. No functional changes to the headers. A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES. Related to #16539 Signed-off-by: Anas Nashif <anas.nashif@intel.com>