Sergey Markelov
9896383d2f
Add SHA224, SHA384, SHA512 to crypt.
2022-01-18 10:31:11 -08:00
Nigel Tao
d42634cb73
Make mz_crypt_openssl.c work with BoringSSL
...
BoringSSL does not provide cms.h but this is an optional dependency for
minizip, conditional on defined(MZ_ZIP_SIGNING).
For the functions called by mz_crypt_init:
- The OpenSSL_add_all_algorithms function is declared in evp.h.
OpenSSL's hmac.h includes evp.h but BoringSSL's hmac.h does not.
- The ERR_* functions are declared in err.h in both.
- The ENGINE_* functions are declared in engine.h in OpenSSL but are in
crypto.h for BoringSSL.
2021-07-10 09:46:08 -07:00
Nathan Moinvaziri
db95894646
Updated name of project to minizip-ng.
2021-01-23 16:19:05 -08:00
Ørjan
af49f4652b
libressl 2.7.0 and above provides HMAC_CTX_{new,free,reset}
2020-11-25 14:35:14 -08:00
Nathan Moinvaziri
70811ac6f5
Remove version number from headers.
2020-06-19 21:21:12 -07:00
Nathan Moinvaziri
dc6962b5fa
Use same brace style as zlib.
2020-06-14 22:00:02 -07:00
Nathan Moinvaziri
2aa369c468
Version 2.9.3.
2020-05-21 07:31:09 -07:00
Nathan Moinvaziri
b39f7a0e89
Version 2.9.2.
2020-02-12 08:38:09 -08:00
Nathan Moinvaziri
370ab036f3
Version 2.9.1.
2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
3d736ceff4
Fixed formatting.
2019-10-19 17:39:02 -07:00
Nathan Moinvaziri
10ac291d91
Version 2.9.0.
2019-09-18 16:55:43 -07:00
Nathan Moinvaziri
e33afe4012
Fixed segfault when copying hmac. #376 , #409
2019-08-15 18:16:48 -07:00
Nathan Moinvaziri
e9c8709b3f
Added shim functions for HMAC_CTX not available on openSSL < 1.1
2019-08-15 17:15:43 -07:00
Nathan Moinvaziri
88cb25164c
Updated HMAC code for OpenSSL 1.1.0. #409
2019-08-15 16:48:09 -07:00
Nathan Moinvaziri
84a398027d
Added option to enable signing which is by default turned on. But now at least people don't have to define MZ_ZIP_NO_SIGNING in most projects I see. Signing support now requires MZ_ZIP_SIGNING to be defined.
2019-08-14 20:31:04 -07:00
Nathan Moinvaziri
32fd805440
Version 2.8.9.
2019-07-04 10:32:02 -07:00
Nathan Moinvaziri
fbfd4e82f7
Version 2.8.8.
2019-05-22 17:50:39 -07:00
Nathan Moinvaziri
46ac718c70
Added comment about AES_ecb wrt OpenSSL.
2019-05-21 13:18:21 -07:00
Nathan Moinvaziri
64c4c7f868
Version 2.8.7.
2019-05-09 18:46:18 -07:00
Nathan Moinvaziri
58daeb9497
Don't compile signing functions if MZ_ZIP_NO_SIGNING is defined. #391
2019-05-02 06:55:38 -07:00
Nathan Moinvaziri
4fe0687243
Version 2.8.6.
2019-04-08 13:26:32 -07:00
Nathan Moinvaziri
c28a9f452f
Fixed memory leak with openssl and hmac copy. #376
2019-03-31 15:21:48 -07:00
Nathan Moinvaziri
488f20ff1b
Version 2.8.5.
2019-03-17 09:38:10 -07:00
Nathan Moinvaziri
9805ab4117
Version 2.8.4.
2019-02-14 17:16:01 -08:00
Nathan Moinvaziri
2e2f995eda
Version 2.8.3.
2019-01-26 16:49:48 -08:00
Nathan Moinvaziri
2ca7f3950c
Version 2.8.2.
2019-01-08 16:07:10 -08:00
Nathan Moinvaziri
1ff40343b5
Version 2.8.1.
2018-12-01 09:59:19 -08:00
Nathan Moinvaziri
5cb88b8f09
Version 2.8.0.
2018-11-24 17:59:11 -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
a5bc018ecc
Fixed signature verifications with openssl.
2018-11-20 19:13:10 -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
19cdb10201
Fixed crash when copying hmac ctx in openssl.
2018-11-20 09:25:56 -08:00
Nathan Moinvaziri
1ee609b759
Make inttypes.h optional. #345
2018-11-19 21:34:35 -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
888e8a7324
Version 2.7.2.
2018-11-02 17:47:53 -07:00
Nathan Moinvaziri
3223d8d378
Fixed undefined cert_path variable.
2018-11-02 16:43:44 -07:00
Nathan Moinvaziri
4337bcc752
Move reading of certificate into zip writer.
2018-11-02 16:22:39 -07:00
Nathan Moinvaziri
5f381b232d
Cleanup verification logic with openssl.
2018-11-02 08:38:55 -07:00
Nathan Moinvaziri
54dffe95e9
Version 2.7.1.
2018-11-01 10:40:24 -07:00
Nathan Moinvaziri
eff49b88ce
Remove unused set_algorithm function for aes.
...
Better setting of errors in crypt functions.
Fixed win32 aes key generated incorrectly.
Fixed openssl aes key bits not being set correctly.
Added option to for using BRG library on windows.
Changed low quality entropy error to warning.
2018-11-01 10:32:42 -07:00
Nathan Moinvaziri
f79ec42ad3
Fixed hmac implementation in brg library. #334
...
Moved brg setup in cmake.
2018-10-31 18:25:53 -07:00
Nathan Moinvaziri
974410131c
Fixed formatting.
2018-10-30 08:44:21 -07:00
Nathan Moinvaziri
848837b78b
Merge branch 'dev' into openssl111
2018-10-30 08:43:23 -07:00
Nathan Moinvaziri
dc63e1ebcf
Fixed formatting.
2018-10-30 08:41:32 -07:00
thegfw
8b5826b3bf
fixed for openssl 1.1.0 to 1.1.1
2018-10-30 15:51:17 +08:00
Nathan Moinvaziri
f3efcb6227
Possible fix for openssl 1.1 compatibility. #329
2018-10-29 23:13:51 -07:00
Nathan Moinvaziri
a221da4ae0
Version 2.7.0.
2018-10-28 16:47:53 -07:00