diff options
author | Denys Vlasenko | 2021-10-05 13:39:33 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-10-05 13:39:33 +0200 |
commit | 389329efbed15122bb3fba59e9919d870301eb93 (patch) | |
tree | cd69f37d6729c4e26a2ab8dd366f8abf54b4b92f /include/xatonum.h | |
parent | e730505034e9964176111c9e28b06c68cec1f4c0 (diff) | |
download | busybox-389329efbed15122bb3fba59e9919d870301eb93.zip busybox-389329efbed15122bb3fba59e9919d870301eb93.tar.gz |
tls: another P256 code shrink
Propagate constant arrays and scalars deeper down call chain.
Use sp_256_mont_mul_10 to implement sp_256_mont_sqr_10.
function old new delta
sp_256_mont_mul_10 - 214 +214
sp_256_mont_reduce_10 - 178 +178
sp_256_mont_sqr_10 - 7 +7
static.sp_256_mont_reduce_10 178 - -178
static.sp_256_mont_mul_10 214 - -214
static.sp_256_mont_sqr_10 234 - -234
------------------------------------------------------------------------------
(add/remove: 3/3 grow/shrink: 0/0 up/down: 399/-626) Total: -227 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/xatonum.h')
0 files changed, 0 insertions, 0 deletions