Commit Graph

223 Commits

Author SHA1 Message Date
Steffen Jaeckel
b10c03aead flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
Steffen Jaeckel
8a2bd89518 don't use assembler rotate when compiling for windows 64bit 2014-04-29 19:15:28 +02:00
karel-m
8afdb8831d ifdefs related to 64bit MS Windows build
Conflicts:
	src/headers/tomcrypt_cfg.h
	src/prngs/rng_get_bytes.c
2014-04-29 19:15:28 +02:00
karel-m
232f412709 makefiles for MS Windows gcc compiler 2014-04-29 18:25:15 +02:00
Karel Miko
0bda0770d9 fix for ASM failures on freebsd/netbsd 2014-04-29 17:32:14 +02:00
Steffen Jaeckel
e08480f621 update documentation according to new 3des mode 2014-04-28 21:08:56 +02:00
Steffen Jaeckel
f4d7baaacc Merge pull request #43 from pghmcfc/develop
Add support for two-key Triple-DES
2014-04-28 21:05:26 +02:00
Paul Howarth
445dfa67a6 des.c: Add support for two-key Triple-DES
Add two-key 3DES support, needed by pycrypto.

This commit is based on the one for the bundled libtomcrypt 1.16
code in pycrypto:

https://github.com/dlitz/pycrypto/commit/65085f16
2014-04-15 11:25:18 +01:00
Steffen Jaeckel
449d5e718d gitignore: add files that are generated while profiling 2014-04-04 01:03:58 +02:00
Steffen Jaeckel
ae5cc35298 surround most macros with "do{}while(0)" 2014-04-04 01:03:54 +02:00
Steffen Jaeckel
2849087906 Merge branch 'feature/rmCincludes' into develop 2014-04-04 00:54:14 +02:00
Steffen Jaeckel
1ce4e766ff update makefiles 2014-04-04 00:38:10 +02:00
Steffen Jaeckel
a15ea906c1 genlist.sh: update 2014-04-04 00:38:09 +02:00
Steffen Jaeckel
2bdebb3932 dh: remove including of c-files 2014-04-04 00:38:08 +02:00
Steffen Jaeckel
71ccad06bd dh: remove unused variables 2014-04-04 00:38:07 +02:00
Steffen Jaeckel
f3cdac05ec sha2: remove including of c-files 2014-04-04 00:38:06 +02:00
Steffen Jaeckel
cbd59421bd protect all tables by an ifdef; adjust safer to the same concept 2014-04-04 00:38:05 +02:00
Steffen Jaeckel
5d8091b6cf Merge branch 'fix/strict-aliasing' into develop 2014-04-04 00:36:07 +02:00
Steffen Jaeckel
ffeb70b48a fix typedef of LTC_FAST_TYPE on x86_64 2014-04-03 22:22:01 +02:00
Steffen Jaeckel
68bfdd0fac move mac_test() before modes_test()
since lrw uses gcm it makes sense to fail already at gcm
2014-04-03 15:08:17 +02:00
Steffen Jaeckel
53f04b8e6b only use ulong32 or ulong64 in the macros 2014-04-03 15:06:56 +02:00
Steffen Jaeckel
1f7cf9dc0b move typedefs from tomcrypt_macros.h to tomcrypt_cfg.h 2014-04-03 15:05:56 +02:00
Steffen Jaeckel
e027dda26f travis: add "after_failure" section 2014-03-12 10:53:23 +02:00
Steffen Jaeckel
561fe83532 fix strict-aliasing compiler warnings 2014-03-04 21:59:16 +01:00
Steffen Jaeckel
0aee5f3217 fix wrong spelled macros 2014-03-04 21:50:18 +01:00
Steffen Jaeckel
84298440f4 trim trailing spaces 2014-03-04 21:50:17 +01:00
Steffen Jaeckel
621a75ab28 base64: add and most important - execute tests 2014-03-04 21:50:16 +01:00
Steffen Jaeckel
1d52f3b49b tomcrypt_custom.h: move dependency checks together 2014-03-04 18:09:12 +01:00
Steffen Jaeckel
ec73cfa257 Merge branch 'stapelberg/respect-ldflags' into develop 2014-02-25 10:47:20 +01:00
Michael Stapelberg
ed2743d524 makefile.shared: respect LDFLAGS when linking 2014-02-25 10:47:05 +01:00
Steffen Jaeckel
6b7e79e1ee Merge branch 'stapelberg/pkgconfig' into develop 2014-02-25 10:46:40 +01:00
Michael Stapelberg
90928d6dfd pkgconfig: set libdir= to $LIBPATH (for multi-arch) 2014-02-25 10:45:20 +01:00
Michael Stapelberg
30022b114c add and install pkgconfig file for the shared library 2014-02-25 10:45:19 +01:00
Steffen Jaeckel
4dfd24d434 Merge branch 'stapelberg/fix-spelling' into develop 2014-02-25 10:44:28 +01:00
Michael Stapelberg
8d7e3d8216 fix typo: s/Endianess/Endianness/ 2014-02-25 10:38:29 +01:00
Steffen Jaeckel
722c128051 Merge branch 'feature/travis' into develop 2014-02-25 10:32:10 +01:00
Steffen Jaeckel
e97d921c8d travis: print version information in build scripts 2014-02-25 10:31:13 +01:00
Steffen Jaeckel
c5b57cfee4 travis: use build matrix instead of testme script 2014-02-25 10:09:59 +01:00
Steffen Jaeckel
feaa31968e travis: add IRC notifications 2014-02-25 10:09:58 +01:00
Steffen Jaeckel
65fd19c1fb dh: fix renamed macro 2014-02-25 10:09:35 +01:00
Steffen Jaeckel
77cca4175f ccm_memory_ex: disable until documented and fixed 2014-02-18 16:07:24 +01:00
Steffen Jaeckel
8b24397f84 update makefiles 2014-02-18 15:23:23 +01:00
Steffen Jaeckel
8e02874031 Merge branch 'stapelberg/deterministic-latex' into develop 2014-02-16 18:55:29 +01:00
Steffen Jaeckel
460bcfe31b remove crypt.lof from the repository 2014-02-16 18:55:28 +01:00
Steffen Jaeckel
a3811e2000 add -b flag to sed that enables binary processing (required on windows) 2014-02-16 18:55:27 +01:00
Michael Stapelberg
4ab63ccd3a deterministically build crypt.pdf
This entails:

 • Using pdflatex to influence the modification/creation timestamp in
   the resulting PDF
 • Replacing the unique ID with 0/0
 • Using the timestamp from crypt.tex instead of the current date/time

See also http://superuser.com/a/130804

This change is necessary because for Multi-Arch Debian packages,
non-arch-dependent files need to have the same checksum, which is not
guaranteed without this commit. See http://bugs.debian.org/734109
2014-02-16 18:55:25 +01:00
Steffen Jaeckel
ed9940175d hmac test: add some more tests from RFC's 2014-02-16 18:55:24 +01:00
Steffen Jaeckel
ddb26a4276 hmac test: remove comments, prepare for extension 2014-02-16 18:41:33 +01:00
Steffen Jaeckel
2adca46735 pkcs#5: add tests for 'algo 2' 2014-02-16 18:41:33 +01:00
Steffen Jaeckel
e48838559b der_encode_setof: fix compiler warning when compiling for windows 64bit 2014-02-16 18:41:32 +01:00