sam4cm: add CFB and MAC AES modes. From Max Neklyudov

This commit is contained in:
Max Neklyudov
2015-06-22 06:42:37 -06:00
committed by Gregory Nutt
parent 61af0d511f
commit 01a35ff27f
2 changed files with 28 additions and 5 deletions
+6 -1
View File
@@ -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