1. 11 7月, 2022 1 次提交
  2. 01 7月, 2022 1 次提交
  3. 23 6月, 2022 1 次提交
  4. 08 3月, 2022 1 次提交
  5. 10 8月, 2021 1 次提交
  6. 31 5月, 2020 1 次提交
  7. 17 3月, 2020 1 次提交
  8. 06 3月, 2020 1 次提交
  9. 27 2月, 2020 1 次提交
  10. 17 2月, 2020 1 次提交
  11. 06 2月, 2020 1 次提交
  12. 17 1月, 2020 1 次提交
  13. 24 12月, 2019 1 次提交
  14. 21 12月, 2019 2 次提交
  15. 12 12月, 2019 1 次提交
  16. 10 9月, 2019 1 次提交
  17. 07 9月, 2019 1 次提交
    • B
      Remove x86/x86_64 BSAES and AES_ASM support · 87bea655
      Bernd Edlinger 提交于
      This leaves VPAES and AESNI support.
      The VPAES performance is comparable but BSAES is not
      completely constant time. There are table lookups
      using secret key data in AES_set_encrypt/decrypt_key
      and in ctr mode short data uses the non-constant
      time AES_encrypt function instead of bit-slicing.
      Furthermore the AES_ASM is by far outperformed
      by recent GCC versions.
      Since BSAES calls back to AES_ASM for short
      data blocks the performance on those is also
      worse than the pure software implementaion.
      
      Fixes: #9640
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9675)
      87bea655
  18. 01 8月, 2019 1 次提交
  19. 28 5月, 2019 1 次提交
  20. 18 3月, 2019 1 次提交
    • D
      PPC assembly pack: fix copy-paste error in CTR mode · 5dcfd6c5
      Daniel Axtens 提交于
      There are two copy-paste errors in handling CTR mode. When dealing
      with a 2 or 3 block tail, the code branches to the CBC decryption exit
      path, rather than to the CTR exit path.
      
      This can lead to data corruption: in the Linux kernel we have a copy
      of this file, and the bug leads to corruption of the IV, which leads
      to data corruption when we call the encryption function again later to
      encrypt subsequent blocks.
      
      Originally reported to the Linux kernel by Ondrej Mosnáček <omosnacek@gmail.com>
      
      CLA: trivial
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/8510)
      
      (cherry picked from commit f643deac417a3ccb27f77670bb2b136de49079d9)
      5dcfd6c5
  21. 26 2月, 2019 1 次提交
  22. 18 2月, 2019 1 次提交
    • D
      Fix some CFI issues in x86_64 assembly · 2086edb7
      David Benjamin 提交于
      The add/double shortcut in ecp_nistz256-x86_64.pl left one instruction
      point that did not unwind, and the "slow" path in AES_cbc_encrypt was
      not annotated correctly. For the latter, add
      .cfi_{remember,restore}_state support to perlasm.
      
      Next, fill in a bunch of functions that are missing no-op .cfi_startproc
      and .cfi_endproc blocks. libunwind cannot unwind those stack frames
      otherwise.
      
      Finally, work around a bug in libunwind by not encoding rflags. (rflags
      isn't a callee-saved register, so there's not much need to annotate it
      anyway.)
      
      These were found as part of ABI testing work in BoringSSL.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      GH: #8109
      (cherry picked from commit c0e8e5007ba5234d4d448e82a1567e0c4467e629)
      2086edb7
  23. 13 2月, 2019 1 次提交
  24. 11 9月, 2018 1 次提交
  25. 25 6月, 2018 1 次提交
  26. 04 6月, 2018 1 次提交
  27. 29 5月, 2018 1 次提交
  28. 10 5月, 2018 1 次提交
  29. 20 3月, 2018 1 次提交
  30. 19 3月, 2018 1 次提交
  31. 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
  32. 09 1月, 2018 1 次提交
  33. 08 1月, 2018 2 次提交
  34. 13 11月, 2017 1 次提交
  35. 12 11月, 2017 1 次提交
  36. 05 11月, 2017 1 次提交
  37. 30 10月, 2017 1 次提交
  38. 18 10月, 2017 1 次提交