Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt.h @ 1739:13d834efc376 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 15 Oct 2020 19:55:15 +0800 |
parents | e9dba7abd939 |
children |
comparison
equal
deleted
inserted
replaced
1562:768ebf737aa0 | 1739:13d834efc376 |
---|---|
25 extern "C" { | 25 extern "C" { |
26 #endif | 26 #endif |
27 | 27 |
28 /* version */ | 28 /* version */ |
29 #define CRYPT 0x0118 | 29 #define CRYPT 0x0118 |
30 #define SCRYPT "1.18.1" | 30 #define SCRYPT "1.18.2" |
31 | 31 |
32 /* max size of either a cipher/hash block or symmetric key [largest of the two] */ | 32 /* max size of either a cipher/hash block or symmetric key [largest of the two] */ |
33 #define MAXBLOCKSIZE 128 | 33 #define MAXBLOCKSIZE 128 |
34 | 34 |
35 #ifndef TAB_SIZE | |
35 /* descriptor table size */ | 36 /* descriptor table size */ |
36 /* Dropbear change - this should be smaller, saves some size */ | 37 #define TAB_SIZE 32 |
37 #define TAB_SIZE 5 | 38 #endif |
38 | 39 |
39 /* error codes [will be expanded in future releases] */ | 40 /* error codes [will be expanded in future releases] */ |
40 enum { | 41 enum { |
41 CRYPT_OK=0, /* Result OK */ | 42 CRYPT_OK=0, /* Result OK */ |
42 CRYPT_ERROR, /* Generic Error */ | 43 CRYPT_ERROR, /* Generic Error */ |