mbedtls/programs
Hanno Becker d4d60579e4 Address issues found by coverity
1) `mbedtls_rsa_import_raw` used an uninitialized return
   value when it was called without any input parameters.
   While not sensible, this is allowed and should be a
   succeeding no-op.

2) The MPI test for prime generation missed a return value
   check for a call to `mbedtls_mpi_shift_r`. This is neither
   critical nor new but should be fixed.

3) Both the RSA keygeneration example program and the
   RSA test suites contained code initializing an RSA context
   after a potentially failing call to CTR DRBG initialization,
   leaving the corresponding RSA context free call in the
   cleanup section of the respective function orphaned.
   While this defect existed before, Coverity picked up on
   it again because of newly introduced MPI's that were
   also wrongly initialized only after the call to CTR DRBG
   init. The commit fixes both the old and the new issue
   by moving the initializtion of both the RSA context and
   all MPI's prior to the first potentially failing call.
2018-01-10 07:30:47 +00:00
..
aes Correct comment 2017-07-28 22:28:08 +01:00
hash
pkey Address issues found by coverity 2018-01-10 07:30:47 +00:00
random
ssl Merge remote-tracking branch 'upstream-public/pr/1094' into development 2017-11-23 20:02:46 +01:00
test Merge remote-tracking branch 'public/pr/1136' into development 2017-12-26 10:42:20 +01:00
util
x509 Improve output on bad cmd line args in programs/x509/cert_write 2017-10-03 14:56:04 +01:00
.gitignore
CMakeLists.txt
Makefile
wince_main.c