Commit Graph

2183 Commits

Author SHA1 Message Date
Steffen Jaeckel
c713e9536f remove unused hashstate from hmac_state 2019-11-22 12:02:52 +01:00
Steffen Jaeckel
193086d6eb
Merge pull request #526 from libtom/latest-ltm
allow building against latest ltm
2019-11-22 11:43:15 +01:00
Steffen Jaeckel
8842720236 allow building against latest ltm 2019-11-21 08:53:30 +01:00
Steffen Jaeckel
0c30412a66
Merge pull request #503 from libtom/fix-502
Replace (ed|x)25519_set_key by (ed|x)25519_import_raw
2019-10-21 11:44:04 +02:00
Steffen Jaeckel
354c90517e
Merge pull request #514 from libtom/pr/fix-for-513
Avoid 64-bit rotation for i386 targets
2019-10-20 12:45:51 +02:00
Karel Miko
23a7ba244c Avoid 64-bit rotation for i386 targets 2019-10-20 10:06:51 +02:00
Steffen Jaeckel
2d930616e0 Update docs
[skip ci]
2019-10-19 16:30:18 +02:00
Steffen Jaeckel
461a047afd Update makefiles 2019-10-19 16:30:18 +02:00
Steffen Jaeckel
334876db78 rename x25519_set_key to x25519_import_raw 2019-10-19 16:30:18 +02:00
Steffen Jaeckel
44a18342ba rename ed25519_set_key to ed25519_import_raw 2019-10-19 16:30:18 +02:00
Steffen Jaeckel
3540fd713c fixup x25519_import()
bring x25519_import() in line with its ed25519 counterpart
2019-10-19 16:30:05 +02:00
Steffen Jaeckel
25410c7524
Merge pull request #505 from libtom/rsa-improvements
Add rsa_init() and rsa_shrink_key()
2019-10-17 22:28:18 +02:00
Steffen Jaeckel
5c6212af75 make rsa_shrink_key() private for now 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
08abc93c40 Update makefiles 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
4e28b922a9 add rsa_shrink_key() 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
6fa98beb8a fix comment 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
b9a75829a6 add rsa_init() 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
50584ac7ec do timing on actual RSA key sizes 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
49bb37dff1
Merge pull request #512 from fperrad/20191017_indent
fix indentation
2019-10-17 22:27:32 +02:00
Francois Perrad
38c144870b fix indentation 2019-10-17 17:17:38 +02:00
Steffen Jaeckel
9682df98e4
Merge pull request #511 from libtom/more-fixes
More fixes
2019-10-17 14:50:11 +02:00
Steffen Jaeckel
68cc580602 use macros in more tests 2019-10-17 12:49:20 +02:00
Steffen Jaeckel
a3310959d0 fix changed ltm API 2019-10-17 12:49:20 +02:00
Steffen Jaeckel
a68b703e22 use zeromem in stream-cipher done() functions 2019-10-17 10:29:27 +02:00
Steffen Jaeckel
ef55d1335e fix some MSVC compiler warnings 2019-10-17 10:29:27 +02:00
Steffen Jaeckel
2a63adc1ab add XSTRLEN 2019-10-17 10:29:27 +02:00
Steffen Jaeckel
fcdb14ede1
Merge pull request #500 from libtom/fix-ssh-api
Fix SSH API
2019-10-16 23:16:46 +02:00
Steffen Jaeckel
9b6bf32f88 use unsigned long for the length of a string 2019-10-13 14:05:41 +02:00
Steffen Jaeckel
27ec31d4f3 improve SSH decoding & doc 2019-10-13 14:05:41 +02:00
Steffen Jaeckel
c13dc105f3 verify pointer to be non-NULL before dereferencing 2019-10-13 14:05:41 +02:00
Steffen Jaeckel
58254f76e8 fix SSH string implementation 2019-10-13 14:05:41 +02:00
Steffen Jaeckel
f89909bd6c use macros in ssh_test() 2019-10-13 14:05:41 +02:00
Steffen Jaeckel
8b5ce8ba7e add ENSURE() macro 2019-10-13 14:05:41 +02:00
Steffen Jaeckel
26dc2766bd move LTC_SSHDATA_EOL to the beginning of the enum
If there's an EOL at the end of the enum I'm tempted to add new entries
before that one and then this will break the ABI which I don't like.
2019-10-13 14:05:41 +02:00
Steffen Jaeckel
5ded083bb0
Merge pull request #497 from libtom/bcrypt
Bcrypt
2019-10-13 14:05:13 +02:00
Steffen Jaeckel
36260aea85 Update makefiles 2019-10-12 14:31:38 +02:00
Steffen Jaeckel
d4233e9156 rename arguments 2019-10-12 14:31:38 +02:00
Steffen Jaeckel
e9ff57d5d7 fix varargs error
When compiling with "-g -O0" valgrind complained about "Conditional jump
or move depends on uninitialised value(s)", c.f. e.g. [1]

[1] https://travis-ci.org/libtom/libtomcrypt/jobs/588690930
2019-10-12 14:31:38 +02:00
Steffen Jaeckel
9423f3b26d add bcrypt 2019-10-12 14:31:38 +02:00
Steffen Jaeckel
5e30d3512f add required private API 2019-10-12 13:13:49 +02:00
Steffen Jaeckel
e69579cac2 start re-factor 2019-10-12 13:13:49 +02:00
Steffen Jaeckel
238eb7339a
Merge pull request #504 from libtom/minor-fixes
Minor fixes and improvements
2019-10-12 13:11:20 +02:00
Steffen Jaeckel
c0d1cbdf1d fix #469
[skip ci]
2019-10-11 14:32:22 +02:00
Steffen Jaeckel
4fd4e86ce0 re-order examples 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
d2027d60eb add testcase for issue #507 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
197621d867 re-order vars of travis.yml
the travis UI shows them right besides the build and the name says more
than the script on what is done
2019-10-11 14:32:22 +02:00
Steffen Jaeckel
8d22018065 don't produce any console-output on make V=0 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
5e41924d85 use mp_init_copy() instead of init()+copy() 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
34d865488b update LTC_DEPRECATED macro from ltm 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
3e11e86f3e further updated ltm API 2019-10-11 14:32:22 +02:00