Andres Amaya Garcia
4c47e18cfa
Fix check-generated-files.sh failure with query_config
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
9da4674060
Suppress visual studio preprocessor warnings on query_config.c
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
c6753cd4cd
Use \r instead of 0xD in generate_visualc_files.pl
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
fe52d2af51
Update query_config.c with new macros
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
4eb040af4a
Exclude macros from query_config.c generation
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
c500ad8cc0
Fix query_config macro expansion for windows
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
c46ea38f90
Fix query_config macro expansion for windows
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
024694e7d5
Fix missing include in vs proj files for query programs
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
cb6b6dcdc5
Improve cmake inclusion of query_config.c when building apps
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
5547a405b2
Improve comments in query_config.fmt
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
d2689e3876
Fix GCC 0-length printf format string error
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
289c64ab30
Fix multiple stdio.h inclusion in query_config.c
2019-02-07 10:32:31 +00:00
Andres AG
bf83f1d296
Fix aligment in programs/test/query_compile_time_config.c
2019-02-07 10:32:31 +00:00
Andres AG
ce52886051
Create programs/test/query_compile_time_config app
2019-02-07 10:32:31 +00:00
Andres AG
b6ff184f5c
Ensure query_config.c includes stdio only when needed
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
e8b11dd98b
Fix typo in quenerate_query_config.pl comment
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
aaa6007958
Update programs/ssl/CMakeLists.txt with query_config.c dep
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
d4d55965bc
Add ChangeLog entries
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
e144b4130c
Add gen_query_config.pl to check-gen-files and bump_version
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
f1a5b26233
Script generation of query_config.c file
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
55a6c367bb
query_config.c: remove duplicated inc of platform.h
2019-02-07 10:32:31 +00:00
Andres Amaya Garcia
0644678507
ssl-opt: Use ssl_server2 to query config instead of grep and sed
2019-02-07 10:32:30 +00:00
Andres Amaya Garcia
bfa3e0914b
Query config through ssl_server2 and ssl_client2 cmdline
2019-02-07 10:30:05 +00:00
Peter Kolbus
1e2aa72b57
all.sh: Test MBEDTLS_MPI_WINDOW_SIZE=1
...
There were no tests for a non-default MPI window size. Add one.
Change-Id: Ic08fbc9161d0b3ee67eb3c91f9baf602646c9dfe
2019-02-05 16:44:13 +01:00
Peter Kolbus
b83d41d828
Fix DEADCODE in mbedtls_mpi_exp_mod()
...
In mbedtls_mpi_exp_mod(), the limit check on wsize is never true when
MBEDTLS_MPI_WINDOW_SIZE is at least 6. Wrap in a preprocessor guard
to remove the dead code and resolve a Coverity finding from the
DEADCODE checker.
Change-Id: Ice7739031a9e8249283a04de11150565b613ae89
2019-02-05 16:44:03 +01:00
k-stachowiak
fa444586c0
Correct code formatting in the timing test suites
2019-02-05 10:05:01 +01:00
k-stachowiak
73a8a0f7d9
Apply imperiative style in the changelog entry
2019-02-05 10:04:54 +01:00
Peter Kolbus
494ac010e4
Add ChangeLog entry
2019-02-04 17:14:32 +00:00
Peter Kolbus
3098707188
all.sh: Fix check_headers_in_cpp
...
When all.sh invokes check_headers_in_cpp, a backup config.h exists. This
causes a stray difference vs cpp_dummy_build.cpp. Fix by only collecting
the *.h files in include/mbedtls.
Change-Id: Ifd415027e856858579a6699538f06fc49c793570
2019-02-04 17:14:02 +00:00
Christian Walther
59931badc4
Add ChangeLog entry
2019-01-31 19:22:34 +02:00
Christian Walther
38c919bc95
Fix private DER output shifted by one byte.
2019-01-31 19:22:03 +02:00
Jens Wiklander
402d7ac3db
Add ChangeLog entry
...
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2019-01-31 19:09:23 +02:00
Jens Wiklander
dfd447e836
fix memory leak in mpi_miller_rabin()
...
Fixes memory leak in mpi_miller_rabin() that occurs when the function has
failed to obtain a usable random 'A' 30 turns in a row.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2019-01-31 19:09:17 +02:00
Jaeden Amero
6f76795bf5
Merge remote-tracking branch 'origin/pr/2346' into mbedtls-2.16
2019-01-30 17:35:02 +00:00
Jaeden Amero
9fc7af017a
Merge remote-tracking branch 'origin/pr/2040' into mbedtls-2.16
2019-01-30 16:17:22 +00:00
Jaeden Amero
5788314d63
Merge remote-tracking branch 'origin/pr/2319' into mbedtls-2.16
2019-01-30 16:09:56 +00:00
Jaeden Amero
f0f8c09178
Merge remote-tracking branch 'origin/pr/1375' into mbedtls-2.16
2019-01-30 16:09:08 +00:00
Jaeden Amero
88227f9d8e
Merge remote-tracking branch 'origin/pr/2326' into mbedtls-2.16
2019-01-30 15:55:53 +00:00
Jaeden Amero
462dfc5068
Merge remote-tracking branch 'origin/pr/2332' into mbedtls-2.16
2019-01-30 15:52:26 +00:00
Jaeden Amero
36c2c73263
Merge remote-tracking branch 'origin/pr/2325' into mbedtls-2.16
2019-01-30 15:36:57 +00:00
Jaeden Amero
a82b436bc2
Merge remote-tracking branch 'origin/pr/2322' into mbedtls-2.16
2019-01-30 15:29:41 +00:00
Jaeden Amero
4002ada9f3
Merge remote-tracking branch 'origin/pr/2214' into mbedtls-2.16
2019-01-30 15:03:02 +00:00
Jaeden Amero
d81c57fc80
Merge remote-tracking branch 'origin/pr/2347' into mbedtls-2.16
2019-01-30 15:02:04 +00:00
Jaeden Amero
5677eab235
Merge remote-tracking branch 'origin/pr/2207' into mbedtls-2.16
2019-01-30 14:57:30 +00:00
Jaeden Amero
484d883a1d
Merge remote-tracking branch 'origin/pr/2191' into mbedtls-2.16
2019-01-30 14:56:38 +00:00
Jaeden Amero
f01f3088a4
Merge remote-tracking branch 'origin/pr/2137' into mbedtls-2.16
2019-01-30 14:54:28 +00:00
Jaeden Amero
1892b3b6e2
Merge remote-tracking branch 'origin/pr/2358' into mbedtls-2.16
2019-01-30 14:49:10 +00:00
k-stachowiak
c3bc44d449
Improve wording in the ChangeLog
2019-01-29 13:03:41 +01:00
k-stachowiak
722334278b
Reduce the timing tests complexity
2019-01-29 13:02:19 +01:00
Ron Eldor
da04b3b972
Increase okm_hex buffer to contain null character
...
Add an additional byte for the `okm_hex` buffer, to assure
it is null-terminated in case `okm` is 128 bytes long.
2019-01-28 15:20:10 +02:00