please have a look at https://github.com/devZer0/libsml-testing/pull/12 maybe there is room for some enhancement of crc checks and error verbosity ?