summaryrefslogtreecommitdiff
path: root/src/windows/wintel/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/wintel/auth.h')
-rw-r--r--src/windows/wintel/auth.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/windows/wintel/auth.h b/src/windows/wintel/auth.h
new file mode 100644
index 000000000000..e0f60ec401e1
--- /dev/null
+++ b/src/windows/wintel/auth.h
@@ -0,0 +1,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 */