Merge branch 'stapelberg/deterministic-latex' into develop
This commit is contained in:
commit
8e02874031
24
crypt.lof
24
crypt.lof
@ -1,24 +0,0 @@
|
|||||||
\addvspace {10\p@ }
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {2.1}{\ignorespaces Load And Store Macros}}{9}{figure.2.1}
|
|
||||||
\contentsline {figure}{\numberline {2.2}{\ignorespaces Rotate Macros}}{9}{figure.2.2}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {3.1}{\ignorespaces Built--In Software Ciphers}}{19}{figure.3.1}
|
|
||||||
\contentsline {figure}{\numberline {3.2}{\ignorespaces Twofish Build Options}}{21}{figure.3.2}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {4.1}{\ignorespaces Built--In Software Hashes}}{59}{figure.4.1}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {6.1}{\ignorespaces List of Provided PRNGs}}{84}{figure.6.1}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {9.1}{\ignorespaces DSA Key Sizes}}{121}{figure.9.1}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {10.1}{\ignorespaces List of ASN.1 Supported Types}}{129}{figure.10.1}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\contentsline {figure}{\numberline {12.1}{\ignorespaces RSA/DH Key Strength}}{151}{figure.12.1}
|
|
||||||
\contentsline {figure}{\numberline {12.2}{\ignorespaces ECC Key Strength}}{151}{figure.12.2}
|
|
||||||
\addvspace {10\p@ }
|
|
||||||
\addvspace {10\p@ }
|
|
16
makefile
16
makefile
@ -255,7 +255,7 @@ TIMINGS=demos/timing.o
|
|||||||
TESTS=demos/test.o
|
TESTS=demos/test.o
|
||||||
|
|
||||||
#Files left over from making the crypt.pdf.
|
#Files left over from making the crypt.pdf.
|
||||||
LEFTOVERS=*.dvi *.log *.aux *.toc *.idx *.ilg *.ind *.out
|
LEFTOVERS=*.dvi *.log *.aux *.toc *.idx *.ilg *.ind *.out *.lof
|
||||||
|
|
||||||
#Compressed filenames
|
#Compressed filenames
|
||||||
COMPRESSED=crypt-$(VERSION).tar.bz2 crypt-$(VERSION).zip
|
COMPRESSED=crypt-$(VERSION).tar.bz2 crypt-$(VERSION).zip
|
||||||
@ -373,14 +373,24 @@ doxy:
|
|||||||
#delete it if we are rebuilding it.
|
#delete it if we are rebuilding it.
|
||||||
docs: crypt.tex
|
docs: crypt.tex
|
||||||
rm -f doc/crypt.pdf $(LEFTOVERS)
|
rm -f doc/crypt.pdf $(LEFTOVERS)
|
||||||
|
cp crypt.tex crypt.bak
|
||||||
|
touch --reference=crypt.tex crypt.bak
|
||||||
|
(echo "\\def\\fixedpdfdate{"; date +'D:%Y%m%d%H%M%S%:z' -d @$$(stat --format=%Y crypt.tex) | sed "s/:\([0-9][0-9]\)$$/'\1'}/g") > crypt-deterministic.tex
|
||||||
|
echo "\\pdfinfo{" >> crypt-deterministic.tex
|
||||||
|
echo "/CreationDate (\fixedpdfdate)" >> crypt-deterministic.tex
|
||||||
|
echo "/ModDate (\fixedpdfdate) }" >> crypt-deterministic.tex
|
||||||
|
cat crypt.tex >> crypt-deterministic.tex
|
||||||
|
mv crypt-deterministic.tex crypt.tex
|
||||||
|
touch --reference=crypt.bak crypt.tex
|
||||||
echo "hello" > crypt.ind
|
echo "hello" > crypt.ind
|
||||||
latex crypt > /dev/null
|
latex crypt > /dev/null
|
||||||
latex crypt > /dev/null
|
latex crypt > /dev/null
|
||||||
makeindex crypt.idx > /dev/null
|
makeindex crypt.idx > /dev/null
|
||||||
perl fixupind.pl
|
perl fixupind.pl
|
||||||
latex crypt > /dev/null
|
pdflatex crypt
|
||||||
dvipdf crypt
|
sed -b -i 's,^/ID \[.*\]$$,/ID [<0> <0>],g' crypt.pdf
|
||||||
mv -ivf crypt.pdf doc/crypt.pdf
|
mv -ivf crypt.pdf doc/crypt.pdf
|
||||||
|
mv crypt.bak crypt.tex
|
||||||
rm -f $(LEFTOVERS)
|
rm -f $(LEFTOVERS)
|
||||||
|
|
||||||
docdvi: crypt.tex
|
docdvi: crypt.tex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user