1. 01 2月, 2016 5 次提交
  2. 31 1月, 2016 5 次提交
  3. 29 1月, 2016 3 次提交
  4. 28 1月, 2016 5 次提交
    • M
      Prevent small subgroup attacks on DH/DHE · b128abc3
      Matt Caswell 提交于
      Historically OpenSSL only ever generated DH parameters based on "safe"
      primes. More recently (in version 1.0.2) support was provided for
      generating X9.42 style parameter files such as those required for RFC
      5114 support. The primes used in such files may not be "safe". Where an
      application is using DH configured with parameters based on primes that
      are not "safe" then an attacker could use this fact to find a peer's
      private DH exponent. This attack requires that the attacker complete
      multiple handshakes in which the peer uses the same DH exponent.
      
      A simple mitigation is to ensure that y^q (mod p) == 1
      
      CVE-2016-0701
      
      Issue reported by Antonio Sanso.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      b128abc3
    • R
      Fix typo in md2.h · 3444c36a
      Rich Salz 提交于
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      3444c36a
    • R
      Add CRYPTO_secure_zalloc · 3538c7da
      Rich Salz 提交于
      Also turn B<foo> into foo() in the pod page.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      3538c7da
    • R
      Remove outdated legacy crypto options · 3e9e810f
      Rich Salz 提交于
      Many options for supporting optimizations for legacy crypto on legacy
      platforms have been removed.  This simplifies the source code and
      does not really penalize anyone.
              DES_PTR (always on)
              DES_RISC1, DES_RISC2 (always off)
              DES_INT (always 'unsigned int')
              DES_UNROLL (always on)
              BF_PTR (always on) BF_PTR2 (removed)
              MD2_CHAR, MD2_LONG (always 'unsigned char')
              IDEA_SHORT, IDEA_LONG (always 'unsigned int')
              RC2_SHORT, RC2_LONG (always 'unsigned int')
              RC4_LONG (only int and char (for assembler) are supported)
              RC4_CHUNK (always long), RC_CHUNK_LL (removed)
              RC4_INDEX (always on)
      And also make D_ENCRYPT macro more clear (@appro)
      
      This is done in consultation with Andy.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      3e9e810f
    • R
      Complete the removal of /* foo.c */ comments · d20a161f
      Richard Levitte 提交于
      Some files that are automatically generated still had those comments
      added by the generating scripts.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      d20a161f
  5. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  6. 26 1月, 2016 2 次提交
    • M
      Add SSL_up_ref() and SSL_CTX_up_ref() · a18a31e4
      Matt Caswell 提交于
      The SSL and SSL_CTX structures are reference counted. However since libssl
      was made opaque there is no way for users of the library to manipulate the
      reference counts. This adds functions to enable that.
      Reviewed-by: NStephen Henson <steve@openssl.org>
      a18a31e4
    • R
      Generate warning text · 9ab6fc59
      Richard Levitte 提交于
      Now that we're using templates, we should warn people not to edit the
      resulting file.  We do it through util/dofile.pl, which is enhanced
      with an option to tell what file it was called from.  We also change
      the calls so the template files are on the command line instead of
      being redirected through standard input.  That way, we can display
      something like this (example taken from include/openssl/opensslconf.h):
      
          /* WARNING: do not edit! */
          /* Generated by Configure from include/openssl/opensslconf.h.in */
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9ab6fc59
  7. 25 1月, 2016 2 次提交
  8. 23 1月, 2016 1 次提交
  9. 20 1月, 2016 4 次提交
  10. 19 1月, 2016 1 次提交
  11. 18 1月, 2016 2 次提交
  12. 17 1月, 2016 2 次提交
  13. 15 1月, 2016 3 次提交
  14. 14 1月, 2016 4 次提交