Research Article

Lightweight Crypto Stack for TPMS Using Lesamnta-LW

Table 3

Implementation comparison on AVR ATmega 128 platform.

NameCode (byte)RAM (data) (byte)RAM (stack) (byte)No of cycles @16 MHzTime (ms)Compiler option

Lesamnta-LW-PRF/17226457759254.75−O1
Lesamnta-LW-PRF/17806452683614.27−O2
Lesamnta-LW-PRF/23006442539563.37−O3
Lesamnta-LW-PRF/17026459772814.83−Os
Lesamnta-LW-PRF/17326457759324.75−O1
Lesamnta-LW-PRF/17906452683684.27−O2
Lesamnta-LW-PRF/23106442539633.37−O3
Lesamnta-LW-PRF/17126459772884.83−Os
HMAC-SHA-25624326089765946941.22−O1
HMAC-SHA-25623846089965955241.22−O2
HMAC-SHA-256278260810767439242.15−O3
HMAC-SHA-256246860810770396044.00−Os

We consider that the process of xoring 0x0 is skipped by optimization of the compiler.