Merge pull request #54 from libtom/feature/doc

Feature/doc (only crypt.tex + changes)
This commit is contained in:
Steffen Jaeckel 2017-04-26 00:23:34 +02:00 committed by GitHub
commit 93317a1d6a
6 changed files with 3493 additions and 1897 deletions

2
.gitignore vendored
View File

@ -14,6 +14,8 @@ test_*.txt
tv.txt tv.txt
*_tv.txt *_tv.txt
doxygen/ doxygen/
doc/crypt.pdf
doc/refman.pdf
# *nix/windows test executables # *nix/windows test executables
constants constants

2480
Doxyfile

File diff suppressed because it is too large Load Diff

31
changes
View File

@ -1,3 +1,34 @@
XXX, 2014
v1.18.0
-- Added Camellia block cipher
-- Thanks to Karel Miko for cotributing a bunchload of patches and additions, namely
OCBv3, DSA and ECC key generation FIPS-186-4 compliance, BASE64-URL encoding,
a bugfix in Camellia,
-- Larry Bugbee contributed the necessary stuff to more easily call libtomcrypt
from a dynamic language like Python, as shown in his pyTomCrypt
-- Nikos Mavrogiannopoulos contributed RSA blinding and export of RSA and DSA keys
in OpenSSL/GnuTLS compatible format
-- Patrick Pelletier contributed a smart volley of patches
-- RyanC contributed HKDF including documentation (yippie)
-- Added 2-key Triple-DES mode, thanks to Paul Howarth
-- Christopher Brown contributed some patches and additions to ASN.1/DER
-- Pascal Brand of STMicroelectronics contributed patches regarding the
XTS mode and RSA private key operations with keys without CRT parameters
-- Applied some patches from the OLPC project regarding PKCS#1 and preventing
the hash algorithms from overflowing
-- Fixed the Bleichbacher Signature attack in PKCS#1 v1.5 EMSA, thanks to Alex Dent
-- Add PKCS#1 testvectors from RSA
-- Brought back Diffie-Hellman
-- Enabled timing resistant calculations of ECC and RSA operations per default
-- Fixed several build issues on FreeBSD, NetBSD, Linux x32 ABI, x86_64 Windows ...
-- Documentation (crypt.pdf) is now built deterministically, thanks to Michael Stapelberg
-- Removed all compiler warnings
-- Improved/extended several tests
-- Add SHA512/256 and SHA512/224
-- Bugfix multi2
-- Bugfix Noekeon
-- Bugfix XTEA
May 12th, 2007 May 12th, 2007
v1.17 -- Cryptography Research Inc. contributed another small volley of patches, one to fix __WCHAR_DEFINED__ for BSD platforms, v1.17 -- Cryptography Research Inc. contributed another small volley of patches, one to fix __WCHAR_DEFINED__ for BSD platforms,
another to silence MSVC warnings. another to silence MSVC warnings.

2849
crypt.tex

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -12,8 +12,10 @@ PLATFORM := $(shell uname | sed -e 's/_.*//')
ifeq ($V,1) ifeq ($V,1)
silent= silent=
silent_stdout=
else else
silent=@ silent=@
silent_stdout= > /dev/null
endif endif
%.o: %.c %.o: %.c
@ -359,10 +361,12 @@ clean:
cd testprof ; $(MAKE) clean cd testprof ; $(MAKE) clean
#build the doxy files (requires Doxygen, tetex and patience) #build the doxy files (requires Doxygen, tetex and patience)
doxy: doxygen:
doxygen doxygen $(silent_stdout)
cd doc/doxygen/latex ; ${MAKE} ; mv -f refman.pdf ../../.
echo The huge doxygen PDF should be available as doc/refman.pdf doxy: doxygen
cd doc/doxygen/latex ; ${MAKE} $(silent_stdout) ; mv -f refman.pdf ../../.
@echo The huge doxygen PDF should be available as doc/refman.pdf
#This builds the crypt.pdf file. Note that the rm -f *.pdf has been removed #This builds the crypt.pdf file. Note that the rm -f *.pdf has been removed
#from the clean command! This is because most people would like to keep the #from the clean command! This is because most people would like to keep the
@ -380,11 +384,11 @@ docs: crypt.tex
mv crypt-deterministic.tex crypt.tex mv crypt-deterministic.tex crypt.tex
touch --reference=crypt.bak crypt.tex touch --reference=crypt.bak crypt.tex
echo "hello" > crypt.ind echo "hello" > crypt.ind
latex crypt > /dev/null latex crypt $(silent_stdout)
latex crypt > /dev/null latex crypt $(silent_stdout)
makeindex crypt.idx > /dev/null makeindex crypt.idx $(silent_stdout)
perl fixupind.pl perl fixupind.pl
pdflatex crypt > /dev/null pdflatex crypt $(silent_stdout)
sed -b -i 's,^/ID \[.*\]$$,/ID [<0> <0>],g' crypt.pdf 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 mv crypt.bak crypt.tex
@ -392,12 +396,12 @@ docs: crypt.tex
docdvi: crypt.tex docdvi: crypt.tex
echo hello > crypt.ind echo hello > crypt.ind
latex crypt > /dev/null latex crypt $(silent_stdout)
latex crypt > /dev/null latex crypt $(silent_stdout)
makeindex crypt.idx makeindex crypt.idx
perl fixupind.pl perl fixupind.pl
latex crypt > /dev/null latex crypt $(silent_stdout)
latex crypt > /dev/null latex crypt $(silent_stdout)
#zipup the project (take that!) #zipup the project (take that!)
no_oops: clean no_oops: clean