add fake ciphers for salsa20 chacha20

This commit is contained in:
Max Lv
2014-12-11 20:42:31 +08:00
parent 074956483b
commit f7d2fc0eb2
2 changed files with 40 additions and 10 deletions
+3 -1
View File
@@ -104,7 +104,7 @@ typedef struct {
#define BLOCK_SIZE 32
#define CIPHER_NUM 15
#define CIPHER_NUM 17
#define NONE -1
#define TABLE 0
#define RC4 1
@@ -121,6 +121,8 @@ typedef struct {
#define IDEA_CFB 12
#define RC2_CFB 13
#define SEED_CFB 14
#define SALSA20 15
#define CHACHA20 16
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define max(a, b) (((a) > (b)) ? (a) : (b))