comparison src/headers/tomcrypt.h @ 380:d5faf4814ddb libtomcrypt-orig libtomcrypt-1.16

Update to LibTomCrypt 1.16
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 02:22:00 +0000
parents 59400faa4b44
children 999a5eb4ed10
comparison
equal deleted inserted replaced
280:59400faa4b44 380:d5faf4814ddb
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 */
57 CRYPT_PK_INVALID_SYSTEM,/* Invalid PK system specified */ 57 CRYPT_PK_INVALID_SYSTEM,/* Invalid PK system specified */
58 CRYPT_PK_DUP, /* Duplicate key already in key ring */ 58 CRYPT_PK_DUP, /* Duplicate key already in key ring */
59 CRYPT_PK_NOT_FOUND, /* Key not found in keyring */ 59 CRYPT_PK_NOT_FOUND, /* Key not found in keyring */
60 CRYPT_PK_INVALID_SIZE, /* Invalid size input for PK parameters */ 60 CRYPT_PK_INVALID_SIZE, /* Invalid size input for PK parameters */
61 61
62 CRYPT_INVALID_PRIME_SIZE/* Invalid size of prime requested */ 62 CRYPT_INVALID_PRIME_SIZE,/* Invalid size of prime requested */
63 CRYPT_PK_INVALID_PADDING /* Invalid padding on input */
63 }; 64 };
64 65
65 #include <tomcrypt_cfg.h> 66 #include <tomcrypt_cfg.h>
66 #include <tomcrypt_macros.h> 67 #include <tomcrypt_macros.h>
67 #include <tomcrypt_cipher.h> 68 #include <tomcrypt_cipher.h>
68 #include <tomcrypt_hash.h> 69 #include <tomcrypt_hash.h>
69 #include <tomcrypt_mac.h> 70 #include <tomcrypt_mac.h>
70 #include <tomcrypt_prng.h> 71 #include <tomcrypt_prng.h>
71 #include <tomcrypt_pk.h> 72 #include <tomcrypt_pk.h>
73 #include <tomcrypt_math.h>
72 #include <tomcrypt_misc.h> 74 #include <tomcrypt_misc.h>
73 #include <tomcrypt_argchk.h> 75 #include <tomcrypt_argchk.h>
74 #include <tomcrypt_pkcs.h> 76 #include <tomcrypt_pkcs.h>
75 77
76 #ifdef __cplusplus 78 #ifdef __cplusplus
79 81
80 #endif /* TOMCRYPT_H_ */ 82 #endif /* TOMCRYPT_H_ */
81 83
82 84
83 /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt.h,v $ */ 85 /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt.h,v $ */
84 /* $Revision: 1.7 $ */ 86 /* $Revision: 1.20 $ */
85 /* $Date: 2005/06/19 18:03:25 $ */ 87 /* $Date: 2006/11/26 01:45:14 $ */