comparison libtomcrypt/src/headers/tomcrypt.h @ 761:ac2158e3e403 ecc

ecc kind of works, needs fixing/testing
author Matt Johnston <matt@ucc.asn.au>
date Sun, 07 Apr 2013 01:36:42 +0800
parents 0cbe8f6dbf9e
children f849a5ca2efc
comparison
equal deleted inserted replaced
760:f336d232fc63 761:ac2158e3e403
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 /* Dropbear change - this should be smaller, saves some size */ 26 /* Dropbear change - this should be smaller, saves some size */
27 #define TAB_SIZE 4 27 #define TAB_SIZE 5
28 28
29 /* error codes [will be expanded in future releases] */ 29 /* error codes [will be expanded in future releases] */
30 enum { 30 enum {
31 CRYPT_OK=0, /* Result OK */ 31 CRYPT_OK=0, /* Result OK */
32 CRYPT_ERROR, /* Generic Error */ 32 CRYPT_ERROR, /* Generic Error */