Denys Vlasenko
3b411ebbfc
tls: replace "26-bit" P256 code with 32-bit one.
function old new delta
sp_256_ecc_mulmod_8 - 1171 +1171
sp_256_mod_mul_norm_8 - 834 +834
sp_256_proj_point_dbl_8 - 374 +374
sp_256_mont_reduce_8 - 268 +268
sp_256_mont_mul_8 - 151 +151
sp_256_sub_8 - 76 +76
sp_256_add_8 - 76 +76
sp_256_cmp_8 - 38 +38
static.sp_256_mont_dbl_8 - 31 +31
static.sp_256_mont_sub_8 - 29 +29
sp_256_to_bin_8 - 28 +28
sp_256_point_from_bin2x32 50 73 +23
sp_256_mont_sqr_8 - 7 +7
sp_256_mont_sqr_10 7 - -7
p256_mod 40 32 -8
curve_P256_compute_pubkey_and_premaster 186 167 -19
sp_256_sub_10 22 - -22
sp_256_add_10 22 - -22
sp_256_cmp_10 24 - -24
sp_256_norm_10 31 - -31
static.sp_256_mont_sub_10 49 - -49
static.sp_256_mont_dbl_10 52 - -52
static.sp_256_mul_add_10 82 - -82
sp_256_from_bin_10 119 - -119
sp_256_to_bin_10 120 - -120
sp_256_mont_reduce_10 178 - -178
sp_256_mont_mul_10 214 - -214
sp_256_proj_point_dbl_10 451 - -451
sp_256_ecc_mulmod_10 1216 - -1216
sp_256_mod_mul_norm_10 1305 - -1305
------------------------------------------------------------------------------
(add/remove: 12/15 grow/shrink: 1/2 up/down: 3106/-3919) Total: -813 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-10-05 20:01:38 +02:00
..
2021-02-03 20:52:40 +01:00
2021-09-04 01:50:42 +02:00
2021-03-23 13:50:02 +01:00
2021-02-22 15:36:07 +01:00
2021-06-16 14:24:27 +02:00
2021-09-09 22:00:44 +02:00
2021-06-06 13:44:08 +02:00
2021-09-10 10:07:42 +02:00
2021-04-24 12:06:03 +02:00
2021-06-13 03:51:55 +02:00
2021-09-09 22:00:44 +02:00
2021-09-09 22:00:44 +02:00
2021-06-03 16:23:52 +02:00
2021-04-24 11:54:50 +02:00
2021-01-04 13:28:28 +01:00
2021-07-11 14:50:04 +02:00
2021-06-05 15:24:04 +02:00
2021-09-09 21:42:48 +02:00
2021-06-16 10:49:18 +02:00
2021-04-28 12:19:24 +02:00
2021-04-20 19:03:55 +02:00
2021-04-27 00:40:40 +02:00
2021-04-27 00:40:40 +02:00
2021-10-05 20:01:38 +02:00
2021-10-05 20:01:38 +02:00
2021-10-05 19:46:39 +02:00
2021-08-15 20:06:52 +02:00
2021-06-13 01:08:48 +02:00
2021-10-01 14:55:18 +02:00