7 |
#endif |
#endif |
8 |
|
|
9 |
typedef struct { |
typedef struct { |
10 |
lt_dlhandle algorithm_handle; |
lt_dlhandle handle; |
11 |
lt_dlhandle mode_handle; |
char name[64]; |
12 |
|
} mcrypt_dlhandle; |
13 |
|
|
14 |
|
#define MCRYPT_INTERNAL_HANDLER (void*)-1 |
15 |
|
|
16 |
|
typedef struct { |
17 |
|
mcrypt_dlhandle algorithm_handle; |
18 |
|
mcrypt_dlhandle mode_handle; |
19 |
|
|
20 |
/* Holds the algorithm's internal key */ |
/* Holds the algorithm's internal key */ |
21 |
byte *akey; |
byte *akey; |
75 |
#define MCRYPT_UNKNOWN_MODE -5 |
#define MCRYPT_UNKNOWN_MODE -5 |
76 |
#define MCRYPT_UNKNOWN_ALGORITHM -6 |
#define MCRYPT_UNKNOWN_ALGORITHM -6 |
77 |
|
|
78 |
|
lt_ptr mcrypt_dlsym( mcrypt_dlhandle, char* str); |
79 |
|
void mcrypt_dlclose( mcrypt_dlhandle mod); |