From c0bfb7f905ac7b3219be1f2cd8cb23ef6e3803d1 Mon Sep 17 00:00:00 2001
From: Mark Wooding <mdw@distorted.org.uk>
Date: Sun, 11 Mar 2001 23:46:56 +0000
Subject: [PATCH] Fixing to BibTeX stuff.

---
 Makefile.am |  11 +++--
 aclocal.m4  | 151 ------------------------------------------------------------
 storin.tex  |   7 ++-
 3 files changed, 12 insertions(+), 157 deletions(-)
 delete mode 100644 aclocal.m4

diff --git a/Makefile.am b/Makefile.am
index fb83b3a..d2a5c96 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.3 2001/03/11 23:22:53 mdw Exp $
+## $Id: Makefile.am,v 1.4 2001/03/11 23:46:56 mdw Exp $
 ##
 ## Makefile for Storin distribution
 ##
@@ -48,6 +48,9 @@
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.4  2001/03/11 23:46:56  mdw
+## Fixing to BibTeX stuff.
+##
 ## Revision 1.3  2001/03/11 23:22:53  mdw
 ## Use BibTeX for the paper bibliography.
 ##
@@ -64,7 +67,7 @@ SUFFIXES = .ps .tex
 
 .tex.ps:
 	latex $<
-	bibtex $*.aux
+	bibtex $*
 	latex $<
 	latex $<
 	dvips $*.dvi -o $@
@@ -107,7 +110,7 @@ dist-hook: storin.ps storin.tests storin.debug
 EXTRA_DIST = storin.tex
 
 CLEANFILES = \
-	storin-tab.h \
-	*.dvi *.ps *.xyc *.log *.aux *.toc
+	storin-tab.h storin.debug storin.tests \
+	*.dvi *.ps *.xyc *.log *.aux *.toc *.bbl *.blg
 
 ##----- That's all, folks ---------------------------------------------------
diff --git a/aclocal.m4 b/aclocal.m4
deleted file mode 100644
index 4ac92fb..0000000
--- a/aclocal.m4
+++ /dev/null
@@ -1,151 +0,0 @@
-dnl----- Common files distribution --------------------------- *@--NOTICE--@*
-dnl
-dnl $Id: aclocal.m4,v 1.1 2000/05/21 11:28:30 mdw Exp $
-
-dnl --- *@-AM_INIT_AUTOMAKE-@*
-dnl
-dnl Author:	Unknown
-dnl
-dnl Synopsis:	AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-dnl
-dnl Arguments:	PACKAGE = package name
-dnl		VERSION = version number
-dnl		NO-DEFINE = if set, don't define package and version number
-dnl
-dnl Use:	Do all the work for Automake.  This macro actually does too
-dnl		much -- some checks are only needed if your package does
-dnl		certain things.  But this isn't really a big deal.
-
-# serial 1
-
-AC_DEFUN(AM_INIT_AUTOMAKE,
-[AC_REQUIRE([AM_PROG_INSTALL])
-PACKAGE=[$1]
-AC_SUBST(PACKAGE)
-VERSION=[$2]
-AC_SUBST(VERSION)
-dnl test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
-  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-fi
-ifelse([$3],,
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
-AM_SANITY_CHECK
-AC_ARG_PROGRAM
-dnl FIXME This is truly gross.
-missing_dir=`cd $ac_aux_dir && pwd`
-AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
-AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
-AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
-AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
-AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
-AC_PROG_MAKE_SET])
-
-dnl --- *@-AM_PROG_INSTALL-@* ---
-dnl
-dnl Author:	Franc,ois Pinard
-dnl
-dnl Synopsis:	AM_PROG_INSTALL
-dnl
-dnl Arguments:	---
-dnl
-dnl Use:	Calls `AC_PROG_INSTALL' to find an installer.  Then it sets
-dnl		`INSTALL_SCRIPT' to a suitable value if necessary.
-
-# serial 1
-
-AC_DEFUN(AM_PROG_INSTALL,
-[AC_PROG_INSTALL
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755'
-AC_SUBST(INSTALL_SCRIPT)dnl
-])
-
-dnl --- *@-AM_MISSING_PROG-@* ---
-dnl
-dnl Author:	Unknown
-dnl
-dnl Synopsis:	AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
-dnl
-dnl Arguments:	NAME = variable to set to the file's location
-dnl		PROGRAM = name of program to find
-dnl		DIRECTORY = directory to look in
-dnl
-dnl Use:	Fakes existence of a useful GNU maintainer tool.
-
-AC_DEFUN(AM_MISSING_PROG,
-[AC_MSG_CHECKING(for working $2)
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf.  Sigh.
-if ($2 --version) < /dev/null > /dev/null 2>&1; then
-   $1=$2
-   AC_MSG_RESULT(found)
-else
-   $1="$3/missing $2"
-   AC_MSG_RESULT(missing)
-fi
-AC_SUBST($1)])
-
-dnl --- *@-AM_SANITY_CHECK-@*
-dnl
-dnl Author:	Unknown
-dnl
-dnl Synopsis:	AM_SANITY_CHECK
-dnl
-dnl Arguments:	---
-dnl
-dnl Use:	Check for build environment sanity.
-
-AC_DEFUN(AM_SANITY_CHECK,
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftestfile
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments.  Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
-   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
-   if test "$@" = "X"; then
-      # -L didn't work.
-      set X `ls -t $srcdir/configure conftestfile`
-   fi
-   test "[$]2" = conftestfile
-   )
-then
-   # Ok.
-   :
-else
-   AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-rm -f conftest*
-AC_MSG_RESULT(yes)])
-
-dnl --- *@-mdw_GCC_FLAGS-@* ---
-dnl
-dnl Author:	Mark Wooding
-dnl
-dnl Synopsis:	mdw_GCC_FLAGS([FLAGS], [CFLAGS], [C++FLAGS])
-dnl
-dnl Arguments:	FLAGS = GCC compiler flags to add (default is 
-dnl			`-pedantic -Wall')
-dnl		CFLAGS = GCC C compiler flags to add (default is empty)
-dnl		C++FLAGS = GCC C++ compiler flags to add (default is
-dnl			`-fhandle-exceptions').
-dnl
-dnl Use:	If the C compiler is GCC, add the compiler flags.
-
-AC_DEFUN(mdw_GCC_FLAGS,
-[if test "$GCC" = "yes"; then
-  CFLAGS="$CFLAGS ifelse([$1], [], [-pedantic -Wall], [$1])"
-  CFLAGS="$CFLAGS ifelse([$2], [], [], [$2])"
-fi
-if test "$GXX" = "yes"; then
-  CXXFLAGS="$CXXFLAGS ifelse([$1], [], [-pedantic -Wall], [$1])"
-  CXXFLAGS="$CXXFLAGS ifelse([$3], [], [-fhandle-exceptions], [$3])"
-fi])
-
diff --git a/storin.tex b/storin.tex
index 5e5dfa0..6a958f2 100644
--- a/storin.tex
+++ b/storin.tex
@@ -1,6 +1,6 @@
 %%% -*-latex-*-
 %%%
-%%% $Id: storin.tex,v 1.6 2001/03/11 23:22:53 mdw Exp $
+%%% $Id: storin.tex,v 1.7 2001/03/11 23:46:56 mdw Exp $
 %%%
 %%% Definition of the cipher
 %%%
@@ -10,6 +10,9 @@
 %%%----- Revision history ---------------------------------------------------
 %%%
 %%% $Log: storin.tex,v $
+%%% Revision 1.7  2001/03/11 23:46:56  mdw
+%%% Fixing to BibTeX stuff.
+%%%
 %%% Revision 1.6  2001/03/11 23:22:53  mdw
 %%% Use BibTeX for the paper bibliography.
 %%%
@@ -296,7 +299,7 @@ The linear transformation $L \colon \mathcal{P} \to \mathcal{P}$ is defined by:
 
 The round function $R_i \colon \mathcal{P} \to \mathcal{P}$ is defined for $0
 \le i < 8$ by
-\[ R_i(\mathbf{x}) = L\bigl(\mathbf{M} K_i(\mathbf{x}) \bigr) \]
+\[ \bigl(\mathbf{M} K_i(\mathbf{x}) \bigr) \]
 
 The cipher $C \colon \mathcal{P} \to \mathcal{P}$ is defined in terms of $R_i$ and
 $K_i$.  Let $\mathbf{x}_0 \in \mathcal{P}$ be a plaintext vector.  Let
-- 
2.11.0

