Larry Bugbee
147a406243
Update demo_dynamic.py3
...
clean comments
2017-08-16 23:50:23 -07:00
Larry Bugbee
5d3e2d1e90
Update demo_dynamic.py
...
clean comments
2017-08-16 23:49:39 -07:00
Steffen Jaeckel
7a64e13845
Merge pull request #270 from libtom/minor_changes
...
Minor changes
2017-08-16 13:42:22 +02:00
Steffen Jaeckel
1fa8caff6c
fix call to gettimeofday()
...
as of `man gettimeofday`
"The use of the timezone structure is obsolete;
the tz argument should normally be specified as NULL."
2017-08-16 11:52:40 +02:00
Steffen Jaeckel
bb9d397975
default ChaCha to ChaCha20
2017-08-16 11:49:25 +02:00
karel-m
385bae81a1
Merge pull request #266 from libtom/pr/fix-lint-issues
...
Fix lint issues
2017-08-13 18:16:55 +02:00
Karel Miko
de8a53a2e5
ocb3_test cosmetics
...
[skip ci]
2017-08-13 18:15:44 +02:00
Karel Miko
2a52c68f2e
fix lint issues from #199
2017-08-13 14:54:39 +02:00
Steffen Jaeckel
daaab843f3
Merge pull request #263 from libtom/pr/crypt_sizes
...
missing items in crypt sizes
2017-08-11 13:27:23 +02:00
Larry Bugbee
6bbb450d40
remove trailing space
2017-08-11 02:17:31 -07:00
Larry Bugbee
8b703c1505
remove traling space for Travis
2017-08-11 02:16:26 -07:00
Larry Bugbee
bab115c631
converted demo_dynamic.py to Python3
2017-08-11 01:27:21 -07:00
Larry Bugbee
ee55c4e51c
minor cleanup and formatting changes
2017-08-11 01:21:59 -07:00
Larry Bugbee
695c3b235d
Update demo_dynamic.py
...
added error strings (with function returning a string type) and a decryption to ChCha.
2017-08-10 16:40:28 -07:00
Steffen Jaeckel
87d876f6ac
add comment about usage to demo_dynamic
...
[skip ci]
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
35925eada5
improve constants demo
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
d5d4cadbde
PKA_{D,R}SA shouldn't be public
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
a247583e63
add error-codes to crypt_constants
2017-08-09 16:06:11 +02:00
Larry Bugbee
9f548c9928
update demo_dynamic.py
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
91e5e8350b
ltc_dh_set_type can be hidden as well
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
d22b20833e
we don't expose internal structs
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
22822417c9
really define LTC_{DE,EN}CRYPT
2017-08-09 16:06:11 +02:00
Larry Bugbee
a3a199e14b
update crypt_sizes.c
2017-08-09 16:06:11 +02:00
Larry Bugbee
7a2aabf47e
update crypt_constants.c
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
9f02fde06e
improve sizes demo a bit
2017-08-09 16:06:11 +02:00
Karel Miko
b79ae63408
add missing items to crypt_sizes
2017-08-09 16:06:11 +02:00
Steffen Jaeckel
b5ab8ec811
update README.md a bit
...
[skip ci]
2017-08-09 15:55:15 +02:00
karel-m
231af66e03
Merge pull request #264 from libtom/pr/doxygen-warnings
...
fix doxygen warnings (as mentioned in #228 )
2017-08-09 09:53:19 +02:00
Karel Miko
0286b36ad6
fix doxygen warnings (as mentioned in #228 )
...
[skip ci]
2017-08-09 09:44:12 +02:00
Steffen Jaeckel
65dc00e23a
align HASH_PROCESS() macro
2017-08-08 19:05:59 +02:00
Steffen Jaeckel
c29c9f140d
disable DSA4096 timing tests when building for TFM
...
this fixes #260
2017-08-08 08:47:58 +02:00
Steffen Jaeckel
227838bb09
Merge pull request #261 from libtom/improve/test_without_mpi
...
make it possible to 'make all' w/o an MPI provider
2017-08-08 08:46:31 +02:00
Steffen Jaeckel
a65cfb8dbe
make it possible to 'make all' w/o an MPI provider
2017-08-07 21:11:42 +02:00
Steffen Jaeckel
7993ce8e10
Merge pull request #262 from libtom/pr/ocb3-done-taglen-fix
...
ocb3_done taglen fix
2017-08-07 21:07:25 +02:00
Steffen Jaeckel
9139b59699
OCBv3: fix testvector generation
2017-08-07 19:43:09 +02:00
Steffen Jaeckel
9952fac68e
tv.txt contains errors from tv_gen
2017-08-07 19:37:53 +02:00
Karel Miko
f647baa778
OCBv3: ocb3_init taglen check
2017-08-07 18:24:59 +02:00
Karel Miko
af63d0a55f
OCBv3: improved handling of taglen in ocb3_done
2017-08-07 18:24:59 +02:00
Steffen Jaeckel
41130900d0
fix 1. help-line of openssl-enc
...
[skip ci]
2017-08-07 17:28:49 +02:00
Steffen Jaeckel
28ecdd5d12
minor improvements
...
[skip ci]
2017-08-07 16:33:38 +02:00
Steffen Jaeckel
ac4687d88d
also put LTC_TEST_DBG in crypt_build_settings
2017-08-07 16:18:15 +02:00
Steffen Jaeckel
44076e3815
Merge branch 'fix/254' into release/1.18.0
...
This fixes #254
2017-08-07 16:05:38 +02:00
Steffen Jaeckel
7a59f71af8
fix warning
...
warning: 'ltc_asn1_type {aka enum ltc_asn1_type_}' is promoted to 'int' when passed through '...'
type = va_arg(args, ltc_asn1_type);
note: (so you should pass 'int' not 'ltc_asn1_type {aka enum ltc_asn1_type_}' to 'va_arg')
note: if this code is reached, the program will abort
2017-08-07 16:04:57 +02:00
Steffen Jaeckel
32355d04bb
fix endianness detection for some versions of gcc
...
This fixes #254
2017-08-07 16:04:57 +02:00
Steffen Jaeckel
9f020b17df
limit malloc'ed data in eax_decrypt_verify_memory()
2017-08-07 16:04:36 +02:00
Steffen Jaeckel
05f7393067
Merge pull request #256 from libtom/fix/256
...
OCB3 is not according to RFC7253
2017-08-07 16:03:39 +02:00
Karel Miko
6ac1c5fa34
OCBv3: fix demos/timing failures
2017-08-07 07:48:21 +02:00
Steffen Jaeckel
3ecd18763b
OCBv3: better taglen limitation
2017-08-03 13:40:57 +02:00
Steffen Jaeckel
3b4d39ea45
OCBv3: improve a bit when ARGCHK'ing pointers
...
* it didn't really make sense to check that the _in_ pointer is NULL
* instead we should check that _in_ and _out_ are not NULL when there's
something to process
2017-08-03 13:40:26 +02:00
Steffen Jaeckel
868c5a82c3
OCBv3: fix handling of empty plaintext
2017-08-03 13:19:12 +02:00