aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compression/compress_utils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* It's easier to use calloc hereJack Lloyd2017-09-221-8/+2
| | | | | Assumption is calloc checks for overflow (!) so if it returns a pointer that means no overflow occurred.
* Improve compression tests slightlyJack Lloyd2017-09-221-0/+6
| | | | | | Fix a bug that affected bzip2 - the bzip2 library does not like being called with avail_in == 0 and BZ_RUN, it returns PARAM_ERROR. Just return in that case and ignore the call.
* Another missing headerJack Lloyd2017-09-211-0/+1
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-6/+6
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Rename zero_mem to secure_scrub_memoryJack Lloyd2016-11-031-1/+1
|
* Remove Algo_RegistryJack Lloyd2016-10-211-0/+189
I repent my use of global constructors. I repent my use of global locks. Hopefully I will never touch this code again. :)