[Gnuk-users] [PATCH 2/7] polarssl: rename MULADDC_HUIT into MULADDC_HUIT_DEAD

Aurelien Jarno aurelien at aurel32.net
Thu Oct 12 20:02:20 UTC 2017


As the comment above said, it's dead code. Renaming it make sure it's
not used by mistake, for example when testing/debugging code.
---
 polarssl/include/polarssl/bn_mul.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/polarssl/include/polarssl/bn_mul.h b/polarssl/include/polarssl/bn_mul.h
index 6885f28..bff5e19 100644
--- a/polarssl/include/polarssl/bn_mul.h
+++ b/polarssl/include/polarssl/bn_mul.h
@@ -556,7 +556,7 @@
        : "r4", "r5", "r6", "r7", "r8", "r9", "r10", "memory", "cc" );
 
 /* Just for reference (dead code) */
-#define MULADDC_HUIT                                   \
+#define MULADDC_HUIT_DEAD                              \
                   "ldmia  %0!, { r4, r5 } \n\t"        \
                   "ldmia  %1, { r8, r9 }  \n\t"        \
                   "umull  r6, r7, %3, r4  \n\t"        \
-- 
2.14.2




More information about the gnuk-users mailing list