diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-05 13:39:33 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-05 13:39:33 +0200 |
commit | 389329efbed15122bb3fba59e9919d870301eb93 (patch) | |
tree | cd69f37d6729c4e26a2ab8dd366f8abf54b4b92f /applets | |
parent | e730505034e9964176111c9e28b06c68cec1f4c0 (diff) |
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 'applets')
0 files changed, 0 insertions, 0 deletions