Skip to content

Commit e24b01d

Browse files
Tom St Denissjaeckel
authored andcommitted
added libtomcrypt-1.16
1 parent 2de2976 commit e24b01d

105 files changed

Lines changed: 3314 additions & 1268 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Doxyfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PROJECT_NAME = LibTomCrypt
2323
# This could be handy for archiving the generated documentation or
2424
# if some version control system is used.
2525

26-
PROJECT_NUMBER = 1.15
26+
PROJECT_NUMBER = 1.16
2727

2828
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
2929
# base path where the generated documentation will be put.
@@ -1028,14 +1028,14 @@ CLASS_DIAGRAMS = YES
10281028
# inheritance and usage relations if the target is undocumented
10291029
# or is not a class.
10301030

1031-
HIDE_UNDOC_RELATIONS = YES
1031+
HIDE_UNDOC_RELATIONS = NO
10321032

10331033
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
10341034
# available from the path. This tool is part of Graphviz, a graph visualization
10351035
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
10361036
# have no effect if this option is set to NO (the default)
10371037

1038-
HAVE_DOT = YES
1038+
HAVE_DOT = NO
10391039

10401040
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
10411041
# will generate a graph for each documented class showing the direct and

README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
See doc/crypt.pdf
2+
3+

TODO

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
- document makefile flags [INSTALL_* for instance]
1+
stopped at ch12
2+
-- needs examples for ecc/dsa!!! (and for asn.1)
3+
4+
must have for v1.16
25
- document PK build flags
3-
- merge PKCS #1 v1.5 back in, document changes to rsa_encrypt and rsa_sign
6+
- document makefile flags [INSTALL_* for instance]
7+
- prepare manual for printing (both soft and hard cover)
48

5-
for v1.16
6-
- Add ECC double-mult-add to plugin and make optional accelerator for baseline and MECC_FP [two goals]
9+
Nice to have [in order of precedence]
710
- add X9.63 IES
811
- add CPP macros like OpenSSL has for ASN1 (e.g. encode/decode functions, etc) shameless ripoff :-)

changes

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
December 16th, 2006
2+
v1.16 -- Brian Gladman pointed out that a recent change to GCM broke how the IV was handled. Currently the code complies against his test vectors
3+
so the code should be considered frozen now.
4+
-- Trevor from Cryptography Research Inc. submitted patches to convert the ECC code to be generic allowing curve parameters to be submitted
5+
at runtime.
6+
-- Fixed various doxygen comments
7+
-- Added UTF8 support to the ASN1 code
8+
-- Fixed STOREXXH macros for x86 platforms (Fix found at Elliptic Inc.)
9+
-- Added makefile.unix which is BSD compatible, you have to manually tweak it since well I don't use it normally
10+
-- removed a few lingering memcpy's
11+
-- Fixed memory free errors in ecc_sign_hash() that can arise if the mp_init_multi() fails
12+
-- Fixed incorrect return value in pkcs_1_pss_decode() which would correctly set res to 0 (indicating an incorrect signature) but
13+
would return CRYPT_OK to the caller
14+
-- ltc_ecc_mulmod() could leak memory if mp_init(&mu) failed, fixed. Would you believe that ltc_ecc_mulmod_timing() had the same
15+
bug? Also fixed. :-)
16+
-- Added Shamir's trick to the ECC side (defined as LTC_ECC_SHAMIR, enabled by default), gets ~1.34x to ~1.40x faster ECC verifications
17+
-- Added Brian's vector #46 to the GCM code. It catches the ctr counter error from v1.15. Originally I was going to add all of his vectors,
18+
but they're not as easy to parse and I got a lot of other things to do. Regression!
19+
-- Various other small fixes to the ECC code to clean up error handling (I think most of that was from the move in 1.06 to the plugins)
20+
All of the errors were in cleaning up from heap failures. So they were not likely to be triggered in normal usage
21+
Made similar fixes to the RSA and DSA code (my bad)
22+
-- Cryptography Research Inc. contributed a bunch of fixes to silence warnings (with MSVC) w.r.t. assigned data to unsigned char types.
23+
-- Martin Marko suggested some fixes to make the RNG build with WinCE.
24+
-- Updates to the manual for print (some fixes thanks to Martin Marko)
25+
26+
127
November 17th, 2006
228
v1.15 -- Andreas Lange found that if sha256_init DID fail in fortuna it wouldn't clean up the state correctly. Thanks.
329
Fortunately sha256_init cannot fail (as of v1.14) :-)
@@ -1525,6 +1551,6 @@ v0.02 -- Changed RC5 to only allow 12 to 24 rounds
15251551
v0.01 -- We will call this the first version.
15261552

15271553
/* $Source: /cvs/libtom/libtomcrypt/changes,v $ */
1528-
/* $Revision: 1.257 $ */
1529-
/* $Date: 2006/11/17 15:18:44 $ */
1554+
/* $Revision: 1.274 $ */
1555+
/* $Date: 2006/12/16 19:08:17 $ */
15301556

crypt.lof

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@
33
\contentsline {figure}{\numberline {2.1}{\ignorespaces Load And Store Macros}}{9}{figure.2.1}
44
\contentsline {figure}{\numberline {2.2}{\ignorespaces Rotate Macros}}{9}{figure.2.2}
55
\addvspace {10\p@ }
6-
\contentsline {figure}{\numberline {3.1}{\ignorespaces Built--In Software Ciphers}}{25}{figure.3.1}
7-
\contentsline {figure}{\numberline {3.2}{\ignorespaces Twofish Build Options}}{27}{figure.3.2}
6+
\contentsline {figure}{\numberline {3.1}{\ignorespaces Built--In Software Ciphers}}{19}{figure.3.1}
7+
\contentsline {figure}{\numberline {3.2}{\ignorespaces Twofish Build Options}}{21}{figure.3.2}
88
\addvspace {10\p@ }
9-
\contentsline {figure}{\numberline {4.1}{\ignorespaces Built--In Software Hashes}}{63}{figure.4.1}
9+
\contentsline {figure}{\numberline {4.1}{\ignorespaces Built--In Software Hashes}}{57}{figure.4.1}
1010
\addvspace {10\p@ }
1111
\addvspace {10\p@ }
12-
\contentsline {figure}{\numberline {6.1}{\ignorespaces List of Provided PRNGs}}{83}{figure.6.1}
12+
\contentsline {figure}{\numberline {6.1}{\ignorespaces List of Provided PRNGs}}{82}{figure.6.1}
1313
\addvspace {10\p@ }
1414
\addvspace {10\p@ }
1515
\addvspace {10\p@ }
16-
\contentsline {figure}{\numberline {9.1}{\ignorespaces DSA Key Sizes}}{111}{figure.9.1}
16+
\contentsline {figure}{\numberline {9.1}{\ignorespaces DSA Key Sizes}}{119}{figure.9.1}
1717
\addvspace {10\p@ }
18-
\contentsline {figure}{\numberline {10.1}{\ignorespaces List of ASN.1 Supported Types}}{119}{figure.10.1}
18+
\contentsline {figure}{\numberline {10.1}{\ignorespaces List of ASN.1 Supported Types}}{127}{figure.10.1}
1919
\addvspace {10\p@ }
2020
\addvspace {10\p@ }
21+
\contentsline {figure}{\numberline {12.1}{\ignorespaces RSA/DH Key Strength}}{149}{figure.12.1}
22+
\contentsline {figure}{\numberline {12.2}{\ignorespaces ECC Key Strength}}{149}{figure.12.2}
2123
\addvspace {10\p@ }
2224
\addvspace {10\p@ }

0 commit comments

Comments
 (0)