summaryrefslogtreecommitdiffhomepage
path: root/networking/tls_pstm_mul_comba.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-10-06 01:09:37 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-10-06 01:11:48 +0200
commitc78428461513afed5e3bf272bcbf17964cbd61a3 (patch)
treef8edb17e335ce89508c297e3450587c75425530d /networking/tls_pstm_mul_comba.c
parent2430fcfd8de47f786aca1185ae0500fa36c6a548 (diff)
tls: P256: propagate constants, create dedicated "subtract p256_mod" function
8 instances of this subtraction probably warrant a few bytes more of code. function old new delta sp_256_sub_8_p256_mod - 71 +71 sp_256_mont_sub_8 - 29 +29 sp_256_mont_dbl_8 - 26 +26 sp_256_mont_reduce_8 262 257 -5 sp_256_ecc_mulmod_8 1171 1161 -10 sp_256_proj_point_dbl_8 374 359 -15 static.sp_256_mont_sub_8 29 - -29 static.sp_256_mont_dbl_8 31 - -31 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 0/3 up/down: 126/-90) Total: 36 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_pstm_mul_comba.c')
0 files changed, 0 insertions, 0 deletions