Skip to content
  1. Jul 09, 2018
  2. Jul 08, 2018
  3. Jul 07, 2018
  4. Jul 06, 2018
  5. Jul 05, 2018
  6. Jul 04, 2018
  7. Jul 03, 2018
  8. Jul 02, 2018
  9. Jul 01, 2018
  10. Jun 29, 2018
    • Andy Polyakov's avatar
      evp/e_chacha20_poly1305.c: improve performance for short TLS records. · a091e212
      Andy Polyakov authored
      
      
      Inputs not longer than 64 bytes are processed ~10% faster, longer
      lengths not divisble by 64, e.g. 255, up to ~20%. Unfortunately it's
      impossible to measure with apps/speed.c, -aead benchmarks TLS-like
      call sequence, but not exact. It took specially crafted code path...
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/6597)
      a091e212
    • Billy Brumley's avatar
      More EVP ECC testing: positive and negative · 249330de
      Billy Brumley authored
      
      
      1. For every named curve, two "golden" keypair positive tests.
      2. Also two "golden" stock ECDH positive tests.
      3. For named curves with non-trivial cofactors, additionally two "golden"
         ECC CDH positive tests.
      4. For named curves with non-trivial cofactors, additionally two negative
         tests.
      
      There is some overlap with existing EVP tests, especially for the NIST
      curves (for example, positive testing ECC CDH KATs for NIST curves).
      
      "Golden" here means all the values are independent from OpenSSL's ECC
      code. I used sage to calculate them. What comes from OpenSSL is:
      
      1. The OIDs (parsed by tooling)
      2. The curve parameters (parsing ecparam output with tooling)
      
      The values inside the PEMs (private keys, public keys) and shared keys
      are from sage. The PEMs themselves are the output of asn1parse, with
      input taken from sage.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/6608)
      249330de