1. 26 Sep, 2016 1 commit
    • Andres AG's avatar
      Rename net.{c,h} to net_sockets.{c,h} · 788aa4a8
      Andres AG authored
      The library/net.c and its corresponding include/mbedtls/net.h file are
      renamed to library/net_sockets.c and include/mbedtls/net_sockets.h
      respectively. This is to avoid naming collisions in projects which also
      have files with the common name 'net'.
      788aa4a8
  2. 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
  3. 25 Aug, 2016 1 commit
  4. 23 Jun, 2016 1 commit
  5. 09 Jun, 2016 1 commit
  6. 07 Jun, 2016 2 commits
  7. 27 Apr, 2016 1 commit
  8. 18 Apr, 2016 1 commit
  9. 21 Mar, 2016 1 commit
  10. 18 Mar, 2016 1 commit
  11. 14 Mar, 2016 2 commits
    • Simon Butcher's avatar
      Fixes to style following review · f1547632
      Simon Butcher authored
      Made code spacing consistent with guidelines, and corrected the misnamed test
      steps in basic-build-test.sh
      f1547632
    • SimonB's avatar
      Fix exit code and add a count of the test suites · 5a8afb84
      SimonB authored
      Now counts and displays the number of test suites executed, which can vary
      depending on build configurations.
      All tests are now executed as this is a sample and test program, rather than
      exit on first failure.
      Exit code now restricted to SUCCESS or FAILURE.
      5a8afb84
  12. 07 Sep, 2015 1 commit
  13. 04 Sep, 2015 1 commit
  14. 03 Sep, 2015 1 commit
  15. 31 Aug, 2015 1 commit
  16. 28 Jul, 2015 1 commit
  17. 19 Jul, 2015 1 commit
  18. 06 Jul, 2015 1 commit
  19. 01 Jul, 2015 2 commits
  20. 30 Jun, 2015 3 commits
  21. 26 Jun, 2015 2 commits
    • Manuel Pégourié-Gonnard's avatar
      Run timing selftest on all platforms · 633c6b64
      Manuel Pégourié-Gonnard authored
      Used to fail on our FreeBSD and Windows buildbots. Seems to be working at
      least on my Darwin physical machine and on my Windows VM with MSYS2 now.
      633c6b64
    • Manuel Pégourié-Gonnard's avatar
      Fix snprintf test · 4b00f08e
      Manuel Pégourié-Gonnard authored
      Our Windows implementation based on vsnprintf_s( ..., _TRUNCATE ) sometimes
      writes *two* terminating NULLs. Allow for that, but obviously bytes past the
      end of the buffer mustn't be touched.
      4b00f08e
  22. 25 Jun, 2015 1 commit
  23. 23 Jun, 2015 2 commits
  24. 22 Jun, 2015 1 commit
  25. 18 Jun, 2015 1 commit
  26. 02 Jun, 2015 1 commit
  27. 29 May, 2015 1 commit
  28. 27 May, 2015 1 commit
  29. 26 May, 2015 1 commit
  30. 15 May, 2015 1 commit
  31. 14 May, 2015 1 commit
  32. 11 May, 2015 1 commit