head	1.2;
access;
symbols
	RELENG_3_5_0_RELEASE:1.1.1.1
	RELENG_3_4_0_RELEASE:1.1.1.1
	RELENG_3_3_0_RELEASE:1.1.1.1
	RELENG_3_2_PAO:1.1.1.1.0.8
	RELENG_3_2_PAO_BP:1.1.1.1
	RELENG_3_2_0_RELEASE:1.1.1.1
	RELENG_3_1_0_RELEASE:1.1.1.1
	RELENG_3:1.1.1.1.0.6
	RELENG_3_BP:1.1.1.1
	RELENG_2_2_8_RELEASE:1.1.1.1
	RELENG_3_0_0_RELEASE:1.1.1.1
	RELENG_2_2_7_RELEASE:1.1.1.1
	RELENG_2_2_6_RELEASE:1.1.1.1
	RELENG_2_2_5_RELEASE:1.1.1.1
	RELENG_2_2_2_RELEASE:1.1.1.1
	RELENG_2_2_1_RELEASE:1.1.1.1
	RELENG_2_2_0_RELEASE:1.1.1.1
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.1.0.4
	RELENG_2_2_BP:1.1.1.1
	ssleay_0_6_3:1.1.1.1
	ssleay_0_6_2:1.1.1.1
	ssleay_0_6_1:1.1.1.1
	RELENG_2_1_5_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.2
	des_051a:1.1.1.1
	EAY:1.1.1;
locks; strict;
comment	@# @;


1.2
date	99.09.19.18.49.48;	author markm;	state dead;
branches;
next	1.1;

1.1
date	96.02.10.15.32.22;	author markm;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.02.10.15.32.22;	author markm;	state Exp;
branches;
next	;


desc
@@


1.2
log
@libdes is bmaked and built from src/crypto/... now.
@
text
@#!/usr/local/bin/perl

@@PC2_C=(14,17,11,24, 1, 5,
	 3,28,15, 6,21,10,
	23,19,12, 4,26, 8,
	16, 7,27,20,13, 2,
	);

@@PC2_D=(41,52,31,37,47,55,
	30,40,51,45,33,48,
	44,49,39,56,34,53,
	46,42,50,36,29,32,
	);

foreach (@@PC2_C) {
	if ($_ ne "-")
		{
		$_--;
		printf "%2d  ",$_; }
	else { print "--  "; }
	$C{$_}=1;
	print "\n" if (((++$i) % 8) == 0);
	}
$i=0;
print "\n";
foreach (@@PC2_D) {
	if ($_ ne "-")
		{
		$_-=29;
		printf "%2d  ",$_; }
	else { print "--  "; }
	$D{$_}=1;
	print "\n" if (((++$i) % 8) == 0); }

print "\n";
foreach $i (0 .. 27)
	{
	$_=$C{$i};
	if ($_ ne "-") {printf "%2d ",$_;}
	else { print "--  "; }
	print "\n" if (((++$i) % 8) == 0);
	}
print "\n";

print "\n";
foreach $i (0 .. 27)
	{
	$_=$D{$i};
	if ($_ ne "-") {printf "%2d  ",$_;}
	else { print "--  "; }
	print "\n" if (((++$i) % 8) == 0);
	}
print "\n";
sub numsort
	{
	$a-$b;
	}
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@This is the long-awaited new DES library. Over the next couple of days
will be properly built into the system.
@
text
@@
