| 1 |
/* |
| 2 |
* Copyright © 2005 Atheme Development Group |
| 3 |
* Rights to this code are as documented under doc/pod/license.pod. |
| 4 |
* |
| 5 |
* Cryptographic module support. |
| 6 |
* |
| 7 |
* $Id: crypto.h,v 1.2 2007-07-21 01:29:07 pippijn Exp $ |
| 8 |
*/ |
| 9 |
|
| 10 |
#ifndef CRYPTO_H |
| 11 |
#define CRYPTO_H |
| 12 |
|
| 13 |
E char *(*crypt_string) (char *str, char *salt); |
| 14 |
E char *generic_crypt_string (char *str, char *salt); |
| 15 |
E bool crypt_verify_password (char *uinput, char *pass); |
| 16 |
E char *gen_salt (void); |
| 17 |
E bool crypto_module_loaded; |
| 18 |
|
| 19 |
#endif |