CC_TST_TRNG output format
When CC_TST_TRNG is run, in addition to collecting samples, it stores some metadata in its output buffer. This buffer is described in terms of 32-bit little-endian words.
The following table lists the value of each word:
Table A-1 CC_TST_TRNG output format
|Buffer offset (32-bit words)||Value|
|4..N-1||Collected samples. Each 32-bit word contains the first collected sample in bit 0, and the last collected sample in bit 31.|
The value of "N" is derived from the buffer size, and is calculated to fit the entire data in the supplied buffer (as per the buffSize argument).
When parsing the output, it is important to test that the signature value is correct.