Mercurial > dropbear
comparison algo.h @ 1120:391bb7d560c6
Merge branch 'fix-pointer-sign-warnings' into fix-warnings
author | Gaël PORTAY <gael.portay@gmail.com> |
---|---|
date | Tue, 05 May 2015 20:42:38 +0200 |
parents | 2052b53d3034 |
children | 56aba7dedbea |
comparison
equal
deleted
inserted
replaced
1093:aae71c5f7d5b | 1120:391bb7d560c6 |
---|---|
33 #define DROPBEAR_MODE_CBC 1 | 33 #define DROPBEAR_MODE_CBC 1 |
34 #define DROPBEAR_MODE_CTR 2 | 34 #define DROPBEAR_MODE_CTR 2 |
35 | 35 |
36 struct Algo_Type { | 36 struct Algo_Type { |
37 | 37 |
38 const unsigned char *name; /* identifying name */ | 38 const char *name; /* identifying name */ |
39 char val; /* a value for this cipher, or -1 for invalid */ | 39 char val; /* a value for this cipher, or -1 for invalid */ |
40 const void *data; /* algorithm specific data */ | 40 const void *data; /* algorithm specific data */ |
41 char usable; /* whether we can use this algorithm */ | 41 char usable; /* whether we can use this algorithm */ |
42 const void *mode; /* the mode, currently only used for ciphers, | 42 const void *mode; /* the mode, currently only used for ciphers, |
43 points to a 'struct dropbear_cipher_mode' */ | 43 points to a 'struct dropbear_cipher_mode' */ |