comparison libtomcrypt/src/headers/tomcrypt.h @ 1711:e9dba7abd939

Merge libtomcrypt v1.18.2
author Matt Johnston <matt@ucc.asn.au>
date Wed, 10 Jun 2020 23:16:13 +0800
parents 6dba84798cd5
children
comparison
equal deleted inserted replaced
1710:1ff2a1034c52 1711:e9dba7abd939
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 */