diff options
author | Denys Vlasenko | 2021-10-06 20:14:49 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-10-06 20:19:30 +0200 |
commit | 5e9c6170218826dded581b99dfd225b0c76c6c86 (patch) | |
tree | e74ba5e448720883e342c7dc19abc99a39d41a4d /shell/cttyhack.c | |
parent | 87e3f2e9f8a1c99b223b316fbefb5ae49c2a8fe2 (diff) | |
download | busybox-5e9c6170218826dded581b99dfd225b0c76c6c86.zip busybox-5e9c6170218826dded581b99dfd225b0c76c6c86.tar.gz |
tls: P256: sp_256_sub_8_p256_mod always subtracts in-place, use that
i386:
function old new delta
sp_256_mont_reduce_8 245 243 -2
sp_256_mont_dbl_8 26 24 -2
sp_256_ecc_mulmod_8 1161 1157 -4
sp_256_proj_point_dbl_8 359 353 -6
sp_256_sub_8_p256_mod 71 32 -39
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-53) Total: -53 bytes
non-asm code:
function old new delta
sp_256_sub_8_p256_mod - 12 +12
sp_256_mont_reduce_8 250 243 -7
sp_256_mont_dbl_8 31 24 -7
sp_256_ecc_mulmod_8 1171 1157 -14
sp_256_proj_point_dbl_8 374 353 -21
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/4 up/down: 12/-49) Total: -37 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/cttyhack.c')
0 files changed, 0 insertions, 0 deletions