Added initial support for other AES modes.

This commit is contained in:
Nathan Moinvaziri 2023-04-18 17:14:25 -07:00
parent 82f1cfb1e2
commit 23fac55eda
6 changed files with 131 additions and 57 deletions

2
mz.h
View file

@ -114,6 +114,8 @@
#define MZ_AES_VERSION (1)
#define MZ_AES_MODE_ECB (0)
#define MZ_AES_MODE_CBC (1)
#define MZ_AES_MODE_CTR (2)
#define MZ_AES_MODE_GCM (3)
#define MZ_AES_STRENGTH_128 (1)
#define MZ_AES_STRENGTH_192 (2)
#define MZ_AES_STRENGTH_256 (3)