Skip to content

Commit bfc2f5b

Browse files
Tom St Denissjaeckel
authored andcommitted
added libtomcrypt-1.00
1 parent 1c1822d commit bfc2f5b

257 files changed

Lines changed: 12660 additions & 5355 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: 1155 additions & 0 deletions
Large diffs are not rendered by default.

authors

Lines changed: 0 additions & 55 deletions
This file was deleted.

changes

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
December 31st, 2004
2+
v1.00
3+
-- Added "r,s == 0" check to dsa_verify_hash()
4+
-- Added "multi block" helpers for hash, hmac, pmac and omac routines so you can process multiple non-adjacent
5+
blocks of data with one call (added demos/multi.c to make sure they work)
6+
-- Note these are not documented but they do have doxygen comments inside them
7+
-- Also I don't use them in other functions (like pkcs_5_2()) because I didn't have the time. Job for the new LTC maintainer ;-)
8+
-- Added tweaked Anubis test vectors and made it default (undefined ANUBIS_TWEAK to get original Anubis)
9+
-- Merged in fix for mp_prime_random_ex() to deal with MSB and LSB "bugs"
10+
-- Removed tim_exptmod() completely, updated several RSA functions (notably v15 and the decrypt/verify) so they
11+
don't require a prng now
12+
-- This release brought to you by the fine tunes of Macy Gray. We miss you.
13+
14+
December 23rd, 2004
15+
v1.00rc1
16+
-- Renamed "mycrypt_*" to "tomcrypt_*" to be more specific and professional
17+
Now just include "tomcrypt.h" instead of "mycrypt.h" to get LTC ;-)
18+
-- Cleaned up makefiles to ensure all headers are correctly installed
19+
-- Added "rotate by constant" macros for portable, x86-32 and x86-64
20+
You can disable this new code with LTC_NO_ROLC which is useful for older GCCs
21+
-- Cleaned up detection of x86-64 so it works for ROL/ROR macros
22+
-- Fixed rsa_import() so that it would detect multi-prime RSA keys and error appropriately
23+
-- Sorted the source files by category and updated the makefiles appropriately
24+
-- Added LTC_DER define so you can trim out DER code if not required
25+
-- Fixed up RSA's decrypt functions changing "res" to "stat" to be more in sync
26+
with the signature variables nomenclature. (no code change just renamed the arguments)
27+
-- Removed all labels starting with __ and replaced with LBL_ to avoid namespace conflicts (Randy Howard)
28+
-- Merged in LTM fix to mp_prime_random_ex() which zap'ed the most significant byte if the bit size
29+
requested was a multiple of eight.
30+
-- Made RSA_TIMING off by default as it's not terribly useful [and likely to be deprecated]
31+
-- Renamed SMALL_CODE, CLEAN_STACK and NO_FILE to have a LTC_ prefix to avoid namespace collisions
32+
with other programs. e.g. SMALL_CODE => LTC_SMALL_CODE
33+
-- Zed Shaw pointed out that on certain systems installing libs as "root" isn't possible as the super-user
34+
is not root. Now the makefiles allow this to be changed easily.
35+
-- Renamed "struct _*_descriptor" to "struct ltc_*_descriptor" to avoid using a leading _
36+
Also renamed _ARGCHK to LTC_ARGCHK
37+
-- Zed Shaw pointed out that I still defined the prng structs in tomcrypt_prng.h even if they
38+
weren't defined. This made undef'ing FORTUNA break the build.
39+
-- Added LTC_NO_ASM to disable inline asm macros [ROL/ROR/etc]
40+
-- Changed RSA decrypt functions to change the output length variable name from "keylen" to "outlen" to make
41+
it more consistent.
42+
-- Added the 64-bit Khazad block cipher [NESSIE]
43+
-- Added the 128-bit Anubis block cipher [with key support for 128...320 bit keys] [NESSIE]
44+
-- Changes to several MAC functions to rename input arguments to more sensible names
45+
-- Removed FAST_PK support from dh_sys.c
46+
-- Declared deskey() from des.c as static instead of a global
47+
-- Added pretty much all practical GCC warning tests to the GCC [related] makefiles. These additional
48+
warnings can easily be disabled for those with older copies of GCC [or even non GNU cc's]
49+
-- Added doxygen @ tags to the code... phew that was a hell of a lot of [repetitive] work
50+
-- Also added pre-configured Doxygen script.
51+
-- Cleaned up quite a few functions [ciphers, pk, etc] to make the parameters naming style consistent
52+
E.g. ciphers keys are called "skey" consistently now. The input to PK encryption is called "in", etc.
53+
These changes require no code changes on the behalf of developers fortunately
54+
-- Started a SAFER+ optimizer [does encrypt only] which shaves a good 30 or so cycles/byte on my AMD64
55+
at an expense of huge code. It's in notes/etc/saferp_optimizer.c
56+
-- DSA sign/verify now uses DER encoded output/inputs and no LTC style headers.
57+
-- Matt Johnston found a missing semi-colon in mp_exptmod(). Fix has been merged in.
58+
159
October 29th, 2004
260
v0.99 -- Merged in the latest version of LTM which includes all of the recent bug fixes
361
-- Deprecated LTMSSE and removed it (to be replaced with TFM later on)

0 commit comments

Comments
 (0)