busybox/networking
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
..
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2021-06-16 14:24:27 +02:00
2020-12-13 19:18:28 +01:00
2013-01-14 01:34:48 +01:00
2021-09-10 10:07:42 +02:00
2020-12-13 19:04:19 +01:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00
2014-01-09 20:09:43 +01:00
2021-06-13 03:51:55 +02:00
2020-11-29 11:37:34 +01:00
2021-06-03 16:23:52 +02:00
2021-04-24 11:54:50 +02:00
2016-03-04 07:36:04 +01:00
2021-01-04 13:28:28 +01:00
2020-12-19 00:07:13 +01:00
2020-11-29 11:37:34 +01:00
2018-12-28 03:20:17 +01:00
2020-12-29 16:53:11 +01:00
2020-12-15 18:47:25 +01:00
2021-04-28 12:19:24 +02:00
2021-04-27 00:40:40 +02:00
2019-01-01 15:40:43 +01:00
2021-04-27 00:40:40 +02:00
2018-11-25 16:17:26 +01:00
2020-12-18 04:12:51 +01:00
2021-06-13 01:08:48 +02:00
2021-10-01 14:55:18 +02:00
2020-08-13 17:12:56 +02:00