1. 28 2月, 2018 1 次提交
    • D
      Always use adr with __thumb2__. · 8a5d8bc4
      David Benjamin 提交于
      Thumb2 addresses are a bit a mess, depending on whether a label is
      interpreted as a function pointer value (for use with BX and BLX) or as
      a program counter value (for use with PC-relative addressing). Clang's
      integrated assembler mis-assembles this code. See
      https://crbug.com/124610#c54 for details.
      
      Instead, use the ADR pseudo-instruction which has clear semantics and
      should be supported by every assembler that handles the OpenSSL Thumb2
      code. (In other files, the ADR vs SUB conditionals are based on
      __thumb2__ already. For some reason, this one is based on __APPLE__, I'm
      guessing to deal with an older version of clang assembler.)
      
      It's unclear to me which of clang or binutils is "correct" or if this is
      even a well-defined notion beyond "whatever binutils does". But I will
      note that https://github.com/openssl/openssl/pull/4669 suggests binutils
      has also changed behavior around this before.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5431)
      8a5d8bc4
  2. 15 2月, 2018 1 次提交
    • R
      Harmonize the make variables across all known platforms families · 722c9762
      Richard Levitte 提交于
      The make variables LIB_CFLAGS, DSO_CFLAGS and so on were used in
      addition to CFLAGS and so on.  This works without problem on Unix and
      Windows, where options with different purposes (such as -D and -I) can
      appear anywhere on the command line and get accumulated as they come.
      This is not necessarely so on VMS.  For example, macros must all be
      collected and given through one /DEFINE, and the same goes for
      inclusion directories (/INCLUDE).
      
      So, to harmonize all platforms, we repurpose make variables starting
      with LIB_, DSO_ and BIN_ to be all encompassing variables that
      collects the corresponding values from CFLAGS, CPPFLAGS, DEFINES,
      INCLUDES and so on together with possible config target values
      specific for libraries DSOs and programs, and use them instead of the
      general ones everywhere.
      
      This will, for example, allow VMS to use the exact same generators for
      generated files that go through cpp as all other platforms, something
      that has been impossible to do safely before now.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5357)
      722c9762
  3. 28 1月, 2018 1 次提交
  4. 09 1月, 2018 1 次提交
  5. 08 1月, 2018 2 次提交
  6. 13 11月, 2017 1 次提交
  7. 12 11月, 2017 1 次提交
  8. 05 11月, 2017 1 次提交
  9. 30 10月, 2017 1 次提交
  10. 18 10月, 2017 2 次提交
  11. 13 10月, 2017 1 次提交
  12. 25 7月, 2017 1 次提交
  13. 21 7月, 2017 1 次提交
    • A
      x86_64 assembly pack: "optimize" for Knights Landing, add AVX-512 results. · 64d92d74
      Andy Polyakov 提交于
      "Optimize" is in quotes because it's rather a "salvage operation"
      for now. Idea is to identify processor capability flags that
      drive Knights Landing to suboptimial code paths and mask them.
      Two flags were identified, XSAVE and ADCX/ADOX. Former affects
      choice of AES-NI code path specific for Silvermont (Knights Landing
      is of Silvermont "ancestry"). And 64-bit ADCX/ADOX instructions are
      effectively mishandled at decode time. In both cases we are looking
      at ~2x improvement.
      
      AVX-512 results cover even Skylake-X :-)
      
      Hardware used for benchmarking courtesy of Atos, experiments run by
      Romain Dolbeau <romain.dolbeau@atos.net>. Kudos!
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      64d92d74
  14. 04 7月, 2017 1 次提交
  15. 12 5月, 2017 1 次提交
  16. 29 3月, 2017 1 次提交
  17. 27 3月, 2017 1 次提交
    • A
      aes/asm/bsaes-armv7.pl: relax stack alignment requirement. · 0822d41b
      Andy Polyakov 提交于
      Even though Apple refers to Procedure Call Standard for ARM Architecture
      (AAPCS), they apparently adhere to custom version that doesn't follow
      stack alignment constraints in the said standard. [Why or why? If it's
      vendor lock-in thing, then it would be like worst spot ever.] And since
      bsaes-armv7 relied on standard alignment, it became problematic to
      execute the code on iOS.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      0822d41b
  18. 22 3月, 2017 2 次提交
  19. 02 3月, 2017 1 次提交
  20. 28 2月, 2017 1 次提交
    • E
      Clean up references to FIPS · b53338cb
      Emilia Kasper 提交于
      This removes the fips configure option. This option is broken as the
      required FIPS code is not available.
      
      FIPS_mode() and FIPS_mode_set() are retained for compatibility, but
      FIPS_mode() always returns 0, and FIPS_mode_set() can only be used to
      turn FIPS mode off.
      Reviewed-by: NStephen Henson <steve@openssl.org>
      b53338cb
  21. 21 2月, 2017 1 次提交
  22. 16 2月, 2017 1 次提交
  23. 14 2月, 2017 1 次提交
  24. 06 2月, 2017 1 次提交
  25. 19 12月, 2016 1 次提交
  26. 11 11月, 2016 1 次提交
  27. 10 11月, 2016 1 次提交
  28. 24 10月, 2016 1 次提交
  29. 19 10月, 2016 1 次提交
  30. 11 10月, 2016 1 次提交
    • D
      Remove trailing whitespace from some files. · 609b0852
      David Benjamin 提交于
      The prevailing style seems to not have trailing whitespace, but a few
      lines do. This is mostly in the perlasm files, but a few C files got
      them after the reformat. This is the result of:
      
        find . -name '*.pl' | xargs sed -E -i '' -e 's/( |'$'\t'')*$//'
        find . -name '*.c' | xargs sed -E -i '' -e 's/( |'$'\t'')*$//'
        find . -name '*.h' | xargs sed -E -i '' -e 's/( |'$'\t'')*$//'
      
      Then bn_prime.h was excluded since this is a generated file.
      
      Note mkerr.pl has some changes in a heredoc for some help output, but
      other lines there lack trailing whitespace too.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      609b0852
  31. 02 9月, 2016 1 次提交
  32. 16 8月, 2016 1 次提交
  33. 06 8月, 2016 1 次提交
  34. 20 7月, 2016 1 次提交
  35. 17 7月, 2016 3 次提交