SWRA667 January 2020 CC1312PSIP , CC1312R , CC1314R10 , CC1352P , CC1352P7 , CC1352R , CC1354P10 , CC1354R10 , CC2642R , CC2642R-Q1 , CC2652P , CC2652R , CC2652R7 , CC2652RB , CC2652RSIP
AES CTR DRBG (see Reference [9]) is a deterministic random bit generator using the AES block cipher algorithm in counter mode. The AES CTR DRBG benchmark consists of three operations: initializing the internal state, reseeding the internal state, and producing a number of bytes of cryptographically random output. The most important of these operations is the byte generation as it is run far more frequently compared to initializing and reseeding an AES CTR DRBG instance.
The duration of these operations is governed by the key size and output length. We used a key length of 256 bits and an output length of 32 bytes. Unlike all the other AES benchmarks, we used a 256-bit AES key length to ensure that the AES CTR DRBG instance has a security strength of 256 bits. This is required to efficiently use the AES CTR DRBG output as a private key.
Initial seed entropy generation is not considered by the benchmark.
Operation | Duration HW (ms) | Duration SW mbed TLS (ms) | Duration Improvement | Average Current HW (mA) | Average Current SW mbed TLS (mA) | Energy Efficiency Improvement |
---|---|---|---|---|---|---|
Initialize | 0.066 | 2.041 | 30.9 | 3.98 | 3.10 | 24.1 |
Reseed | 0.047 | 1.019 | 21.7 | 3.38 | 3.10 | 19.9 |
Generate bytes (32) | 0.072 | 0.227 | 3.2 | 3.63 | 3.10 | 2.7 |