Changeset 133 for trunk/include
- Timestamp:
- Oct 25, 2007, 12:19:05 AM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r132 r133 62 62 #define KEY_LEN 48 63 63 #define KEY_BLOCK 24 64 #define KEYBUF_SIZE (KEY_LEN+1) 64 65 65 66 /* The length of the compiled-in password. -
trunk/include/sh_pthread.h
r132 r133 26 26 #define SH_MUTEX_UNLOCK_UNSAFE(M) pthread_mutex_unlock(&(M)) 27 27 28 /* 29 * ---- Global mutexes ---- 30 */ 31 SH_MUTEX_EXTERN(mutex_skey); 32 28 33 #else 29 34 -
trunk/include/sh_srp.h
r1 r133 21 21 void sh_srp_x (char * salt, char * password); 22 22 int sh_srp_make_a (void); 23 char * sh_srp_M (char * x1, char * x2, char * x3 );23 char * sh_srp_M (char * x1, char * x2, char * x3, char * buf, size_t size); 24 24 25 25 char * sh_srp_verifier (void); -
trunk/include/sh_tiger.h
r107 r133 7 7 #include "samhain.h" 8 8 9 typedef long int TigerType; 10 11 #define TIGER_FILE -1; 12 #define TIGER_DATA -2; 13 14 /**************** 9 15 typedef enum { 10 16 TIGER_FILE, … … 12 18 TIGER_DATA 13 19 } TigerType; 20 *****************/ 14 21 15 22 #define TIGER_NOLIM ((UINT64)-1) 16 17 extern SL_TICKET tiger_fd;18 23 19 24 /* the checksum function 20 25 */ 21 26 /*@owned@*/ char * sh_tiger_hash (const char * filename, TigerType what, 22 UINT64 Length );27 UINT64 Length, char * out, size_t len); 23 28 24 29 /* NEW Thu Oct 18 19:59:08 CEST 2001 … … 26 31 int sh_tiger_hashtype (const char * c); 27 32 char * sh_tiger_generic_hash (char * filename, TigerType what, 28 UINT64 Length, int timeout); 33 UINT64 Length, int timeout, 34 char * out, size_t len); 29 35 30 36 UINT32 * sh_tiger_hash_uint32 (char * filename, 31 37 TigerType what, 32 UINT64 Length );38 UINT64 Length, UINT32 * out, size_t len); 33 39 34 40 /* get the type of hash function used … … 37 43 int sh_tiger_get_hashtype (); 38 44 39 /* GnuPG-like format 45 /* GnuPG-like format, returns allocated memory 40 46 */ 41 47 /*@owned@*/ char * sh_tiger_hash_gpg (const char * filename, TigerType what,
Note:
See TracChangeset
for help on using the changeset viewer.