51 Commits

Author SHA1 Message Date
Nathan Moinvaziri
9897259b04 Added additional files to unit tests.
Fixed compiler warnings.
2018-11-21 23:14:22 -08:00
Nathan Moinvaziri
3e2d07451c Allow writing of more bytes than buffer in pkcrypt and wzaes. 2018-11-21 19:25:20 -08:00
Nathan Moinvaziri
e849627093 Move stdio to the source files that use them.
Fixed limits redefinition for windows.
Clean up headers.
2018-11-21 15:05:58 -08:00
Nathan Moinvaziri
b16ab566ef Change comments to C89 style.
Added _POSIX_C_SOURCE definition for necessary version of POSIX.
2018-11-20 16:56:21 -08:00
Nathan Moinvaziri
f96e8636a4 Fixed reading pkcrypt stream when uncompressed size is 0.
Fixed pkcrypt buffer was too small.
2018-11-20 10:48:25 -08:00
Nathan Moinvaziri
02c9edb3af Fixed bug not encrypting if size is larger than pkcrypt buffer size. 2018-11-20 10:05:51 -08:00
Nathan Moinvaziri
fb8a1cc220 Remove forward includes. 2018-11-19 18:01:53 -08:00
Nathan Moinvaziri
b2b082c67d Version 2.7.5. 2018-11-13 15:22:15 -08:00
Nathan Moinvaziri
c47090678d Version 2.7.4. 2018-11-06 21:12:16 -08:00
Nathan Moinvaziri
b4923cd155 Removed unnecessary #includes. 2018-11-05 12:45:17 -08:00
Nathan Moinvaziri
826113fd6c Version 2.7.3. 2018-11-04 12:52:58 -08:00
Nathan Moinvaziri
1b87a5a358 Removed old crc32 streams. 2018-11-03 19:47:20 -07:00
Nathan Moinvaziri
e63d231fa5 Moved crc hashing and pbkdf2 to crypt.
Provide backup crc32 function if zlib or lzma not used.
Fixed check for no signing in minizip.
2018-11-03 19:45:41 -07:00
Nathan Moinvaziri
888e8a7324 Version 2.7.2. 2018-11-02 17:47:53 -07:00
Nathan Moinvaziri
54dffe95e9 Version 2.7.1. 2018-11-01 10:40:24 -07:00
Nathan Moinvaziri
a221da4ae0 Version 2.7.0. 2018-10-28 16:47:53 -07:00
Nathan Moinvaziri
05e03cad8e Added additional error codes to aid in debugging. 2018-10-28 16:15:13 -07:00
Nathan Moinvaziri
5f09188ca9 Move cryptography functions to crypt source and header files.
Added pbkdf2 function to wzaes stream.
Changed wzaes stream to use os crypt functions.
2018-10-24 18:06:08 -07:00
Viktor Szakats
9dea6f2495 Secure URLs 2018-10-17 22:39:01 +00:00
Nathan Moinvaziri
ff6f2a1db6 Version 2.6.0. 2018-10-08 23:48:58 -07:00
Nathan Moinvaziri
e6b6616575 Fixed compiler warnings. 2018-10-08 22:40:38 -07:00
Nathan Moinvaziri
ca8059ef61 Version 2.5.4. 2018-09-30 10:44:16 -07:00
Nathan Moinvaziri
825bfb8fbf Version 2.5.3. 2018-09-18 20:34:01 -07:00
Nathan Moinvaziri
85d36c5e83 Clean up includes. #306 2018-08-31 16:43:41 -07:00
Nathan Moinvaziri
351b14e512 Version 2.5.2. 2018-08-27 19:06:59 -07:00
Nathan Moinvaziri
e7df0f7341 Fixed more possible unused variable warnings. 2018-08-27 09:42:03 -07:00
Nathan Moinvaziri
da1ab3dab1 Fixed unused variable warning with MZ_ZIP_NO_COMPRESSION. 2018-08-27 09:39:19 -07:00
Nathan Moinvaziri
2b3cd16b6f Version 2.5.1. 2018-08-18 08:14:27 -07:00
Nathan Moinvaziri
c98dec4291 Version 2.5.0. 2018-08-15 07:37:30 -07:00
Nathan Moinvaziri
0f8d91101b Version 2.4.0. 2018-08-05 10:33:42 -07:00
Nathan Moinvaziri
a8f4a09de6 Version 2.3.9. 2018-07-26 17:56:05 -07:00
Nathan Moinvaziri
a6d1f6692e Changed name of compression inclusion #defines. 2018-07-22 10:35:49 -07:00
Nathan Moinvaziri
f9ee9d7f08 Support MZ_ZIP_DECOMPRESS_ONLY and MZ_ZIP_COMPRESS_ONLY only encryption streams. #283 2018-07-22 10:18:53 -07:00
Nathan Moinvaziri
ae724eff61 Version 2.3.8. 2018-07-14 09:53:56 -07:00
Nathan Moinvaziri
f873eccdd2 Version 2.3.7. 2018-07-13 08:31:40 -07:00
Nathan Moinvaziri
6b12c36538 Clean up includes and fixed formatting. 2018-07-12 09:05:25 -07:00
Nathan Moinvaziri
ffa830f684 Version 2.3.6. 2018-07-11 16:34:01 -07:00
Nathan Moinvaziri
f65b9fecae Fixed bug verifying password header using pkcrypt. 2018-07-11 16:28:56 -07:00
Nathan Moinvaziri
b0a005644d Cleanup, fixed formatting. 2018-07-11 15:34:45 -07:00
Nathan Moinvaziri
d7814e9b8d Finialize compression stream even if nothing written due to compatibility with other zip apps. #277
Changed pkcrypt to use crc32 update function instead of doing calculation from crc32 table.
Modified mz_zip_entry_read to not return when uncompressed_size is 0 due to the fact that it is possible for 0-byte files to have packed bytes if using deflate method.
2018-07-11 14:54:14 -07:00
Nathan Moinvaziri
adbbc68fa4 Fixed missing include for crc32 stream. 2018-07-11 09:48:27 -07:00
Nathan Moinvaziri
b47b41b8df Move crc32 stream into its own source file and header. 2018-07-11 09:44:29 -07:00
Nathan Moinvaziri
155f8b52b2 Version 2.3.5. 2018-07-09 08:13:28 -07:00
Nathan Moinvaziri
fa8105b657 Use crypt header size in calculation. 2018-07-08 19:05:00 -07:00
Nathan Moinvaziri
b70b824b19 Version 2.3.4. 2018-06-19 12:30:12 -07:00
Nathan Moinvaziri
7bdfbf4699 Version 2.3.3. 2018-06-10 09:09:07 -07:00
Nathan Moinvaziri
4925f31e28 Fixed compilation warnings on mac and linux. 2018-05-31 15:05:19 -07:00
Nathan Moinvaziri
30e859be0b Version 2.3.2. 2018-05-29 08:48:05 -07:00
Nathan Moinvaziri
5b204622cc Modified pkcrypt to use crc32 table from zlib or lzma. 2018-05-23 20:39:12 -07:00
Nathan Moinvaziri
3dc4334d38 Rename crypt to pkcrypt. 2018-05-23 20:27:17 -07:00