X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-perl/blobdiff_plain/660b443cc58d4dd4e92730104429fb64d78c7075..9b46ee0d9f144189d9df836347402c3b3df97936:/algs.PL diff --git a/algs.PL b/algs.PL index d16e196..e7b7418 100644 --- a/algs.PL +++ b/algs.PL @@ -1,6 +1,6 @@ # -*-perl-*- # -# $Id: algs.PL,v 1.1 2004/04/02 18:04:01 mdw Exp $ +# $Id$ # # Create tables of algorithms # @@ -25,27 +25,21 @@ # along with Catacomb/Perl; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#----- Revision history ----------------------------------------------------- -# -# $Log: algs.PL,v $ -# Revision 1.1 2004/04/02 18:04:01 mdw -# Initial checkin. -# - @cipher = qw(des desx des3 blowfish twofish cast128 cast256 idea safer safersk rc2 rc5 square rijndael rijndael192 rijndael256 - serpent + serpent noekeon skipjack mars tea xtea); @stream = qw(rc4 seal); -@hash = qw(md5 md4 md2 tiger - sha sha256 sha384 sha512 - rmd128 rmd160 rmd256 rmd320); +@hash = qw(md5 md4 md2 tiger has160 + sha sha224 sha256 sha384 sha512 + rmd128 rmd160 rmd256 rmd320 + whirlpool whirlpool256); sub enum { $x = shift; @@ -69,7 +63,7 @@ sub cross { return @$x; } -open OUT, "> $ARGV[0]" or die "couldn't write `$ARGV[0].c': $!"; +open OUT, "> $ARGV[0]" or die "couldn't write `$ARGV[0]': $!"; print OUT < - EOF +print OUT cross("#include \n"), "\n"; print OUT cross("#include \n"), "\n"; -print OUT cross("#include \n"), "\n"; -print OUT cross("#include \n"), "\n"; -print OUT cross("#include \n"), "\n"; + [qw(counter ofb)], ".h>\n"), "\n"; +print OUT cross("#include \n"), "\n"; print OUT <