summaryrefslogtreecommitdiffstats
path: root/crypto/ec/asm/x25519-ppc64.pl
diff options
context:
space:
mode:
authorAntoine Cœur <coeur@gmx.fr>2019-07-02 16:04:04 +0800
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-07-02 14:22:29 +0200
commitc2969ff6e70b10f71fbd97c1d0b0cffc92bd69df (patch)
tree31e1c94c18598574c6074468cffbf16602f98a15 /crypto/ec/asm/x25519-ppc64.pl
parentf663ddc7b00a2d75c1e7d868b73b24adc3f62095 (diff)
Fix Typos
CLA: trivial Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/9288)
Diffstat (limited to 'crypto/ec/asm/x25519-ppc64.pl')
-rwxr-xr-xcrypto/ec/asm/x25519-ppc64.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/asm/x25519-ppc64.pl b/crypto/ec/asm/x25519-ppc64.pl
index 2f8d82c2b0..5f6bff1850 100755
--- a/crypto/ec/asm/x25519-ppc64.pl
+++ b/crypto/ec/asm/x25519-ppc64.pl
@@ -451,7 +451,7 @@ x25519_fe64_tobytes:
and $t0,$t0,$t1
sldi $a3,$a3,1
add $t0,$t0,$t1 # compare to modulus in the same go
- srdi $a3,$a3,1 # most signifcant bit cleared
+ srdi $a3,$a3,1 # most significant bit cleared
addc $a0,$a0,$t0
addze $a1,$a1
@@ -462,7 +462,7 @@ x25519_fe64_tobytes:
sradi $t0,$a3,63 # most significant bit -> mask
sldi $a3,$a3,1
andc $t0,$t1,$t0
- srdi $a3,$a3,1 # most signifcant bit cleared
+ srdi $a3,$a3,1 # most significant bit cleared
subi $rp,$rp,1
subfc $a0,$t0,$a0