Mercurial > dropbear
comparison mycrypt.h @ 144:7ed585a2c53b libtomcrypt
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 19 Dec 2004 11:47:33 +0000 |
parents | 5d99163f7e32 09ab3354aa21 |
children |
comparison
equal
deleted
inserted
replaced
143:5d99163f7e32 | 144:7ed585a2c53b |
---|---|
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 64 | 23 #define MAXBLOCKSIZE 64 |
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 */ |