Skip to content
  1. Nov 12, 2018
    • Richard Levitte's avatar
      Fix SipHash init order. · 61e78e7a
      Richard Levitte authored
      
      
      Setting the SipHash hash size and setting its key is done with two
      independent functions...  and yet, the internals depend on both.
      
      Unfortunately, the function to change the size wasn't adapted for the
      possibility that the key was set first, with a different hash size.
      
      This changes the hash setting function to fix the internal values
      (which is easy, fortunately) according to the hash size.
      
      evpmac.txt value for digestsize:8 is also corrected.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/7613)
      
      (cherry picked from commit 425036130dfb3cfbef5937772f7526ce60133264)
      61e78e7a
  2. Nov 10, 2018
  3. Nov 09, 2018
  4. Nov 08, 2018
  5. Nov 07, 2018
  6. Nov 05, 2018
  7. Nov 04, 2018
    • Benjamin Kaduk's avatar
      Restore sensible "sess_accept" counter tracking · 33a37a61
      Benjamin Kaduk authored
      Commit 9ef9088c
      
       switched the SSL/SSL_CTX
      statistics counters to using Thread-Sanitizer-friendly primitives.
      However, it erroneously converted an addition of -1
      (for s->session_ctx->stats.sess_accept) to an addition of +1, since that
      is the only counter API provided by the internal tsan_assist.h header
      until the previous commit.  This means that for each accepted (initial)
      connection, the session_ctx's counter would get doubly incremented, and the
      (switched) ctx's counter would also get incremented.
      
      Restore the counter decrement so that each accepted connection increments
      exactly one counter exactly once (in net effect).
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/7464)
      
      (cherry picked from commit 2aaa0b146b967397a6e61fa8df969e7847f82086)
      33a37a61
    • Benjamin Kaduk's avatar
      Add tsan_decr() API, counterpart of tsan_counter() · a649b52f
      Benjamin Kaduk authored
      
      
      The existing tsan_counter() API increments a reference counter.
      Provide a new API, tsan_decr(), to decrement such a reference counter.
      This can be used, for example, when a reference is added to the session_ctx's
      sess_accept stats but should more properly be tracked in the regular ctx's
      statistics.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/7464)
      
      (cherry picked from commit 95658c32436017aeeef3d8598957071baf6769a9)
      a649b52f
  8. Nov 02, 2018
  9. Nov 01, 2018
  10. Oct 31, 2018
  11. Oct 30, 2018