Jussi Kivilinna
2fd1bb8f02
Add option to use smaller AES tables (table sizes reduced by 6144 bytes)
This patch adds MBEDTLS_AES_SMALL_TABLES option to reduce number of AES
look-up tables and thus save 6 KiB of memory. Enabling this option
cause performance hit MBEDTLS_AES_SMALL_TABLES of ~7% on ARM and ~15%
on x86-64.
Benchmark on Cortex-A7 (armhf):
Before:
AES-CBC-128 : 14394 Kb/s, 0 cycles/byte
AES-CBC-192 : 12442 Kb/s, 0 cycles/byte
AES-CBC-256 : 10958 Kb/s, 0 cycles/byte
After:
AES-CBC-128 : 13342 Kb/s, 0 cycles/byte
AES-CBC-192 : 11469 Kb/s, 0 cycles/byte
AES-CBC-256 : 10058 Kb/s, 0 cycles/byte
Benchmark on Intel Core i5-4570 (x86_64, 3.2 Ghz, no turbo):
Before:
AES-CBC-128 : 215759 Kb/s, 14 cycles/byte
AES-CBC-192 : 190884 Kb/s, 16 cycles/byte
AES-CBC-256 : 171536 Kb/s, 18 cycles/byte
After:
AES-CBC-128 : 185108 Kb/s, 16 cycles/byte
AES-CBC-192 : 162839 Kb/s, 19 cycles/byte
AES-CBC-256 : 144700 Kb/s, 21 cycles/byte
2017-06-07 15:29:31 +01:00
..
2015-06-25 10:59:56 +02:00
2017-06-07 15:29:31 +01:00
2016-05-23 14:29:28 +01:00
2016-05-23 14:29:32 +01:00
2016-10-13 13:54:14 +01:00
2016-08-25 15:42:27 +01:00
2017-02-15 23:31:07 +02:00
2017-03-02 21:34:21 +00:00
2016-05-23 14:29:32 +01:00
2016-06-07 14:52:35 +01:00
2016-05-23 14:29:32 +01:00
2017-06-06 18:44:13 +02:00
2015-09-04 14:21:07 +02:00
2017-02-15 23:31:07 +02:00
2017-05-12 00:18:04 +01:00
2017-05-16 10:22:37 +01:00
2017-02-15 23:31:07 +02:00
2017-02-15 09:08:26 +00:00
2016-05-23 14:29:32 +01:00
2016-01-20 00:44:42 +00:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-20 16:20:56 +02:00
2017-05-11 22:42:14 +01:00
2017-05-11 22:42:14 +01:00
2016-06-12 00:31:33 +01:00
2016-09-15 18:57:34 +01:00
2016-10-13 17:21:01 +01:00
2016-10-13 13:54:47 +01:00
2016-05-23 23:18:26 +01:00
2015-09-04 14:21:07 +02:00
2016-10-13 13:51:09 +01:00
2017-02-15 23:31:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2016-05-23 14:29:29 +01:00
2017-02-15 09:08:26 +00:00
2016-09-04 15:14:38 +01:00
2015-09-04 14:21:07 +02:00
2017-02-15 22:54:42 +02:00
2017-05-11 21:55:17 +01:00
2017-05-11 21:55:17 +01:00
2016-08-25 16:36:35 +01:00
2015-09-04 14:21:07 +02:00
2016-05-23 14:29:28 +01:00
2017-02-15 09:08:26 +00:00
2015-10-21 12:50:45 +02:00
2017-02-15 09:08:26 +00:00
2016-08-25 16:36:35 +01:00
2017-05-16 10:22:37 +01:00
2016-05-23 14:29:32 +01:00
2016-10-13 15:10:14 +01:00
2016-10-13 15:10:14 +01:00
2016-07-13 14:46:18 +01:00
2017-05-15 11:50:11 +01:00
2017-06-06 19:22:41 +02:00
2017-03-02 12:26:11 +00:00
2017-06-06 20:11:36 +02:00
2016-07-13 14:46:18 +01:00
2017-06-06 19:22:41 +02:00
2017-05-16 10:22:37 +01:00
2016-02-22 10:47:32 +01:00
2017-06-07 15:29:31 +01:00
2015-09-04 14:21:07 +02:00
2015-10-21 12:50:45 +02:00
2017-02-28 14:51:31 +00:00
2017-06-06 18:44:14 +02:00
2017-02-15 22:54:42 +02:00
2017-06-06 18:44:13 +02:00
2016-10-11 14:07:48 +01:00
2016-10-11 14:07:48 +01:00
2015-09-04 14:21:07 +02:00