Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Revert #1798 | Jack Lloyd | 2019-01-05 | 1 | -4/+14 | |
| | | | | | | | | | | | | | | | | The problem in #602 is not the use of mmap but the use of mmap with MAP_SHARED. Using MAP_PRIVATE creates a CoW mapping just like malloc or posix_memalign would. I'm not sure why it took me so long to figure this out ... | |||||
| * | Add a fast range check and inline some things | Jack Lloyd | 2019-01-05 | 2 | -78/+89 | |
| | | ||||||
| * | Split up allocations into pages | Jack Lloyd | 2019-01-05 | 7 | -172/+194 | |
| | | ||||||
| * | Update fuzzer for new Memory_Pool behavior and constructor | Jack Lloyd | 2019-01-04 | 1 | -7/+26 | |
| | | ||||||
| * | New Memory_Pool implementation | Jack Lloyd | 2019-01-04 | 4 | -138/+335 | |
|/ | | | | | Quite a bit faster than the old version, and with better properties wrt alignment | |||||
* | Merge GH #1807 Use sccache for MSVC builds | Jack Lloyd | 2019-01-04 | 4 | -32/+36 | |
|\ | ||||||
| * | Use sccache for MSVC builds | Jack Lloyd | 2019-01-04 | 4 | -32/+36 | |
| | | ||||||
* | | Tick version to 2.10.0 | Jack Lloyd | 2019-01-04 | 2 | -1/+4 | |
| | | ||||||
* | | Make cpu cycle test a little more lax | Jack Lloyd | 2019-01-04 | 1 | -5/+10 | |
| | | | | | | | | | | It occasionally fails on AppVeyor, probably due to QueryPerformanceCounter using something other than the hardware cycle counter because <reasons>. | |||||
* | | Add todo | Jack Lloyd | 2019-01-04 | 1 | -0/+1 | |
| | | ||||||
* | | Clarify statements re support | Jack Lloyd | 2019-01-04 | 1 | -9/+10 | |
| | | ||||||
* | | Better output when we can't identify the compiler by macro | Jack Lloyd | 2019-01-04 | 1 | -0/+6 | |
|/ | ||||||
* | Update for 2.9.0 release2.9.0 | Jack Lloyd | 2019-01-04 | 2 | -4/+4 | |
| | ||||||
* | Split up these blocks in appveyor.yml [ci skip] | Jack Lloyd | 2019-01-03 | 1 | -1/+3 | |
| | ||||||
* | Some cleanups in McEliece keygen | Jack Lloyd | 2019-01-03 | 1 | -15/+17 | |
| | | | | Lots more of this needed in here | |||||
* | Add cast for MSVC | Jack Lloyd | 2019-01-03 | 1 | -1/+4 | |
| | ||||||
* | Use memcpy instead of strcpy here to shut up MSVC warning | Jack Lloyd | 2019-01-03 | 1 | -1/+1 | |
| | | | | Here the caller is assumed to have provided a buffer of sufficient size. | |||||
* | Casts to avoid MSVC warnings | Jack Lloyd | 2019-01-03 | 1 | -1/+9 | |
| | ||||||
* | Fix bogus macro check that disabled a test | Jack Lloyd | 2019-01-03 | 1 | -1/+1 | |
| | ||||||
* | Remove VC2013 support from AppVeyor script | Jack Lloyd | 2019-01-03 | 1 | -1/+0 | |
| | ||||||
* | Merge GH #1804 Add VC2019 preview build to CI | Jack Lloyd | 2019-01-03 | 5 | -3/+10 | |
|\ | ||||||
| * | Add VC 2019 preview build | Jack Lloyd | 2019-01-02 | 5 | -3/+10 | |
|/ | ||||||
* | Update license years | Jack Lloyd | 2019-01-01 | 1 | -1/+1 | |
| | ||||||
* | Merge GH #1803 XLC fixes | Jack Lloyd | 2019-01-01 | 11 | -25/+55 | |
|\ | ||||||
| * | Fix use of macro | Jack Lloyd | 2018-12-31 | 1 | -1/+1 | |
| | | | | | | | | Assumed to be 0/1 | |||||
| * | Clean up define for inline asm | Jack Lloyd | 2018-12-31 | 2 | -3/+7 | |
| | | | | | | | | Also fix xlc macro | |||||
| * | Update support doc text | Jack Lloyd | 2018-12-31 | 1 | -7/+7 | |
| | | ||||||
| * | Use __builtin_bswapN builtins on XLC | Jack Lloyd | 2018-12-31 | 1 | -4/+4 | |
| | | | | | | | | Recent XLC is based on clang and has these | |||||
| * | Fixes for XLC | Jack Lloyd | 2018-12-31 | 3 | -4/+4 | |
| | | | | | | | | | | | | XLC 16 changed which macros are used to identify it. Older versions of XLC didn't work correctly anyway (#1581 #1509 etc), so just drop support for recognizing those versions. | |||||
| * | Fix generic 32-bit bswap | Jack Lloyd | 2018-12-31 | 1 | -2/+6 | |
| | | | | | | | | Was broken by removing inclusion of rotate header | |||||
| * | Add ability to skip a few named tests | Jack Lloyd | 2018-12-31 | 3 | -4/+26 | |
| | | | | | | | | This is sometimes useful when debugging | |||||
* | | Fix MSVC warnings | Jack Lloyd | 2018-12-31 | 2 | -2/+2 | |
| | | ||||||
* | | Use Test::data_file in these tests | Jack Lloyd | 2018-12-31 | 1 | -2/+2 | |
|/ | ||||||
* | Merge GH #1801 Recognize powerpc64le | Jack Lloyd | 2018-12-31 | 1 | -0/+1 | |
|\ | ||||||
| * | Add powerpc64le as an alias for ppc64 | Shawn Anastasio | 2018-12-30 | 1 | -0/+1 | |
|/ | | | | Add powerpc64le as an alias for the ppc64 build target. | |||||
* | Fix Memory_Pool fuzzer [ci skip] | Jack Lloyd | 2018-12-29 | 1 | -1/+1 | |
| | ||||||
* | Add a fuzzer for Memory_Pool | Jack Lloyd | 2018-12-29 | 2 | -1/+115 | |
| | | | | | | | | | Basically, test that it works. Accepts a sequence of alloc+free operations and verify that each pointer returned does not overlap with any other outstanding allocation, that the memory returned is zeroed, and that alignment is respected. Intended for testing #1800 but no reason not to land this first. | |||||
* | Merge GH #1799 Tweak how PBKDF self-tuning works | Jack Lloyd | 2018-12-29 | 5 | -65/+72 | |
|\ | ||||||
| * | Improve PBKDF self-tuning | Jack Lloyd | 2018-12-29 | 5 | -65/+72 | |
|/ | | | | | | | | | Make the tune interval a build-time configurable instead of hardcoding it in each source file. Also use binary search in RFC4880_encode_count instead of linear search. Fix a bug in Timer | |||||
* | Correct spelling | Jack Lloyd | 2018-12-29 | 1 | -0/+1 | |
| | ||||||
* | Add OS::read_env_variable | Jack Lloyd | 2018-12-29 | 3 | -9/+22 | |
| | | | | Combines the priv check and the getenv call on one. | |||||
* | Update news | Jack Lloyd | 2018-12-29 | 1 | -6/+10 | |
| | ||||||
* | Merge GH #1798 Use posix_memalign instead of mmap for page locked pool | Jack Lloyd | 2018-12-29 | 2 | -27/+18 | |
|\ | ||||||
| * | Use posix_memalign instead of mmap for creating the locking pool | Jack Lloyd | 2018-12-28 | 2 | -27/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | As described in #602, using mmap with fork causes problems because the mmap remains shared in the child instead of being copy-on-write, then the parent and child stomp on each others memory. However we really do not need mmap semantics, we just want a block of memory that is page-aligned, which can be done with posix_memalign instead. This was added in POSIX.1-2001 and seems to be implemented by all modern systems. Closes #602 | |||||
* | | Avoid const-time modulo in DSA verification | Jack Lloyd | 2018-12-29 | 1 | -1/+11 | |
| | | | | | | | | | | | | It has a substantial perf hit and is not necessary. It may not be really necessary for signatures either but leave that as it, with a comment explaining. | |||||
* | | Simplifications in BigInt | Jack Lloyd | 2018-12-29 | 1 | -7/+1 | |
|/ | | | | | Use ct_is_zero instead of more complicated construction, and avoid duplicated size check/resize - Data::set_word will handle it. | |||||
* | Make bigint_sub_abs const time | Jack Lloyd | 2018-12-27 | 2 | -6/+26 | |
| | ||||||
* | Add a test of highly imbalanced RSA key | Jack Lloyd | 2018-12-27 | 1 | -0/+15 | |
| | ||||||
* | Update news | Jack Lloyd | 2018-12-26 | 1 | -1/+1 | |
| | ||||||
* | Merge GH #1797 Fix Barrett reduction upper bound | Jack Lloyd | 2018-12-26 | 4 | -17/+28 | |
|\ |