1. 30 Aug, 2018 1 commit
  2. 28 Aug, 2018 4 commits
  3. 24 Aug, 2018 1 commit
  4. 23 Aug, 2018 1 commit
  5. 22 Aug, 2018 1 commit
  6. 18 Aug, 2018 1 commit
  7. 17 Aug, 2018 1 commit
  8. 14 Aug, 2018 4 commits
  9. 13 Aug, 2018 1 commit
  10. 11 Aug, 2018 1 commit
  11. 10 Aug, 2018 2 commits
  12. 07 Aug, 2018 4 commits
  13. 06 Aug, 2018 1 commit
  14. 05 Aug, 2018 1 commit
  15. 03 Aug, 2018 3 commits
  16. 01 Aug, 2018 1 commit
  17. 31 Jul, 2018 2 commits
  18. 29 Jul, 2018 3 commits
  19. 27 Jul, 2018 5 commits
  20. 26 Jul, 2018 2 commits
    • Andy Polyakov's avatar
      bn/bn_{mont|exp}.c: switch to zero-padded intermediate vectors. · 2f19065b
      Andy Polyakov authored
      
      
      Note that exported functions maintain original behaviour, so that
      external callers won't observe difference. While internally we can
      now perform Montogomery multiplication on fixed-length vectors, fixed
      at modulus size. The new functions, bn_to_mont_fixed_top and
      bn_mul_mont_fixed_top, are declared in bn_int.h, because one can use
      them even outside bn, e.g. in RSA, DSA, ECDSA...
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/6707)
      
      (cherry picked from commit 71883868)
      
      Resolved conflicts:
      	crypto/bn/bn_exp.c
      	crypto/bn/bn_mont.c
      	crypto/include/internal/bn_int.h
      2f19065b
    • Andy Polyakov's avatar
      bn/bn_lib.c: add BN_FLG_FIXED_TOP flag. · b7862891
      Andy Polyakov authored
      
      
      The new flag marks vectors that were not treated with bn_correct_top,
      in other words such vectors are permitted to be zero padded. For now
      it's BN_DEBUG-only flag, as initial use case for zero-padded vectors
      would be controlled Montgomery multiplication/exponentiation, not
      general purpose. For general purpose use another type might be more
      appropriate. Advantage of this suggestion is that it's possible to
      back-port it...
      
      bn/bn_div.c: fix memory sanitizer problem.
      bn/bn_sqr.c: harmonize with BN_mul.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/6707)
      
      (cherry picked from commit 305b68f1)
      
      Resolved conflicts:
      	crypto/bn/bn_lcl.h
      b7862891