Implementation is based on the section 6.1 of the RFC 4880. Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
Added CRC4 and CRC4_TI to the supported crc_types[] array. On some SoCs, like ESP32-S3, missing values can cause hardfaults due to attempts to access the zero address. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
Move crc implementation to own directory and reduce clutter in lib/os. Signed-off-by: Anas Nashif <anas.nashif@intel.com>