1. 19 Dec, 2018 1 commit
    • Gilles Peskine's avatar
      PK parse/write: support keylen=0 correctly · 159171b7
      Gilles Peskine authored
      A 0-length buffer for the key is a legitimate edge case. Ensure that
      it works, even with buf=NULL. Document the key and keylen parameters.
      
      There are already test cases for parsing an empty buffer. A subsequent
      commit will add tests for writing to an empty buffer.
      159171b7
  2. 18 Dec, 2018 1 commit
    • Gilles Peskine's avatar
      Implement parameter validation in pk, pkparse and pkwrite · e97dc60b
      Gilles Peskine authored
      Add checks for null pointers under MBEDTLS_CHECK_PARAMS.
      
      In functions that perform operations with a context, only check if the
      context pointer is non-null under MBEDTLS_CHECK_PARAMS. In the default
      configuration, unconditionally dereference the context pointer.
      
      In functions that query a context, support NULL as a
      pointer-to-context argument, and return the same value as for a
      context which has been initialized but not set up.
      e97dc60b
  3. 23 Aug, 2017 3 commits
  4. 21 Oct, 2015 1 commit
  5. 04 Sep, 2015 1 commit
  6. 28 Jul, 2015 1 commit
  7. 26 May, 2015 1 commit
  8. 08 Apr, 2015 1 commit
  9. 10 Mar, 2015 1 commit
  10. 06 Mar, 2015 1 commit
  11. 10 Feb, 2015 1 commit
  12. 28 Jan, 2015 1 commit
  13. 23 Jan, 2015 4 commits
  14. 22 Jan, 2015 1 commit
  15. 14 Aug, 2014 1 commit
  16. 01 May, 2014 2 commits
  17. 30 Apr, 2014 1 commit
  18. 06 Feb, 2014 1 commit
  19. 14 Oct, 2013 1 commit
  20. 11 Oct, 2013 1 commit
  21. 16 Sep, 2013 1 commit
  22. 15 Sep, 2013 3 commits