Fix some typos
[openssl.git] / crypto / des / asm / des_enc.m4
index 122a0fa28c7c231f64e5980056e9c02f689d75ea..ebb5e7cd1d75bc78c767adec9ed1d2920e12fdf1 100644 (file)
@@ -1,4 +1,4 @@
-! Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+! Copyright 2000-2019 The OpenSSL Project Authors. All Rights Reserved.
 !
 ! Licensed under the OpenSSL license (the "License").  You may not use
 ! this file except in compliance with the License.  You can obtain a copy
@@ -106,15 +106,15 @@ changequote({,})
 ! technique.
 !
 ! The macro also loads address sbox 1 to 5 to global 1 to 5, address
-! sbox 6 to local6, and addres sbox 8 to out3.
+! sbox 6 to local6, and address sbox 8 to out3.
 !
-! Rotates the halfs 3 left to bring the sbox bits in convenient positions.
+! Rotates the halves 3 left to bring the sbox bits in convenient positions.
 !
 ! Loads key first round from address in parameter 5 to out0, out1.
 !
-! After the the original LibDES initial permutation, the resulting left
+! After the original LibDES initial permutation, the resulting left
 ! is in the variable initially used for right and vice versa. The macro
-! implements the possibility to keep the halfs in the original registers.
+! implements the possibility to keep the halves in the original registers.
 !
 ! parameter 1  left
 ! parameter 2  right
@@ -313,7 +313,7 @@ $4:
        sll     out1, 28, out1            ! rotate
        xor     $1, local1, $1            ! 1 finished, local1 now sbox 7
 
-       ld      [global2+local2], local2  ! 2 
+       ld      [global2+local2], local2  ! 2
        srl     out0, 24, local1          ! 7
        or      out1, local0, out1        ! rotate
 
@@ -529,7 +529,7 @@ $4:
 !  parameter 4   1 for load input/output address to local5/7
 !
 !  The final permutation logic switches the halves, meaning that
-!  left and right ends up the the registers originally used.
+!  left and right ends up the registers originally used.
 
 define(fp_macro, {
 
@@ -1184,7 +1184,7 @@ DES_encrypt2:
        add     %o7,global1,global1
        sub     global1,.PIC.DES_SPtrans-.des_and,out2
 
-       ! Set sbox address 1 to 6 and rotate halfs 3 left
+       ! Set sbox address 1 to 6 and rotate halves 3 left
        ! Errors caught by destest? Yes. Still? *NO*
 
        !sethi  %hi(DES_SPtrans), global1 ! address sbox 1
@@ -1392,7 +1392,7 @@ DES_ncbc_encrypt:
        add     %o7,global1,global1
        sub     global1,.PIC.DES_SPtrans-.des_and,out2
 
-       cmp     in5, 0                    ! enc   
+       cmp     in5, 0                    ! enc
 
        be      .ncbc.dec
        STPTR   in4, IVEC