summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcipher/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcipher/crypt.c')
-rw-r--r--secure/lib/libcipher/crypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/secure/lib/libcipher/crypt.c b/secure/lib/libcipher/crypt.c
index f6c3126..cbdefde 100644
--- a/secure/lib/libcipher/crypt.c
+++ b/secure/lib/libcipher/crypt.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: crypt.c,v 1.1.1.1 1994/09/07 21:18:07 csgr Exp $
+ * $Id: crypt.c,v 1.2 1994/09/07 21:48:46 csgr Exp $
*
* This is an original implementation of the DES and the crypt(3) interfaces
* by David Burren <davidb@werj.com.au>.
@@ -316,7 +316,7 @@ des_init()
/*
* Invert the P-box permutation, and convert into OR-masks for
- * handling the output of the S-box arrays setup above.
+ * handling the output of the S-box arrays setup above.
*/
for (i = 0; i < 32; i++)
un_pbox[pbox[i] - 1] = i;
@@ -414,7 +414,7 @@ des_setkey(const char *key)
t0 = (k0 << shifts) | (k0 >> (28 - shifts));
t1 = (k1 << shifts) | (k1 >> (28 - shifts));
- de_keysl[15 - round] =
+ de_keysl[15 - round] =
en_keysl[round] = comp_maskl[0][(t0 >> 21) & 0x7f]
| comp_maskl[1][(t0 >> 14) & 0x7f]
| comp_maskl[2][(t0 >> 7) & 0x7f]
OpenPOWER on IntegriCloud