comparison libtomcrypt/src/headers/tomcrypt.h @ 382:0cbe8f6dbf9e

propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 2af22fb4e878750b88f80f90d439b316d229796f) to branch 'au.asn.ucc.matt.dropbear' (head 02c413252c90e9de8e03d91e9939dde3029f5c0a)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 02:41:05 +0000
parents 1b9e69c058d2
children ac2158e3e403
comparison
equal deleted inserted replaced
379:b66a00272a90 382:0cbe8f6dbf9e
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 $ */