summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/auth.h
blob: e0f60ec401e1351771b98532e7156176a257201a (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
26
27
28
/*
 * Implements Kerberos 4 authentication and ecryption
 */

#ifndef WINTEL_AUTH_H
#define WINTEL_AUTH_H

void auth_parse(kstream, unsigned char *, int);

int auth_init(kstream, kstream_ptr);

void auth_destroy(kstream);

int auth_encrypt(struct kstream_data_block *, struct kstream_data_block *,
		 kstream);

int auth_decrypt(struct kstream_data_block *, struct kstream_data_block *,
		 kstream);

extern BOOL forward_flag;
extern BOOL forwardable_flag;
extern BOOL forwarded_tickets;

#ifdef ENCRYPTION
extern BOOL encrypt_flag;
#endif

#endif /* WINTEL_AUTH_H */