Add AES_MODE_CBC to aes_mode_t

This commit is contained in:
Jack 2019-11-01 12:20:41 +08:00
parent 21b84a3be3
commit ddde730efb

3
aes.h
View file

@ -8,7 +8,8 @@
typedef enum {
AES_MODE_ECB = MBEDTLS_CIPHER_AES_128_ECB,
AES_MODE_CTR = MBEDTLS_CIPHER_AES_128_CTR,
AES_MODE_XTS = MBEDTLS_CIPHER_AES_128_XTS
AES_MODE_XTS = MBEDTLS_CIPHER_AES_128_XTS,
AES_MODE_CBC = MBEDTLS_CIPHER_AES_128_CBC
} aes_mode_t;
typedef enum {