75 коммитов (3e0b2ce12b91860b6c97bc02166e7673b390758e)

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