The Doxygen info for function vos_sc32() in vos_utils.h contains the following line:
Note: Returned CRC is inverted
I believe that this is a typo, due to a cut-and-paste from vos_crc32() (in vos_utils.c).
There is no evidence of bit inversion in the source code of vos_sc32() (bit inversion is evident in vos_crc32() instead).
Furthermore: IEC61375-2-3 - Figure B.4 states that:
CRC of the string "123456789" is 0x1697d06a
I expect to obtain this value using vos_sc32() but I cannot.
Does anyone knows which seed should be used to get this value?
I tried supplying 0x00000000 and 0xffffffff but always obtain other values.
Comments in header file corrected. Standard needs to be corrected regarding the expected value for "123456789". Calculation is acc. IEC61784-3-3.