aboutsummaryrefslogtreecommitdiff
path: root/networking/tls_sp_c32.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls_sp_c32.c')
-rw-r--r--networking/tls_sp_c32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/networking/tls_sp_c32.c b/networking/tls_sp_c32.c
index 5b4c7e97c..7c6229ffd 100644
--- a/networking/tls_sp_c32.c
+++ b/networking/tls_sp_c32.c
@@ -395,12 +395,8 @@ static void sp_256_mont_reduce_10(sp_digit* a /*, const sp_digit* m, sp_digit mp
395 } 395 }
396 396
397 sp_256_mont_shift_10(a, a); 397 sp_256_mont_shift_10(a, a);
398//TODO: can below condition ever be true? Doesn't it require 512+th bit(s) in a to be set?
399 if ((a[9] >> 22) > 0) 398 if ((a[9] >> 22) > 0)
400{
401dbg("THIS HAPPENS\n");
402 sp_256_sub_10(a, a, m); 399 sp_256_sub_10(a, a, m);
403}
404 sp_256_norm_10(a); 400 sp_256_norm_10(a);
405} 401}
406 402