All code was tested and benchmarked on the MSP430™ platform using IAR Embedded Workbench® IDE as the compiler tool. The optimization columns in the benchmark tables indicate the type of optimization used in IAR. Table 1-1 describes the settings used.
Optimized for | Optimization Level | Aggressive Unrolling | Aggressive In-Lining |
---|---|---|---|
Size | High => Size | No | No |
Speed | High => Speed | Yes | Yes |
AES (ENC/DES Function) | Optimization | AES (ENC Only Function) | Optimization | ||||
---|---|---|---|---|---|---|---|
Speed | Size | Speed | Size | ||||
Memory (KB) | RAM (B) | 34 | 34 | Memory (KB) | RAM (B) | 34 | 34 |
Const | 0.55 | 0.55 | Const | 0.29 | 0.29 | ||
Code | 1 | 0.83 | Code | 0.67 | 0.51 | ||
Clock Cycles (kilo-cycles) | 7.9 | 12.3 | Clock Cycles (kilo-cycles) | 7.3 | 11.3 |