Subversion Repositories MLServ

Rev

Rev 5 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 7
Line 1... Line 1...
1
/* $Id: cm_crypt.h 5 2024-09-25 00:19:35Z nishi $ */
1
/* $Id: cm_crypt.h 7 2024-09-25 00:56:55Z nishi $ */
2
 
2
 
3
#ifndef __CM_CRYPT_H__
3
#ifndef __CM_CRYPT_H__
4
#define __CM_CRYPT_H__
4
#define __CM_CRYPT_H__
5
 
5
 
6
enum CRYPT_TYPES {
6
enum CRYPT_TYPES {
Line 10... Line 10...
10
	C_BLOWFISH,
10
	C_BLOWFISH,
11
	C_UNK1,
11
	C_UNK1,
12
	C_UNK2,
12
	C_UNK2,
13
	C_SHA256,
13
	C_SHA256,
14
	C_SHA512,
14
	C_SHA512,
-
 
15
#ifdef __NetBSD__
-
 
16
	C_ARGON2,
-
 
17
#endif
15
	C_END
18
	C_END
16
};
19
};
17
 
20
 
18
int cm_crypt_init(void);
21
int cm_crypt_init(void);
19
char* cm_crypt(const char* string);
22
char* cm_crypt(const char* string);