Skip to content

Commit 2de2976

Browse files
Tom St Denissjaeckel
authored andcommitted
added libtomcrypt-1.15
1 parent 479cc9c commit 2de2976

141 files changed

Lines changed: 6688 additions & 1522 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: 1 addition & 1 deletion
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.14
26+
PROJECT_NUMBER = 1.15
2727

2828
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
2929
# base path where the generated documentation will be put.

TODO

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
- long term, start moving macros like CTR over to LTC_CTR to make LTC a bit more "drop-in-able".
2-
- F8 mode could use some LTC_FAST love
3-
1+
- document makefile flags [INSTALL_* for instance]
2+
- document PK build flags
3+
- merge PKCS #1 v1.5 back in, document changes to rsa_encrypt and rsa_sign
44

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

changes

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
November 17th, 2006
2+
v1.15 -- Andreas Lange found that if sha256_init DID fail in fortuna it wouldn't clean up the state correctly. Thanks.
3+
Fortunately sha256_init cannot fail (as of v1.14) :-)
4+
-- Andreas Lange contributed RMD-256 and RMD-320 code.
5+
-- Removed mutex locks from fortuna_import as they create a deadlock and aren't required anyways [Avi Zelmanovich]
6+
-- Added LTC_NO_PROTOTYPES to avoid prototyping functions like memset/memcpy. Required for fans of GCC 3.3.x
7+
-- David Eder caught a off by one overrun bug in pmac_done() which can be exploited if your output tag buffer is
8+
smaller than the block size of the cipher, e.g. if you have a 4-byte buffer and you tell pmac_done that you want
9+
a 4-byte TAG it will store 4 bytes but return an outlen of 5.
10+
-- Added signatures to the ECC and RSA benchmarks
11+
-- Added LTC_PROFILE to run the PK tests only once in the timing demo (so you can capture events properly)
12+
-- Andreas contributed PKCS #1 v1.5 code that merged cleanly with the existing PKCS code. w00t.
13+
(update: I had to fix it to include the digestInfo and what not. Bad Andreas, bad! hehehe)
14+
-- Fixed a signed variable error in gcm_process() (hard to trigger bug fortunately)
15+
-- Removed all memcmp/memset/memcpy from the source (replaced with X macros)
16+
-- Renamed macros HMAC/OMAC/PMAC to have a LTC_ prefix. If you pass these on the command line please update your makefiles
17+
-- Added XCBC-MAC support [RFC 3566]
18+
-- fixed LOAD32H and LOAD64H to stop putting out that darn warning :-)
19+
-- Added the Korean SEED block cipher [RFC 4269]
20+
-- Added LTC_VALGRIND define which makes SOBER-128 and RC4 a pure PRNG (and not a stream cipher). Useful if you use
21+
Valgrind to debug your code (reported by Andreas Lange)
22+
-- Made SOBER-128 more portable by removing the ASCII key in the test function (my bad, sorry).
23+
-- Martin Mocko pointed out that if you have no PRNGs defined the lib won't build. Fixed, also fixed for if you have no
24+
hashes defined.
25+
-- Sped up F8 mode with LTC_FAST
26+
-- Made CTR mode RFC 3686 compliant (increment counter first), to enable, OR the value LTC_CTR_RFC3686 to the "mode"
27+
parameter you pass to ctr_start(), otherwise it will be LTC compliant (e.g. encrypt then increment)
28+
-- Added ctr_test() to test CTR mode against RFC 3686
29+
-- Added crypt_fsa() ... O_o
30+
-- Fixed LTC_ECC_TIMING_RESISTANT so it once again builds properly (pt add/dbl are through the plugin now)
31+
-- Added ANSI X9.63 (sec 4.3.6) import/export of public keys (cannot export to compressed formats but will import
32+
hybrid compressed)
33+
-- Added SECP curves for 112, 128, and 160 bits (only the 'r1' curves)
34+
-- Added 3GPP-F9 MAC (thanks to Greg Rose for the test vectors)
35+
-- Added the KASUMI block cipher
36+
-- Added F9/XCBC/OMAC callbacks to the cipher plugin
37+
-- Added RSA PKCS #1 v1.5 signature/encrypt tests to rsa_test.c
38+
-- Fix to yarrow_test() to not call yarrow_done() which is invalid in that context (thanks Valgrind)
39+
-- Christophe Devine pointed out that Anubis would fail on various 64-bit UNIX boxes when "x>>24" was used as an index, we needed
40+
to mask it with 0xFF. Thanks. Fixed.
41+
142
August 0x1E, 0x07D6
243
v1.14 -- Renamed the chaining mode macros from XXX to LTC_XXX_MODE. Should help avoid polluting the macro name space.
344
-- clean up of SHA-256
@@ -18,7 +59,7 @@ v1.14 -- Renamed the chaining mode macros from XXX to LTC_XXX_MODE. Should help
1859
-- Minor updates to the technotes.
1960

2061

21-
June 17th, 2005
62+
June 17th, 2006
2263
v1.13 -- Fixed to fortuna_start() to clean up state if an error occurs. Not really useful at this stage (sha256 can't fail) but useful
2364
if I ever make fortuna pluggable
2465
-- Mike Marin submitted a whole bunch of patches for fixing up the libs on traditional UNIX platforms. Go AIX! Thanks!
@@ -1484,6 +1525,6 @@ v0.02 -- Changed RC5 to only allow 12 to 24 rounds
14841525
v0.01 -- We will call this the first version.
14851526

14861527
/* $Source: /cvs/libtom/libtomcrypt/changes,v $ */
1487-
/* $Revision: 1.224 $ */
1488-
/* $Date: 2006/08/30 23:23:20 $ */
1528+
/* $Revision: 1.257 $ */
1529+
/* $Date: 2006/11/17 15:18:44 $ */
14891530

crypt.lof

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
\addvspace {10\p@ }
2+
\addvspace {10\p@ }
3+
\contentsline {figure}{\numberline {2.1}{\ignorespaces Load And Store Macros}}{9}{figure.2.1}
4+
\contentsline {figure}{\numberline {2.2}{\ignorespaces Rotate Macros}}{9}{figure.2.2}
5+
\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}
8+
\addvspace {10\p@ }
9+
\contentsline {figure}{\numberline {4.1}{\ignorespaces Built--In Software Hashes}}{63}{figure.4.1}
10+
\addvspace {10\p@ }
11+
\addvspace {10\p@ }
12+
\contentsline {figure}{\numberline {6.1}{\ignorespaces List of Provided PRNGs}}{83}{figure.6.1}
13+
\addvspace {10\p@ }
14+
\addvspace {10\p@ }
15+
\addvspace {10\p@ }
16+
\contentsline {figure}{\numberline {9.1}{\ignorespaces DSA Key Sizes}}{111}{figure.9.1}
17+
\addvspace {10\p@ }
18+
\contentsline {figure}{\numberline {10.1}{\ignorespaces List of ASN.1 Supported Types}}{119}{figure.10.1}
19+
\addvspace {10\p@ }
20+
\addvspace {10\p@ }
21+
\addvspace {10\p@ }
22+
\addvspace {10\p@ }

0 commit comments

Comments
 (0)