1. 19 6月, 2018 1 次提交
    • S
      Implement coordinate blinding for EC_POINT · f667820c
      Sohaib ul Hassan 提交于
      This commit implements coordinate blinding, i.e., it randomizes the
      representative of an elliptic curve point in its equivalence class, for
      prime curves implemented through EC_GFp_simple_method,
      EC_GFp_mont_method, and EC_GFp_nist_method.
      
      This commit is derived from the patch
      https://marc.info/?l=openssl-dev&m=131194808413635 by Billy Brumley.
      
      Coordinate blinding is a generally useful side-channel countermeasure
      and is (mostly) free. The function itself takes a few field
      multiplicationss, but is usually only necessary at the beginning of a
      scalar multiplication (as implemented in the patch). When used this way,
      it makes the values that variables take (i.e., field elements in an
      algorithm state) unpredictable.
      
      For instance, this mitigates chosen EC point side-channel attacks for
      settings such as ECDH and EC private key decryption, for the
      aforementioned curves.
      
      For EC_METHODs using different coordinate representations this commit
      does nothing, but the corresponding coordinate blinding function can be
      easily added in the future to extend these changes to such curves.
      Co-authored-by: NNicola Tuveri <nic.tuv@gmail.com>
      Co-authored-by: NBilly Brumley <bbrumley@gmail.com>
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/6501)
      f667820c
  2. 25 5月, 2018 1 次提交
  3. 09 5月, 2018 2 次提交
  4. 02 3月, 2018 1 次提交
  5. 09 1月, 2018 1 次提交
  6. 08 1月, 2018 1 次提交
  7. 30 8月, 2017 1 次提交
  8. 20 6月, 2017 1 次提交
  9. 31 5月, 2017 2 次提交
  10. 18 11月, 2016 1 次提交
  11. 29 8月, 2016 2 次提交
  12. 13 8月, 2016 1 次提交
  13. 25 7月, 2016 1 次提交
  14. 18 5月, 2016 1 次提交
  15. 09 3月, 2016 2 次提交
  16. 03 3月, 2016 1 次提交
  17. 02 3月, 2016 1 次提交
  18. 29 2月, 2016 5 次提交
  19. 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
  20. 14 1月, 2016 3 次提交
  21. 16 12月, 2015 1 次提交
  22. 10 12月, 2015 9 次提交