Last change
on this file since 26647 was 26647, checked in by davidb, 11 years ago |
Introduction of open-source code that implements the crypt() algorithm to make Greenstone code more portable. Motivation for adding this in came from work with cross-compiling (using mingw under Ubuntu for generating Windows native binaries)
|
File size:
355 bytes
|
Rev | Line | |
---|
[26647] | 1 | #ifndef CRYPT_UTIL_H
|
---|
| 2 | #define CRYPT_UTIL_H
|
---|
| 3 |
|
---|
| 4 | #ifdef __cplusplus
|
---|
| 5 | extern "C" {
|
---|
| 6 | #endif
|
---|
| 7 |
|
---|
| 8 | void setup_salt(char *s);
|
---|
| 9 |
|
---|
| 10 | void mk_keytab(char *key);
|
---|
| 11 |
|
---|
| 12 | #ifdef DEBUG
|
---|
| 13 | void pr_bits(unsigned long *a, unsigned long n);
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | char *output_conversion(unsigned long l1,unsigned long l2,
|
---|
| 17 | unsigned long r1,unsigned long r2, char *salt);
|
---|
| 18 |
|
---|
| 19 | #ifdef __cplusplus
|
---|
| 20 | }
|
---|
| 21 | #endif
|
---|
| 22 |
|
---|
| 23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.