SWRA667 January 2020 CC1312PSIP , CC1312R , CC1314R10 , CC1352P , CC1352P7 , CC1352R , CC1354P10 , CC1354R10 , CC2642R , CC2642R-Q1 , CC2652P , CC2652R , CC2652R7 , CC2652RB , CC2652RSIP
SHA-256 (see Reference [4]) is one of the SHA-2 hashing algorithms and has a hash digest size of 256 bits. The SHA-256 benchmark consists of hashing a variable length message in one go. The duration of a SHA-256 hashing operation is affected only by the input length. We used input lengths of 64, 8k, and 16k bytes.
Payload Length (bytes) | Duration HW (ms) | Duration SW mbed TLS (ms) | Duration Improvement | Average Current HW (mA) | Average Current SW mbed TLS (mA) | Energy Efficiency Improvement |
---|---|---|---|---|---|---|
64 | 0.023 | 0.173 | 7.6 | 3.80 | 3.10 | 6.2 |
8000 | 0.261 | 10.4 | 39.6 | 3.00 | 3.10 | 40.9 |
16000 | 0.429 | 20.6 | 48.0 | 2.76 | 3.10 | 54.0 |