1. 28 Jun, 2018 1 commit
  2. 27 Jun, 2018 3 commits
  3. 25 Jun, 2018 1 commit
    • Manuel Pégourié-Gonnard's avatar
      Fix coverity warnings in benchmark.c · 51d7cfe0
      Manuel Pégourié-Gonnard authored
      Functions time with TIME_AND_TSC() didn't have their return values checked.
      I'm not sure whether Coverity complained about existing uses, but it did about
      new ones, since we consistently check their return values everywhere but here,
      which it rightfully finds suspicious.
      
      So, let's check return values. This probably adds a few cycles to existing
      loop overhead, but on my machine (x86_64) the added overhead is less than the
      random-looking variation between various runs, so it's acceptable.
      
      Some calls had their own particular error checking; remove that in favour of
      the new general solution.
      51d7cfe0
  4. 19 Jun, 2018 3 commits
    • Manuel Pégourié-Gonnard's avatar
      Define specific mode for ChachaPoly · f57bf8b4
      Manuel Pégourié-Gonnard authored
      The TLS layer is checking for mode, such as GCM, CCM, CBC, STREAM. ChachaPoly
      needs to have its own mode, even if it's used just one cipher, in order to
      allow consistent handling of mode in the TLS layer.
      f57bf8b4
    • Manuel Pégourié-Gonnard's avatar
      Adjust to added fields in cipher_base_t · a18034a8
      Manuel Pégourié-Gonnard authored
      This is a follow-up to the previous merge commit: two fields were added in the
      merged development branch
      a18034a8
    • Manuel Pégourié-Gonnard's avatar
      Merge branch 'development' into iotssl-2257-chacha-poly-primitives · 0dadba2b
      Manuel Pégourié-Gonnard authored
      * development: (182 commits)
        Change the library version to 2.11.0
        Fix version in ChangeLog for fix for #552
        Add ChangeLog entry for clang version fix. Issue #1072
        Compilation warning fixes on 32b platfrom with IAR
        Revert "Turn on MBEDTLS_SSL_ASYNC_PRIVATE by default"
        Fix for missing len var when XTS config'd and CTR not
        ssl_server2: handle mbedtls_x509_dn_gets failure
        Fix harmless use of uninitialized memory in ssl_parse_encrypted_pms
        SSL async tests: add a few test cases for error in decrypt
        Fix memory leak in ssl_server2 with SNI + async callback
        SNI + SSL async callback: make all keys async
        ssl_async_resume: free the operation context on error
        ssl_server2: get op_name from context in ssl_async_resume as well
        Clarify "as directed here" in SSL async callback documentation
        SSL async callbacks documentation: clarify resource cleanup
        Async callback: use mbedtls_pk_check_pair to compare keys
        Rename mbedtls_ssl_async_{get,set}_data for clarity
        Fix copypasta in the async callback documentation
        SSL async callback: cert is not always from mbedtls_ssl_conf_own_cert
        ssl_async_set_key: detect if ctx->slots overflows
        ...
      0dadba2b
  5. 18 Jun, 2018 5 commits
  6. 17 Jun, 2018 6 commits
  7. 15 Jun, 2018 7 commits
  8. 14 Jun, 2018 14 commits