Commit Graph

705 Commits

Author SHA1 Message Date
Karel Miko
3cfb58c2f4 update makefiles 2017-04-02 18:13:45 +02:00
Karel Miko
c8cb714e08 added chacha_done 2017-04-02 18:13:45 +02:00
Karel Miko
ff6abc776c RFC 7539 - ChaCha20 and Poly1305 + chacha based PRNG 2017-04-02 18:13:45 +02:00
Karel Miko
6844275e82 silence MSVC compiler warning 2017-04-02 17:42:28 +02:00
Karel Miko
df733f79fa removing VS2005 residual that should be removed in #168 2017-04-02 17:42:22 +02:00
Steffen Jaeckel
e3b5a858c3 Merge pull request #182 from libtom/feature/generalizedtime
add GeneralizedTime DER processing
2017-03-31 20:22:38 +02:00
Steffen Jaeckel
78a32430d4 more tests 2017-03-31 18:24:42 +02:00
Steffen Jaeckel
2c52bf75f4 bugfixing 2017-03-31 18:24:42 +02:00
Steffen Jaeckel
08503a02f5 update error codes
This closes #180
2017-03-31 15:12:12 +02:00
Steffen Jaeckel
1f0daf1eff fix compiler warning 2017-03-31 00:57:22 +02:00
Steffen Jaeckel
83780d4764 add timezone-offset support to GeneralizedTime
this also fixes a bug in the length generation
2017-03-30 22:48:42 +02:00
Steffen Jaeckel
59b4026fa7 Update makefiles 2017-03-30 22:29:02 +02:00
Steffen Jaeckel
2bd517307c add GeneralizedTime DER en-/decode 2017-03-30 22:29:02 +02:00
Steffen Jaeckel
f7cb199066 add test proposed by @karel-m 2017-03-30 22:29:02 +02:00
Steffen Jaeckel
77019928dd Merge pull request #79 from libtom/feature/rsa_import_x509
RSA import x509
2017-03-30 22:28:24 +02:00
Steffen Jaeckel
ac7915ed13 Update makefiles 2017-03-30 18:46:05 +02:00
Steffen Jaeckel
856d542a1c turn around the order when free'ing an rsa_key struct 2017-03-30 18:46:05 +02:00
Steffen Jaeckel
ec327b3d86 move x509 processing to rsa_import_x509() 2017-03-30 18:46:05 +02:00
Steffen Jaeckel
019a9e9850 add stinky certificate 2017-03-30 18:46:04 +02:00
Steffen Jaeckel
27722734b2 let's use an empty list element to signal an empty sequence 2017-03-30 18:46:04 +02:00
Steffen Jaeckel
39b2a8daca add tests for new functionality of der_encode_flexi() and rsa_import() 2017-03-30 18:46:04 +02:00
Steffen Jaeckel
f9bce83329 add possibility to rsa_import() the public key of an x.509 certificate 2017-03-30 18:46:04 +02:00
Steffen Jaeckel
2e822a80a8 add der_sequence_shrink()
in case you want to keep a sequence over a longer time, but you don't
need all the raw constructed, set or sequence data
2017-03-30 18:46:04 +02:00
Steffen Jaeckel
7ddce245b8 save the plain constructed-, sequence- or set-data details 2017-03-30 18:46:04 +02:00
karel-m
0a400f465f Merge pull request #181 from libtom/pr/demo-test-facelift 2017-03-30 16:59:43 +02:00
Karel Miko
2a2968ae92 demos/test facelift 2017-03-30 16:56:10 +02:00
Steffen Jaeckel
4874430dec send travis notifications to #libtom-notifications 2017-03-30 15:49:04 +02:00
karel-m
4bcd48411a Merge pull request #173 from libtom/pr/sha3 2017-03-29 13:46:04 +02:00
Karel Miko
c6a0362c88 SHA3 2017-03-29 13:44:04 +02:00
karel-m
1b81848576 Merge pull request #168 from libtom/pr/msvc-cleanup
Improving MS Windows builds (msvc)
2017-03-29 09:07:58 +02:00
Karel Miko
7bb7bdde1d improving MS Windows builds (msvc) 2017-03-29 08:48:33 +02:00
Steffen Jaeckel
783cbc7917 Merge branch 'fix/25' into develop
This closes #25
2017-03-28 22:57:35 +02:00
Steffen Jaeckel
d153d1303a Update makefiles 2017-03-28 22:57:22 +02:00
Steffen Jaeckel
8af93d1d0d Remove ccm_memory_ex() 2017-03-28 22:57:22 +02:00
Steffen Jaeckel
363a57fc87 Merge branch 'fix/6' into develop
This closes #6 & #179
2017-03-28 22:55:49 +02:00
Steffen Jaeckel
8518b56dbf Revert "fix rotate_test to pass rotate by zero with LTC_NO_ASM"
This reverts commit 82080f0b87.
2017-03-28 21:18:22 +02:00
Steffen Jaeckel
70ee598c5e fix LTC_NO_ASM rotate macros when compiling with clang 2017-03-28 21:18:22 +02:00
Karel Miko
82080f0b87 fix rotate_test to pass rotate by zero with LTC_NO_ASM 2017-03-27 22:03:33 +02:00
Karel Miko
e5aa2bd453 added rotate_test 2017-03-27 19:32:05 +02:00
Steffen Jaeckel
7532b89a6d Merge pull request #177 from libtom/pr/177
Add -Wdeclaration-after-statement to travis-ci tests
2017-03-26 23:47:42 +02:00
Steffen Jaeckel
862a02767d fix constants and sizes demo 2017-03-26 21:38:02 +02:00
Steffen Jaeckel
101a7a71ae enable -Wdeclaration-after-statement by default 2017-03-26 19:30:18 +02:00
Steffen Jaeckel
7885c91af3 print math provider when running tests 2017-03-26 15:46:41 +02:00
Steffen Jaeckel
ea355dbc79 there's no reason to disable DH when using GMP as MPI provider 2017-03-24 16:58:04 +01:00
Steffen Jaeckel
ba338eced8 also build executables in makefile.shared from template 2017-03-24 16:42:49 +01:00
Karel Miko
b465881b58 fix "declaration-after-statement" warnings (tests only) 2017-03-24 10:17:02 +01:00
Steffen Jaeckel
fd1e351316 Merge pull request #78 from libtom/idea/ltc_rng
add ltc_rng function pointer
2017-03-22 12:16:46 +01:00
Karel Miko
15db3eab59 fix travis failure 2017-03-22 11:24:21 +01:00
Steffen Jaeckel
27f8e8bf75 Update makefiles 2017-03-22 11:24:21 +01:00
Steffen Jaeckel
cd08a8cec3 disable ltc_rng by default 2017-03-22 11:24:21 +01:00