10 Commits

Author SHA1 Message Date
Nathan Moinvaziri
99efb55637 Clean up and rename mz_crypt_aes interface. 2023-04-26 10:45:44 -07:00
Nathan Moinvaziri
1c24464e50 Implement verification of AES-GCM tag with OpenSSL. 2023-04-25 23:28:37 -07:00
Nathan Moinvaziri
8964058d0c Added AES-GCM unit test and fixed BCrypt code. 2023-04-25 23:27:50 -07:00
Nathan Moinvaziri
3c5ce939b7 Fallback to SHA1 hash when SHA256 is not available on OS. 2023-04-24 19:01:08 -07:00
Nathan Moinvaziri
d160785a36 Fixed bugs with setting IV in BCrypt with AES. 2023-04-24 10:28:54 -07:00
Nathan Moinvaziri
a0b138e06c Change CMake to do BCrypt detection. 2023-04-19 10:45:38 -07:00
Nathan Moinvaziri
65219949ff Fixed missing defines on older versions of Windows after bcrypt change. 2023-04-19 09:15:06 -07:00
Nathan Moinvaziri
e0d267e5f0 Fixed using IV in mz_crypt_aes on Windows. 2023-04-18 17:32:08 -07:00
Nathan Moinvaziri
103a1c836d Remove limited OS support for AES CTR mode. 2023-04-18 17:32:08 -07:00
Nathan Moinvaziri
8eed140133 Remove MZ_BCRYPT option from CMake. 2023-04-18 17:32:08 -07:00