Mercurial > dropbear
comparison libtomcrypt/src/headers/tomcrypt.h @ 511:582cb38e4eb5 insecure-nocrypto
propagate from branch 'au.asn.ucc.matt.dropbear' (head cdcc3c729e29544e8b98a408e2dc60e4483dfd2a)
to branch 'au.asn.ucc.matt.dropbear.insecure-nocrypto' (head 0ca38a1cf349f7426ac9de34ebe4c3e3735effab)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 06 Nov 2008 13:16:55 +0000 |
parents | 0cbe8f6dbf9e |
children | ac2158e3e403 |
comparison
equal
deleted
inserted
replaced
361:461c4b1fb35f | 511:582cb38e4eb5 |
---|---|
14 #ifdef __cplusplus | 14 #ifdef __cplusplus |
15 extern "C" { | 15 extern "C" { |
16 #endif | 16 #endif |
17 | 17 |
18 /* version */ | 18 /* version */ |
19 #define CRYPT 0x0105 | 19 #define CRYPT 0x0116 |
20 #define SCRYPT "1.05" | 20 #define SCRYPT "1.16" |
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 */ |
58 CRYPT_PK_INVALID_SYSTEM,/* Invalid PK system specified */ | 58 CRYPT_PK_INVALID_SYSTEM,/* Invalid PK system specified */ |
59 CRYPT_PK_DUP, /* Duplicate key already in key ring */ | 59 CRYPT_PK_DUP, /* Duplicate key already in key ring */ |
60 CRYPT_PK_NOT_FOUND, /* Key not found in keyring */ | 60 CRYPT_PK_NOT_FOUND, /* Key not found in keyring */ |
61 CRYPT_PK_INVALID_SIZE, /* Invalid size input for PK parameters */ | 61 CRYPT_PK_INVALID_SIZE, /* Invalid size input for PK parameters */ |
62 | 62 |
63 CRYPT_INVALID_PRIME_SIZE/* Invalid size of prime requested */ | 63 CRYPT_INVALID_PRIME_SIZE,/* Invalid size of prime requested */ |
64 CRYPT_PK_INVALID_PADDING /* Invalid padding on input */ | |
64 }; | 65 }; |
65 | 66 |
66 #include <tomcrypt_cfg.h> | 67 #include <tomcrypt_cfg.h> |
67 #include <tomcrypt_macros.h> | 68 #include <tomcrypt_macros.h> |
68 #include <tomcrypt_cipher.h> | 69 #include <tomcrypt_cipher.h> |
69 #include <tomcrypt_hash.h> | 70 #include <tomcrypt_hash.h> |
70 #include <tomcrypt_mac.h> | 71 #include <tomcrypt_mac.h> |
71 #include <tomcrypt_prng.h> | 72 #include <tomcrypt_prng.h> |
72 #include <tomcrypt_pk.h> | 73 #include <tomcrypt_pk.h> |
74 #include <tomcrypt_math.h> | |
73 #include <tomcrypt_misc.h> | 75 #include <tomcrypt_misc.h> |
74 #include <tomcrypt_argchk.h> | 76 #include <tomcrypt_argchk.h> |
75 #include <tomcrypt_pkcs.h> | 77 #include <tomcrypt_pkcs.h> |
76 | 78 |
77 #ifdef __cplusplus | 79 #ifdef __cplusplus |
80 | 82 |
81 #endif /* TOMCRYPT_H_ */ | 83 #endif /* TOMCRYPT_H_ */ |
82 | 84 |
83 | 85 |
84 /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt.h,v $ */ | 86 /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt.h,v $ */ |
85 /* $Revision: 1.7 $ */ | 87 /* $Revision: 1.20 $ */ |
86 /* $Date: 2005/06/19 18:03:25 $ */ | 88 /* $Date: 2006/11/26 01:45:14 $ */ |