1. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  2. 01 5月, 2015 3 次提交
  3. 29 4月, 2015 1 次提交
  4. 28 4月, 2015 3 次提交
  5. 27 4月, 2015 2 次提交
  6. 24 4月, 2015 2 次提交
  7. 12 4月, 2015 1 次提交
    • R
      free NULL cleanup 9 · e0e920b1
      Rich Salz 提交于
      Ongoing work to skip NULL check before calling free routine.  This gets:
          ecp_nistz256_pre_comp_free nistp224_pre_comp_free nistp256_pre_comp_free
          nistp521_pre_comp_free PKCS7_free PKCS7_RECIP_INFO_free
          PKCS7_SIGNER_INFO_free sk_PKCS7_pop_free PKCS8_PRIV_KEY_INFO_free
          PKCS12_free PKCS12_SAFEBAG_free PKCS12_free sk_PKCS12_SAFEBAG_pop_free
          SSL_CONF_CTX_free SSL_CTX_free SSL_SESSION_free SSL_free ssl_cert_free
          ssl_sess_cert_free
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      e0e920b1
  8. 26 3月, 2015 1 次提交
  9. 11 2月, 2015 1 次提交
  10. 29 1月, 2015 1 次提交
  11. 22 1月, 2015 2 次提交
  12. 09 12月, 2014 1 次提交
  13. 23 10月, 2014 1 次提交
    • A
      ecp_nistz256 update. · 3ff08e1d
      Andy Polyakov 提交于
      Facilitate switch to custom scatter-gather routines. This modification
      does not change algorithms, only makes it possible to implement
      alternative. This is achieved by a) moving precompute table to assembly
      (perlasm parses ecp_nistz256_table.c and is free to rearrange data to
      match gathering algorithm); b) adhering to explicit scatter subroutine
      (which for now is simply a memcpy). First implementations that will use
      this option are 32-bit assembly implementations, ARMv4 and x86, where
      equivalent of current read-whole-table-select-single-value algorithm
      is too time-consuming. [On side note, switching to scatter-gather on
      x86_64 would allow to improve server-side ECDSA performance by ~5%].
      Reviewed-by: NBodo Moeller <bodo@openssl.org>
      3ff08e1d
  14. 21 9月, 2014 1 次提交
  15. 20 9月, 2014 1 次提交
  16. 12 9月, 2014 1 次提交