X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-perl/blobdiff_plain/660b443cc58d4dd4e92730104429fb64d78c7075..a1a90aaf554eb974e39e34b513747eb666180776:/algs.PL diff --git a/algs.PL b/algs.PL index d16e196..26c1fe3 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,26 +25,19 @@ # 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 +@hash = qw(md5 md4 md2 tiger has160 + sha sha224 sha256 sha384 sha512 rmd128 rmd160 rmd256 rmd320); sub enum { @@ -79,41 +72,12 @@ 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 <\n"), "\n"; +print OUT cross("#include \n"), "\n"; -const gcmac *mactab[] = { -EOF -print OUT cross(" &", \@hash, "_", [qw(hmac nmac sslmac)], ",\n"); print OUT <