summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-11-12 15:03:39 +0100
committerMatt Caswell <matt@openssl.org>2018-12-05 10:33:28 +0000
commitb34446cca2b1814fa674adc8076707d2b65a697f (patch)
tree43f285fb254d2dffb5f09b56d6ba842e4f7e0072 /crypto/bn
parent871493a2bed80310169ec4ba7cc428bc194623bf (diff)
Configurations/10-main.conf: remove MIPS bn_div_3_words.
It's being replaced with constant-time alternative. Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7589)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/asm/mips.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/bn/asm/mips.pl b/crypto/bn/asm/mips.pl
index da35ec1b30..3875132bd2 100644
--- a/crypto/bn/asm/mips.pl
+++ b/crypto/bn/asm/mips.pl
@@ -798,6 +798,11 @@ $code.=<<___;
move $a0,$v0
.end bn_sub_words_internal
+#if 0
+/*
+ * The bn_div_3_words entry point is re-used for constant-time interface.
+ * Implementation is retained as hystorical reference.
+ */
.align 5
.globl bn_div_3_words
.ent bn_div_3_words
@@ -877,6 +882,7 @@ $code.=<<___;
jr $ra
move $a0,$v0
.end bn_div_3_words_internal
+#endif
.align 5
.globl bn_div_words