75 Commits (3e0b2ce12b91860b6c97bc02166e7673b390758e)

Autor SHA1 Nachricht Datum
  Rob Sloan b987355a10 Add BN_is_pow2, BN_mod_pow2, and BN_nnmod_pow2. vor 7 Jahren
  David Benjamin d103616db1 bn/asm/x86_64-mont5.pl: fix carry bug in bn_sqr8x_internal. vor 7 Jahren
  David Benjamin 0a211dfe91 Remove BN_FLG_CONSTTIME. vor 7 Jahren
  Rob Sloan 45573cc04d Add Little-endian BIGNUM conversions vor 7 Jahren
  Rob Sloan 2ee1edfb7e Add BN_get_u64 so that Android doesn't have to reach into the BIGNUM structs vor 7 Jahren
  David Benjamin 17cf2cb1d2 Work around language and compiler bug in memcpy, etc. vor 7 Jahren
  Brian Smith 9f05de4ebb Remove the non-no_branch branch of BN_div. vor 8 Jahren
  David Benjamin bd691756f2 Test that BN_mod_sqrt detects quadratic non-residues. vor 8 Jahren
  David Benjamin 55a1eccc0c Don't allow BN_mod_sqrt(0) to return P in tests. vor 8 Jahren
  David Benjamin 4008c7a80d Fix some more negative zeros and add tests for each case. vor 8 Jahren
  David Benjamin a7f56f0bfb Use scopers a little more. vor 8 Jahren
  David Benjamin 0838721264 Fix bn_test under malloc tests. vor 8 Jahren
  David Benjamin 3ba2ae0417 Define __STDC_CONSTANT_MACROS in bn_test.cc. vor 8 Jahren
  David Benjamin 40a63113e4 Add BN_set_u64. vor 8 Jahren
  Matt Braithwaite d17d74d73f Replace Scoped* heap types with bssl::UniquePtr. vor 8 Jahren
  David Benjamin 7c04075617 Rewrite BN_bn2dec. vor 8 Jahren
  Steven Valdez cb96654404 Adding ARRAY_SIZE macro for getting the size of constant arrays. vor 8 Jahren
  David Benjamin d224d52aba Add constants for BN_rand and use them. vor 8 Jahren
  David Benjamin 899b9b19a4 Ensure |BN_div| never gives negative zero in the no_branch code. vor 8 Jahren
  David Benjamin 2b314fa3a9 Tolerate -0 better in BN_bn2{dec,hex} vor 8 Jahren
  David Benjamin ccd511e499 Add a test for BN_cmp_word. vor 8 Jahren
  Brian Smith 286fbf2ce0 Add tests for |BN_mod_inverse| with modulus 1. vor 8 Jahren
  Adam Langley 10f97f3bfc Revert "Move C++ helpers into |bssl| namespace." vor 8 Jahren
  Adam Langley d2b5af56cf Revert scoped_types.h change. vor 8 Jahren
  Adam Langley 8c3c3135a2 Remove scoped_types.h. vor 8 Jahren
  Adam Langley 09feb0f3d9 Move C++ helpers into |bssl| namespace. vor 8 Jahren
  David Benjamin 4748944644 Reorder functions in bn_test. vor 8 Jahren
  David Benjamin ffb7adccc7 Convert BN_mod_sqrt tests to bn_tests.txt. vor 8 Jahren
  David Benjamin 4cb00ba08c Convert test_exp to bn_tests.txt. vor 8 Jahren
  David Benjamin ad6d33c70d Convert test_mod_exp_mont5 test vectors. vor 8 Jahren
  David Benjamin 45a8c8a3c4 Convert test_mod_exp and test_mod_exp_consttime. vor 8 Jahren
  David Benjamin 28a8c2fe25 Fold the rest of test_sqrt into TestSquare. vor 8 Jahren
  David Benjamin 5a13e40ab6 Convert test_mont and test_mod_mul to bn_tests.txt. vor 8 Jahren
  David Benjamin e8317a5530 Add tests for BN_nnmod. vor 8 Jahren
  David Benjamin 7819409e13 Generate more test data in test_mont. vor 8 Jahren
  David Benjamin 56cbbe5b8d Use BN_set_bit in TestLShift1. vor 8 Jahren
  Brian Smith 3d4030b5f7 Test |BN_uadd| and |BN_usub|. vor 8 Jahren
  Brian Smith e4bf8b3e05 Test aliasing in |BN_add| and |BN_sub|. vor 8 Jahren
  Brian Smith fe47ba2fc5 Test |BN_add_word| and |BN_sub_word|. vor 8 Jahren
  Brian Smith b72f66f59c Test |BN_mod_exp_mont| with zero and even modulus too. vor 8 Jahren
  David Benjamin 32a3780bab Move more non-bc tests down. vor 8 Jahren
  David Benjamin dcc5531af7 Move the remaining bad modulus tests out of bc test functions. vor 8 Jahren
  David Benjamin 96f9447e3e Fix naming of non-bc bn_tests. vor 8 Jahren
  David Benjamin 8b66feffa2 Convert test_div, test_mod, and test_div_word to file_test. vor 8 Jahren
  Adam Langley d42e4b2b8f initialise |n| parameter in bn_test.cc to avoid compiler warning. vor 8 Jahren
  David Benjamin cca1c11ae8 Convert test_mul to file_test. vor 8 Jahren
  David Benjamin e1caf3974d Convert test_sqr to file_test. vor 8 Jahren
  David Benjamin 5e9bdc1a77 Convert test_lshift and test_rshift into file_tests. vor 8 Jahren
  David Benjamin 3058103d70 Convert test_lshift1 and test_rshift1 to FileTest. vor 8 Jahren
  David Benjamin 80137ba1d3 Convert test_add and test_sub to file_test. vor 8 Jahren