svn rev #22116: branches/fast/src/ include/ lib/krb5/error_tables/

hartmans@MIT.EDU hartmans at MIT.EDU
Thu Mar 26 01:36:05 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22116
Commit By: hartmans
Log Message:
FAST data structures for protocol messages


Changed Files:
U   branches/fast/src/include/k5-int.h
U   branches/fast/src/lib/krb5/error_tables/kv5m_err.et
Modified: branches/fast/src/include/k5-int.h
===================================================================
--- branches/fast/src/include/k5-int.h	2009-03-26 05:31:49 UTC (rev 22115)
+++ branches/fast/src/include/k5-int.h	2009-03-26 05:36:05 UTC (rev 22116)
@@ -963,6 +963,40 @@
     krb5_data		auth_package;
 } krb5_pa_for_user;
 
+typedef struct _krb5_fast_armor {
+    krb5_int32 armor_type;
+    krb5_data armor_value;
+} krb5_fast_armor;
+typedef struct _krb5_fast_armored_req {
+    krb5_magic magic;
+    krb5_fast_armor *armor;
+    krb5_checksum req_checksum;
+    krb5_enc_data enc_part;
+} krb5_fast_armored_req;
+
+typedef struct _krb5_fast_req {
+    krb5_magic magic;
+    krb5_int32 fast_options;
+    /* padata from req_body is used*/
+   krb5_kdc_req req_body;
+} krb5_fast_req;
+
+    typedef struct _krb5_fast_finished {
+	krb5_timestamp timestamp;
+	krb5_int32 usec;
+	krb5_principal client;
+	krb5_checksum checksum;
+	krb5_checksum ticket_checksum;
+    } krb5_fast_finished;
+
+	typedef struct _krb5_fast_response {
+	    krb5_magic magic;
+    krb5_pa_data **padata;
+    krb5_keyblock *rep_key;
+    krb5_fast_finished *finished;
+} krb5_fast_response;
+
+
 typedef krb5_error_code (*krb5_preauth_obtain_proc)
     (krb5_context,
 		    krb5_pa_data *,

Modified: branches/fast/src/lib/krb5/error_tables/kv5m_err.et
===================================================================
--- branches/fast/src/lib/krb5/error_tables/kv5m_err.et	2009-03-26 05:31:49 UTC (rev 22115)
+++ branches/fast/src/lib/krb5/error_tables/kv5m_err.et	2009-03-26 05:36:05 UTC (rev 22116)
@@ -86,5 +86,7 @@
 error_code KV5M_PASSWD_PHRASE_ELEMENT,	"Bad magic number for passwd_phrase_element"
 error_code KV5M_GSS_OID,	"Bad magic number for GSSAPI OID"
 error_code KV5M_GSS_QUEUE,	"Bad magic number for GSSAPI QUEUE"
-
+error_code KV5M_FAST_ARMORED_REQ, "Bad magic number for fast armored request"
+error_code KV5M_FAST_REQ, "Bad magic number for FAST request"
+error_code KV5M_FAST_RESPONSE, "Bad magic number for FAST response"
 end




More information about the cvs-krb5 mailing list