10 Commits

Author SHA1 Message Date
Sergey Markelov
1fdcfef544 Support AAD in AES-GCM 2023-05-05 13:53:16 -04:00
Nathan Moinvaziri
762333d6e9 More clean up memory freeing in mz_crypt classes. 2023-04-27 14:38:21 -07:00
Nathan Moinvaziri
780459d80c Change to use encrypt/decrypt final functions in mz_aes. 2023-04-26 19:58:41 -07:00
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
3c5ce939b7 Fallback to SHA1 hash when SHA256 is not available on OS. 2023-04-24 19:01:08 -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
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