mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-27 01:36:59 +01:00
Add AES-CCM and CAMELLIA-CCM to the cipher layer
This commit is contained in:
parent
de7bb44004
commit
41936957b3
3 changed files with 176 additions and 2 deletions
|
|
@ -120,6 +120,12 @@ typedef enum {
|
|||
POLARSSL_CIPHER_BLOWFISH_CFB64,
|
||||
POLARSSL_CIPHER_BLOWFISH_CTR,
|
||||
POLARSSL_CIPHER_ARC4_128,
|
||||
POLARSSL_CIPHER_AES_128_CCM,
|
||||
POLARSSL_CIPHER_AES_192_CCM,
|
||||
POLARSSL_CIPHER_AES_256_CCM,
|
||||
POLARSSL_CIPHER_CAMELLIA_128_CCM,
|
||||
POLARSSL_CIPHER_CAMELLIA_192_CCM,
|
||||
POLARSSL_CIPHER_CAMELLIA_256_CCM,
|
||||
} cipher_type_t;
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -131,6 +137,7 @@ typedef enum {
|
|||
POLARSSL_MODE_CTR,
|
||||
POLARSSL_MODE_GCM,
|
||||
POLARSSL_MODE_STREAM,
|
||||
POLARSSL_MODE_CCM,
|
||||
} cipher_mode_t;
|
||||
|
||||
typedef enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue