Con Kolivas
|
298d6a6715
|
Add cksems to util.h
|
2014-05-30 21:05:05 +10:00 |
|
Con Kolivas
|
6bb837761f
|
Provide a helper function to round a value up to the nearest page size for malloc optimisations.
|
2013-09-14 11:41:57 +10:00 |
|
ckolivas
|
b5e1362773
|
Work around variadic macros warnings.
|
2012-03-07 16:18:23 +11:00 |
|
discomfitor
|
949c6d7a97
|
another semi-clusterfuck commit: *new logging macros *allow compression to and from any FILE, not just stdin/stdout *update main.c to work with the above
|
2011-08-17 20:59:41 +10:00 |
|
discomfitor
|
6dd20d735b
|
giant clusterfuck commit: *add and use alloca/strdupa in some spots *implement return values on almost every function *free() is now a macro which also nulls the freed pointer *when in 'library mode', fatal_exit() will not be called *fatal()/failure() are now macros which add line number and file for logging *all occurrences of fatal/failure in files other than main.c are now wrapped to use a logging callback (if specified) and then return *functions now clean up resources on returning with an error
|
2011-08-17 20:59:40 +10:00 |
|
discomfitor
|
133b201867
|
move more code out of main.c, allocate outfile suffix
|
2011-08-17 20:59:40 +10:00 |
|
discomfitor
|
cbff8faef7
|
move liblrzip.h contents to lrzip_private.h global variables-----
|
2011-08-17 20:59:40 +10:00 |
|
discomfitor
|
e85e4df0ef
|
move compression overhead calcs out of main()
|
2011-08-17 20:59:40 +10:00 |
|
discomfitor
|
1c64dcfb31
|
more initialization stuff out of main(), remove weird coincidentally successful one_g variable
|
2011-08-17 20:59:40 +10:00 |
|
Con Kolivas
|
c533b031bc
|
Fix trivial compiler warnings.
|
2011-03-21 23:36:39 +11:00 |
|
Con Kolivas
|
8c8f5bdd48
|
lrz_crypt tweaks courtesy of Serge Belyshev.
|
2011-03-21 20:54:53 +11:00 |
|
Con Kolivas
|
ff5a5ed054
|
Use separate lrz_encrypt and lrz_decrypt wrappers to lrz_crypt.
|
2011-03-19 14:04:22 +11:00 |
|
ckolivas
|
e856d481bf
|
Discard hash_iv entirely, using passphrase hash and centralise key generation.
Patch by Serge Belyshev.
|
2011-03-18 10:22:58 +11:00 |
|
Con Kolivas
|
a3e80871c2
|
Add 8 bytes of random data to the start of every encrypted compressed block and use it along with 8 bytes from the stored salt to make a unique key and IV for encryption.
|
2011-03-18 00:06:11 +11:00 |
|
ckolivas
|
4bc23ee001
|
Centralise where all encryption/decryption is done, and whether to carry over the IV or not.
|
2011-03-17 14:10:58 +11:00 |
|
Con Kolivas
|
0ffa041f36
|
Add function to get a stream of random numbers into a buffer from /dev/urandom if possible, and falling back to random() if not.
|
2011-03-15 12:56:23 +11:00 |
|
Con Kolivas
|
1a7c409e10
|
header-mangling-part-X-move-all-headers-defines-into
|
2011-03-09 08:37:26 +11:00 |
|
Con Kolivas
|
1511c27aad
|
header-mangling-part-2-move-all-function-prototypes
|
2011-03-09 08:34:44 +11:00 |
|