138 Commits (4b0d0e4c5ef19055b3ff17ed3d760f9b10d76641)

Autor SHA1 Mensaje Fecha
  David Benjamin 54091230cd Use C99 for size_t loops. hace 8 años
  Matt Braithwaite d17d74d73f Replace Scoped* heap types with bssl::UniquePtr. hace 8 años
  David Benjamin 5a91503826 Add various 1.1.0 accessors. hace 8 años
  Brian Smith 2a389ace62 Clarify signed/unsigned math in RSA_padding_add_PKCS1_PSS_mgf1. hace 8 años
  Brian Smith 8585701b2e Clarify checking of emLen in RSA_padding_add_PKCS1_PSS_mgf1. hace 8 años
  Brian Smith 783eaad039 Put |sLen| logic in one place in RSA_padding_add_PKCS1_PSS_mgf1. hace 8 años
  David Benjamin 9305a13252 Tidy up PKCS1_MGF1. hace 8 años
  Brian Smith 7fcbfdbdf3 Calculate inverse in |BN_MONT_CTX_set| in constant time w.r.t. modulus. hace 8 años
  Brian Smith ec3cb3adbc Add |BN_mod_inverse_blinded| and use it in RSA blinding. hace 8 años
  Brian Smith 4edca0b308 Add BN_rand_range_ex and use internally. hace 8 años
  Brian Smith 7241ca5ce4 Avoid one |BN_mod_inverse| in |RSA_check_key|. hace 8 años
  Matt Braithwaite 1c256544dd RSA_marshal_private_key: add missing CBB_flush() hace 8 años
  Adam Langley 10f97f3bfc Revert "Move C++ helpers into |bssl| namespace." hace 8 años
  Adam Langley d2b5af56cf Revert scoped_types.h change. hace 8 años
  Adam Langley 8c3c3135a2 Remove scoped_types.h. hace 8 años
  Adam Langley 09feb0f3d9 Move C++ helpers into |bssl| namespace. hace 8 años
  David Benjamin 29270dea85 Split unlock functions into read/write variants. hace 8 años
  Brian Smith 598e55a795 Do RSA blinding unless |e| is NULL and specifically requested not to. hace 8 años
  Brian Smith 86080c336f Verify RSA private key operation regardless of whether CRT is used. hace 8 años
  Brian Smith 86361a3910 Require the public exponent to be available in RSA blinding. hace 8 años
  Brian Smith d035730ac7 Make return value of |BN_MONT_CTX_set_locked| int. hace 8 años
  Brian Smith 51b0d5b1e8 Do not use the CRT when |rsa->e == NULL|. hace 8 años
  Brian Smith 69f0532c85 Use |memcmp| instead of |CRYPTO_memcmp| in |RSA_verify|. hace 8 años
  Brian Smith 2a92031bb4 Clarify |RSA_verify_raw| error handling & cleanup. hace 8 años
  Brian Smith 9902262af6 Remove redundant check of |sig_len| in |RSA_verify|. hace 8 años
  Brian Smith c0b196d4eb Drop support for engines-provided signature verification. hace 8 años
  David Benjamin 981936791e Remove some easy obj.h dependencies. hace 8 años
  Brian Smith d879e29936 Further optimize Montgomery math in RSA blinding. hace 8 años
  Brian Smith f08c1c6895 Drop support for custom |mod_exp| hooks in |RSA_METHOD|. hace 8 años
  Brian Smith 3426d10119 Convert RSA blinding to use Montgomery multiplication. hace 8 años
  David Benjamin 2aca226412 Fix typo in comment. hace 8 años
  David Benjamin db50299b24 Add tests for RSA objects with only n and d. hace 8 años
  Brian Smith cbf56a5683 Clarify lifecycle of |BN_BLINDING|. hace 8 años
  Brian Smith 24493a4ff4 Always cache Montgomery contexts in RSA. hace 8 años
  Brian Smith 95b9769340 Fix error handling in |bn_blinding_update|. hace 8 años
  Brian Smith 7cf6085b00 Check for |BN_CTX_new| failure in |mod_exp|. hace 8 años
  Piotr Sikora 9bb8ba6ba1 Make local functions static. hace 8 años
  Brian Smith 9aa1562843 Remove unnecessary type casts in crypto/rsa. hace 8 años
  David Benjamin a2f2bc3a40 Align with upstream's error strings, take two. hace 8 años
  David Benjamin cfa9de85a3 Revert "Revert "Reduce maximum RSA public exponent size to 33 bits."" hace 8 años
  David Benjamin fb8e678897 Match upstream's error codes for the old sigalg code. hace 8 años
  David Benjamin ba70118d8e Revert "Reduce maximum RSA public exponent size to 33 bits." hace 8 años
  Brian Smith 617804adc5 Always use |BN_mod_exp_mont|/|BN_mod_exp_mont_consttime| in RSA. hace 8 años
  Emily Stark 1b0c438e1a Fix i2d_RSAPrivateKey, i2d_RSAPublicKey memory leaks hace 8 años
  Brian Smith b944882f26 Reduce maximum RSA public exponent size to 33 bits. hace 8 años
  David Benjamin 17727c6843 Move all signature algorithm code to crypto/x509. hace 8 años
  David Benjamin d3a49953d8 Add missing " in comment. hace 8 años
  David Benjamin f4ef9b517e otherPrimeInfos is not optional in version 1 RSAPrivateKeys. hace 8 años
  David Benjamin bd42603943 Add a convenience function for i2d compatibility wrappers. hace 8 años
  Brian Smith 894a47df24 Clarify some confusing casts involving |size_t|. hace 8 años