comparison src/headers/tomcrypt.h @ 281:997e6f7dc01e libtomcrypt-dropbear

Just import the Dropbear 0.47 libtomcrypt changes
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 13:02:58 +0000
parents 59400faa4b44
children 999a5eb4ed10
comparison
equal deleted inserted replaced
280:59400faa4b44 281:997e6f7dc01e
21 21
22 /* max size of either a cipher/hash block or symmetric key [largest of the two] */ 22 /* max size of either a cipher/hash block or symmetric key [largest of the two] */
23 #define MAXBLOCKSIZE 128 23 #define MAXBLOCKSIZE 128
24 24
25 /* descriptor table size */ 25 /* descriptor table size */
26 #define TAB_SIZE 32 26 /* Dropbear change - this should be smaller, saves some size */
27 #define TAB_SIZE 4
27 28
28 /* error codes [will be expanded in future releases] */ 29 /* error codes [will be expanded in future releases] */
29 enum { 30 enum {
30 CRYPT_OK=0, /* Result OK */ 31 CRYPT_OK=0, /* Result OK */
31 CRYPT_ERROR, /* Generic Error */ 32 CRYPT_ERROR, /* Generic Error */