1. 20 Apr, 2021 1 commit
  2. 16 Mar, 2021 1 commit
  3. 25 Jan, 2021 1 commit
  4. 10 Nov, 2020 1 commit
  5. 26 Oct, 2020 1 commit
  6. 15 Sep, 2020 1 commit
  7. 11 Sep, 2020 1 commit
  8. 02 Sep, 2020 1 commit
  9. 03 Jul, 2020 1 commit
  10. 30 May, 2020 3 commits
  11. 07 May, 2020 2 commits
  12. 07 Feb, 2020 1 commit
  13. 05 Nov, 2019 1 commit
  14. 23 Oct, 2019 1 commit
  15. 14 Oct, 2019 1 commit
  16. 10 Sep, 2019 2 commits
  17. 28 Aug, 2019 2 commits
  18. 08 Jun, 2019 1 commit
  19. 07 Jun, 2019 2 commits
    • Paul Sokolovsky's avatar
      ext: mbedtls: Enable easy integration with POSIX API · 73bb8dd3
      Paul Sokolovsky authored
      If CONFIG_POSIX_API is defined, automatically use time() function.
      The alternative to that is to explicitly configure mbedTLS' timing
      source via API, as required for "raw code", but if user enables
      POSIX API, we as well might use existing mbedTLS integration.
      Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
    • Paul Sokolovsky's avatar
      ext: mbedtls: Don't define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS · 55cde43d
      Paul Sokolovsky authored
      That means that when mbedTLS will need functions like snprintf(),
      printf(), a few others, they will be used from libc, as done
      normally by most of software. Note that mentioned functions
      aren't normally used on code paths doing TLS communication per se.
      Instead, they are used by debug logging, additional "print info"
      style functions, etc.
      Before, when MBEDTLS_PLATFORM_NO_STD_FUNCTIONS was defined, those
      functions were stubbed out, so silently didn't work as expected
      (a specific symptom seen was that some debug messages were printed
      as garbage, because an buffer on stack was passed to dummy snprintf
      stub, which didn't do anything to it, and its uninitialized contents
      were printed afterwards. Instead, the expectation was that an
      application would call a "setter" function to set snprintf, etc.
      implementations as provided by application itself.
      For Zephyr, we clearly don't need to burden applications with such
      setup, instead Zephyr, as an OS, provides integrated environment
      were matters like that "just work". So, we just switch to libc-based
      functions. If there ever will be usecases for
      MBEDTLS_PLATFORM_NO_STD_FUNCTIONS, it can be made configurable later.
      Fixes: #16303
      Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
  20. 10 May, 2019 2 commits
  21. 13 Mar, 2019 1 commit
  22. 05 Mar, 2019 2 commits
  23. 08 Feb, 2019 1 commit
  24. 01 Feb, 2019 1 commit
  25. 23 Jan, 2019 1 commit
  26. 22 Jan, 2019 1 commit
  27. 30 Dec, 2018 1 commit
    • Aurelien Jarno's avatar
      ext: lib: crypto: Update mbedTLS 2.16.0 · d6892d17
      Aurelien Jarno authored
      Since 2.14.1 release mbedTLS has a few API changes and deprecation which
      do not affect the Zephyr code and a new MBEDTLS_CHECK_PARAMS option that
      enables validation of parameters in the API. A list with all changes can
      be found in:
      Note that this version will become the basis of the next LTS (Long Term
      Support) branch that will be maintained for the next 3 years until at
      least the end of 2021.
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
  28. 28 Dec, 2018 1 commit
    • Aurelien Jarno's avatar
      ext: lib: crypto: Update mbedTLS 2.14.1 · 90f34f28
      Aurelien Jarno authored
      Since 2.12.0 release mbedTLS has an important security fix concerning
      RSA PKCS#1 v1.5 decryption (CVE-2018-19608). Besides that it has very
      few API changes, and the usual set of functional improvements, security
      fixes and bug fixes. A list with all changes can be found in:
      It should also be noted that the small change concerning _POSIX_C_SOURCE
      applied to x509.c has been moved to platform_util.c, this time with a
      proper define guard.
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
  29. 17 Dec, 2018 2 commits
  30. 07 Sep, 2018 1 commit
  31. 15 Aug, 2018 1 commit
    • Ulf Magnusson's avatar
      Kconfig: Use a short, consistent style for prompts · 4f248260
      Ulf Magnusson authored
      Consistently use
          config FOO
                  bool/int/hex/string "Prompt text"
      instead of
          config FOO
                  prompt "Prompt text"
      (...and a bunch of other variations that e.g. swapped the order of the
      type and the 'prompt', or put other properties between them).
      The shorthand is fully equivalent to using 'prompt'. It saves lines and
      avoids tricking people into thinking there is some semantic difference.
      Most of the grunt work was done by a modified version of
      how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
      of the rarer variations had to be converted manually.
      Signed-off-by: default avatarUlf Magnusson <Ulf.Magnusson@nordicsemi.no>