Mercurial > dropbear
comparison mycrypt.h @ 16:09ab3354aa21 libtomcrypt
propagate of e8bea23df30f9f46c647d06db3b223427b4e3604 and b0b6b4a8843b94d9f049cb5ffe0b1ae91ec1bf8b from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Jun 2004 14:27:14 +0000 |
parents | 6362d3854bb4 d7da3b1e1540 |
children | 7ed585a2c53b |
comparison
equal
deleted
inserted
replaced
15:6362d3854bb4 | 16:09ab3354aa21 |
---|---|
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 */ |