diff options
author | markm <markm@FreeBSD.org> | 1999-09-19 18:49:58 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1999-09-19 18:49:58 +0000 |
commit | 9f3127941ea161040402f88dce2701f1f827f0e2 (patch) | |
tree | a6a8e43544602dd7b4b496009415ba1f6f56fa4a /secure/lib/libdes/t | |
parent | a9963de1ee00aade2f82c9c1df1c6af52c883869 (diff) | |
download | FreeBSD-src-9f3127941ea161040402f88dce2701f1f827f0e2.zip FreeBSD-src-9f3127941ea161040402f88dce2701f1f827f0e2.tar.gz |
libdes is bmaked and built from src/crypto/... now.
Diffstat (limited to 'secure/lib/libdes/t')
-rw-r--r-- | secure/lib/libdes/t/perl | 0 | ||||
-rw-r--r-- | secure/lib/libdes/t/test | 27 |
2 files changed, 0 insertions, 27 deletions
diff --git a/secure/lib/libdes/t/perl b/secure/lib/libdes/t/perl deleted file mode 100644 index e69de29..0000000 --- a/secure/lib/libdes/t/perl +++ /dev/null diff --git a/secure/lib/libdes/t/test b/secure/lib/libdes/t/test deleted file mode 100644 index 97acd05..0000000 --- a/secure/lib/libdes/t/test +++ /dev/null @@ -1,27 +0,0 @@ -#!./perl - -BEGIN { push(@INC, qw(../../../lib ../../lib ../lib lib)); } - -use DES; - -$key='00000000'; -$ks=DES::set_key($key); -@a=split(//,$ks); -foreach (@a) { printf "%02x-",ord($_); } -print "\n"; - - -$key=DES::random_key(); -print "($_)\n"; -@a=split(//,$key); -foreach (@a) { printf "%02x-",ord($_); } -print "\n"; -$str="this is and again into the breach"; -($k1,$k2)=DES::string_to_2keys($str); -@a=split(//,$k1); -foreach (@a) { printf "%02x-",ord($_); } -print "\n"; -@a=split(//,$k2); -foreach (@a) { printf "%02x-",ord($_); } -print "\n"; - |