summaryrefslogtreecommitdiff
path: root/crypto/bn
AgeCommit message (Collapse)AuthorFilesLines
2015-08-31Imported Upstream version 1.0.1pupstream/1.0.1pKyungwook Tak8-10/+47
Change-Id: I297624cdcb5d68a3442cdf4666722e66ce7a264b
2015-03-25Imported Upstream version 1.0.1mupstream/1.0.1mkyungwook tak39-14686/+15447
Change-Id: Ifa60e86d772dade7afe158c8899e6d36c5561bba
2015-03-12Imported Upstream version 1.0.1lupstream/1.0.1lkyungwook tak8-2735/+319
Change-Id: I99680d38528c4117e59bb5377cc54820b22b93a2
2014-10-20crypto/bn/bn_nist.c: work around MSC ARM compiler bug.Andy Polyakov1-3/+3
RT: 3541 Reviewed-by: Emilia Kasper <emilia@openssl.org> (cherry picked from commit 8b07c005fe006044d0e4a795421447deca3c9f2c)
2014-10-20Ensure that x**0 mod 1 = 0.Adam Langley2-2/+52
(cherry picked from commit 2b0180c37fa6ffc48ee40caa831ca398b828e680) Reviewed-by: Ben Laurie <ben@openssl.org>
2014-10-20Add volatile qualifications to two blocks of inline asm to stop GCC fromAdam Langley1-4/+4
eliminating them as dead code. Both volatile and "memory" are used because of some concern that the compiler may still cache values across the asm block without it, and because this was such a painful debugging session that I wanted to ensure that it's never repeated. (cherry picked from commit 7753a3a68431aa81b82beea4c3f5374b41454679) Conflicts: crypto/bn/asm/x86_64-gcc.c Reviewed-by: Rich Salz <rsalz@openssl.org>
2014-10-20Fixed valgrind complaint due to BN_consttime_swap reading uninitialised data.Matt Caswell1-0/+9
This is actually ok for this function, but initialised to zero anyway if PURIFY defined. This does have the impact of masking any *real* unitialised data reads in bn though. Patch based on approach suggested by Rich Salz. PR#3415 (cherry picked from commit 77747e2d9a5573b1dbc15e247ce18c03374c760c)
2014-10-20bn_exp.c: fix x86_64-specific crash with one-word modulus.Andy Polyakov1-1/+1
PR: #3397 (cherry picked from commit eca441b2b4d33d2a18d163ef9b4b3aff14251c73)
2014-10-20Make sure BN_sqr can never return a negative value.Huzaifa Sidhpurwala1-0/+1
PR#3410 (cherry picked from commit e14e764c0d5d469da63d0819c6ffc0e1e9e7f0bb)
2014-06-20Imported Upstream version 1.0.1hupstream/1.0.1hJohn L. Whiteman2-397/+26
2014-04-10Imported Upstream version 1.0.1gupstream/1.0.1gMichael Demeter2-0/+63
2014-01-06Imported Upstream version 1.0.1fupstream/1.0.1fMichael Demeter14-76/+467
2012-11-05Imported Upstream version 1.0.1cupstream/1.0.1cAnas Nashif85-0/+55422