SWRA667 January 2020 CC1312PSIP , CC1312R , CC1314R10 , CC1352P , CC1352P7 , CC1352R , CC1354P10 , CC1354R10 , CC2642R , CC2642R-Q1 , CC2652P , CC2652R , CC2652R7 , CC2652RB , CC2652RSIP
The only factor influencing the duration of a TRNG operation is the amount of output bytes requested and the number of cycles the TRNG hardware is asked to sample the 24 free-running oscillators for before processing the result. The default setting is approximately 5 ms per 64 bits of output.
We requested 16 and 32 bytes to simulate generating the private key for a symmetric or asymmetric key.
On embedded platforms, sources of entropy usually require dedicated TRNG hardware. mbed TLS cannot reasonably provide a purely software based module that supplies reliable entropy. We have thus omitted the comparison between the TRNG drivers and mbed TLS for the TRNG benchmark.
Length (bytes) | Duration HW (ms) | Average Current HW (mA) |
---|---|---|
16 | 9.980 | 2.20 |
32 | 19.920 | 2.19 |