Commit Graph

399 Commits

Author SHA1 Message Date
Karel Miko
67a547086c DSA sign improvement 2014-05-09 17:58:50 +02:00
Karel Miko
3908c70d68 tuning DSA key generation 2014-05-09 17:58:50 +02:00
Karel Miko
e271b9fdbe ECC key pair generation according to FIPS-186-4 2014-05-09 17:58:39 +02:00
Karel Miko
e600ab9d35 dsa_sign_hash: testing k < q 2014-05-09 16:26:24 +02:00
Karel Miko
72022edb8d dsa_make_key: improved testing x < q 2014-05-09 16:26:24 +02:00
Steffen Jaeckel
24d03dd823 testme.sh: add test runs without "timing resistance" 2014-05-08 15:11:38 +02:00
Steffen Jaeckel
e723d1289f travis.yml: add test runs without "timing resistance" 2014-05-08 15:10:09 +02:00
Steffen Jaeckel
3b97738ee9 travis.yml: rewrite to be better human-readable; trim trailing spaces 2014-05-08 15:08:31 +02:00
Steffen Jaeckel
c63c0433c1 enable timing resistant ECC calculations by default 2014-05-08 15:06:42 +02:00
Steffen Jaeckel
26743d0749 ecc_mulmod_timing: fix compiler warnings 2014-05-08 13:06:24 +02:00
Steffen Jaeckel
5707e319c2 Merge branch 'feature/coverage' into develop 2014-05-08 12:57:31 +02:00
Steffen Jaeckel
3dcf2df988 coverage: exclude some folders 2014-05-07 17:36:50 +02:00
Steffen Jaeckel
a59e5548ec tests: unregister ciphers etc. at exit, call error_to_string() 2014-05-07 17:36:09 +02:00
Steffen Jaeckel
2b04f3d8ed Readme: display the coverage status
[skip ci]
2014-05-07 17:03:12 +02:00
Steffen Jaeckel
1a44e2d22d send coverage results to coveralls 2014-05-07 16:16:08 +02:00
Steffen Jaeckel
f9a1041222 printinfo: display version of correct compiler if CC does not point to gcc
[skip ci]
2014-05-07 16:15:50 +02:00
Steffen Jaeckel
be5418368c Merge branch 'fix/anubis' into develop 2014-05-01 23:02:40 +02:00
Steffen Jaeckel
bbf278c779 anubis: fix left-shift
this has been brought up in #26
2014-05-01 23:02:21 +02:00
Steffen Jaeckel
ca1a1d18ab anubis: trim trailing spaces 2014-05-01 23:02:21 +02:00
Steffen Jaeckel
d2318d6c24 travis.yml: fix typo 2014-05-01 23:02:05 +02:00
Steffen Jaeckel
a06e40aa17 only run tests when build was without warnings 2014-05-01 18:13:21 +02:00
Steffen Jaeckel
4929e4e989 fix warnings in tests 2014-05-01 18:01:13 +02:00
Steffen Jaeckel
c211ce7f66 omac: fix accidentally reverted patch
introduced in 6816ac3f3f
reverted in 8e7777b554
2014-05-01 15:44:09 +02:00
Steffen Jaeckel
aa72cfe1d9 ccm: clarify pt and ct parameters in doc and API description
this fixes #42
[skip ci]
2014-04-30 20:19:11 +02:00
mudzot
3b7c6512ac Add #ifdef to make it easier to embed libtomcrypt with LTC_NOTHING
Restore LTC_NO_MATH and make rand_prime.c depend on LTC_NO_MATH & LTC_NO_PRNGS
2014-04-30 01:13:51 +02:00
Steffen Jaeckel
b895f13484 minor changes/clean-up sources 2014-04-30 01:10:22 +02:00
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