summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/auth.h
blob: ddc8b21696e8b4a283b8e6d4a2ca62c89b1e425a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Implements Kerberos 4 authentication and ecryption
 */

void auth_parse(
	kstream ks,
	unsigned char *parsedat,
	int end_sub);

int INTERFACE auth_init(
	kstream str,
	kstream_ptr data);

void INTERFACE auth_destroy(
	kstream str);

int INTERFACE auth_encrypt(
	struct kstream_data_block *out,
	struct kstream_data_block *in,
	kstream str);

int INTERFACE auth_decrypt(
	struct kstream_data_block *out,
	struct kstream_data_block *in,
	kstream str);