1. 26 Sep, 2016 4 commits
  2. 16 Sep, 2016 2 commits
    • Andres AG's avatar
      Add missing dependency to check in Makefile · c49b808a
      Andres AG authored
      The main makefile check target does not depend on tests. When running
      make with the -j option it could happen that the tests are build twice
      and concurrently, which causes errors.
      c49b808a
    • Andres AG's avatar
      Allow the entry_name size to be set in config.h · f9113194
      Andres AG authored
      Allow the size of the entry_name character array in x509_crt.c to be
      configurable through a macro in config.h. entry_name holds a
      path/filename string. The macro introduced in
      MBEDTLS_X509_MAX_FILE_PATH_LEN.
      f9113194
  3. 15 Sep, 2016 9 commits
  4. 13 Sep, 2016 1 commit
    • Andres Amaya Garcia's avatar
      Documentation and entropy self test changes (#610) · a928e672
      Andres Amaya Garcia authored
      Ensure that the entropy self test always fails whenever
      MBEDTLS_TEST_NULL_ENTROPY is defined. This is because the option is
      meant to be for testing and development purposes rather than production
      quality software. Also, this patch enhances the documentation for
      mbedtls_entropy_source_self_test() and mbedtls_entropy_self_test().
      a928e672
  5. 07 Sep, 2016 1 commit
  6. 06 Sep, 2016 3 commits
    • Simon Butcher's avatar
      Update to README.md · 741f230e
      Simon Butcher authored
      Update to contribution guidelines, some fixes in the language, minor
      refinements and corrections.
      741f230e
    • Andres AG's avatar
      Allow cmake 'out-of-source' builds · dc192215
      Andres AG authored
      Allow mbed TLS to be build in a subdirectory. Also add a test in
      all.sh
      dc192215
    • Andres Amaya Garcia's avatar
      Fix footprint.sh call to makefile (#600) · 9a5398f7
      Andres Amaya Garcia authored
      Ideally, Makefile targets should be called irrespectively of their
      execution order. In this sense, `clean` and `lib` should not be
      passed both as target command line arguments in the same make
      invocation. This is because out-of-order execution could cause a
      failure. This change ensures that `clean` and `lib` are called in
      separate executions of make in scripts/footprint.sh
      9a5398f7
  7. 05 Sep, 2016 2 commits
    • Simon Butcher's avatar
      Suppress shell errors in output_env.sh · 3ac07678
      Simon Butcher authored
      When the output_env.sh script is executed, if any application wasn't found on
      the path by hash, and error was being output, which as an error looked like
      the script wasn't working.
      
      This change redirects the output to stderr from hash to /dev/null to suppress
      the error.
      
      Also fixes a formatting error.
      3ac07678
    • Simon Butcher's avatar
      Remove references to PolarSSL in compat.sh · ac22d111
      Simon Butcher authored
      Removed references to PolarSSL for mbed TLS for clarity.
      ac22d111
  8. 04 Sep, 2016 12 commits
  9. 03 Sep, 2016 1 commit
    • Janos Follath's avatar
      ECJPAKE: Fix intermittently failing tests · 74537a69
      Janos Follath authored
      In some tests in ssl-opt.sh the client finishes sooner and the server
      gets killed before it could reach certain errors. Consequently the
      the script doesn't find the error it is looking for and the test fails.
      
      To resolve this issue, we introduce a per-test option to wait after the
      client finishes.
      74537a69
  10. 02 Sep, 2016 3 commits
  11. 30 Aug, 2016 2 commits
    • Andres AG's avatar
      Make entropy bias self test poll multiple times · e7723ec2
      Andres AG authored
      Instead of polling the hardware entropy source a single time and
      comparing the output with itself, the source is polled at least twice
      and make sure that the separate outputs are different.
      e7723ec2
    • Andres AG's avatar
      Add a new self test to entropy module · b34e42e6
      Andres AG authored
      The self test is a quick way to check at startup whether the entropy
      sources are functioning correctly. The self test only polls 8 bytes
      from the default entropy source and performs the following checks:
      
      - The bytes are not all 0x00 or 0xFF.
      - The hardware does not return an error when polled.
      - The entropy does not provide data in a patter. Only check pattern
        at byte, word and long word sizes.
      b34e42e6