Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt.h @ 1733:d529a52b2f7c coverity coverity
merge coverity from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 Jun 2020 21:07:34 +0800 |
parents | e9dba7abd939 |
children |
comparison
equal
deleted
inserted
replaced
1643:b59623a64678 | 1733:d529a52b2f7c |
---|---|
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 */ |