mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
sam4cm: add CFB and MAC AES modes. From Max Neklyudov
This commit is contained in:
committed by
Gregory Nutt
parent
61af0d511f
commit
01a35ff27f
@@ -53,8 +53,13 @@
|
||||
# define AES_MODE_ECB 1
|
||||
# define AES_MODE_CBC 2
|
||||
# define AES_MODE_CTR 3
|
||||
# define AES_MODE_CFB 4
|
||||
|
||||
# define AES_MODE_MAX 3
|
||||
# define AES_MODE_MAX 4
|
||||
|
||||
# define AES_MODE_MAC 0x80000000
|
||||
|
||||
# define AES_MODE_MASK 0xffff
|
||||
#endif
|
||||
|
||||
#define CYPHER_ENCRYPT 1
|
||||
|
||||
Reference in New Issue
Block a user