summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-11-15 18:52:11 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2018-11-15 18:52:11 -0800
commit3a863851b90dc11e66982e053ded553adf43ddc0 (patch)
treee5ca7d72c2ca6a826c6c7cc83d3ac770ea5dfeb9 /src/crypto/zinc
parent991ee63b24d6ae6e73ebe1fa00b72c3b904303ca (diff)
poly1305: cleanup leftover debugging changes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc')
-rw-r--r--src/crypto/zinc/poly1305/poly1305-x86_64.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/zinc/poly1305/poly1305-x86_64.pl b/src/crypto/zinc/poly1305/poly1305-x86_64.pl
index 4456a1e..8a532bf 100644
--- a/src/crypto/zinc/poly1305/poly1305-x86_64.pl
+++ b/src/crypto/zinc/poly1305/poly1305-x86_64.pl
@@ -252,7 +252,7 @@ $code.=<<___ if (!$kernel);
lea poly1305_blocks_x86_64(%rip),%r10
lea poly1305_emit_x86_64(%rip),%r11
___
-$code.=<<___ if (!$kernel && $avx && 1);
+$code.=<<___ if (!$kernel && $avx);
mov OPENSSL_ia32cap_P+4(%rip),%r9
lea poly1305_blocks_avx(%rip),%rax
lea poly1305_emit_avx(%rip),%rcx
@@ -260,12 +260,12 @@ $code.=<<___ if (!$kernel && $avx && 1);
cmovc %rax,%r10
cmovc %rcx,%r11
___
-$code.=<<___ if (!$kernel && $avx>1 && 1);
+$code.=<<___ if (!$kernel && $avx>1);
lea poly1305_blocks_avx2(%rip),%rax
bt \$`5+32`,%r9 # AVX2?
cmovc %rax,%r10
___
-$code.=<<___ if (!$kernel && $avx>3 && 0);
+$code.=<<___ if (!$kernel && $avx>3);
mov \$`(1<<31|1<<21|1<<16)`,%rax
shr \$32,%r9
and %rax,%r9