Add prototypes for the SAM encoding and decoding functions, which are
authorTheodore Tso <tytso@mit.edu>
Wed, 12 Jun 1996 18:29:01 +0000 (18:29 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 12 Jun 1996 18:29:01 +0000 (18:29 +0000)
necessary for the Win32 port (and a good idea in general).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8329 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/asn1_k_decode.h
src/lib/krb5/asn.1/asn1_k_encode.h

index 0a14cb1095b0aebb6b888ea9ad9f3912d83bebcd..377351ad1e6fdd191c9bacac97db8c6f34427e53 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jun 12 14:25:11 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * asn1_k_encode.h, asn1_k_decode.h: Add prototypes for the SAM
+               encoding and decoding functions, which are necessary for
+               the Win32 port (and a good idea in general).
+
 Wed Jun  5 15:37:50 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * asn1_k_decode.c (asn1_decode_enc_kdc_rep_part): If starttime is
index 9490619c00c5fe424ea94697025c3797d8be6ea2..489123b6f2e9a1fa9a255ead2f90088183461290 100644 (file)
@@ -88,6 +88,8 @@ asn1_error_code asn1_decode_ui_4
        PROTOTYPE((asn1buf *buf, krb5_ui_4 *val));
 asn1_error_code asn1_decode_kerberos_time
        PROTOTYPE((asn1buf *buf, krb5_timestamp *val));
+asn1_error_code asn1_decode_sam_flags
+       PROTOTYPE((asn1buf *buf, krb5_flags *val));
 
 /* structures */
 asn1_error_code asn1_decode_realm
@@ -132,12 +134,20 @@ asn1_error_code asn1_decode_krb_cred_info
        PROTOTYPE((asn1buf *buf, krb5_cred_info *val));
 asn1_error_code asn1_decode_pa_data
        PROTOTYPE((asn1buf *buf, krb5_pa_data *val));
-
 asn1_error_code asn1_decode_passwdsequence
        PROTOTYPE((asn1buf *buf, passwd_phrase_element *val));
-
 asn1_error_code asn1_decode_etype_info_entry
        PROTOTYPE((asn1buf *buf, krb5_etype_info_entry *val));
+asn1_error_code asn1_decode_sam_challenge
+       PROTOTYPE((asn1buf *buf, krb5_sam_challenge *val));
+asn1_error_code asn1_decode_enc_sam_key
+       PROTOTYPE((asn1buf *buf, krb5_sam_key *val));
+asn1_error_code asn1_decode_enc_sam_response_enc
+       PROTOTYPE((asn1buf *buf, krb5_enc_sam_response_enc *val));
+asn1_error_code asn1_decode_sam_response
+       PROTOTYPE((asn1buf *buf, krb5_sam_response *val));
+asn1_error_code asn1_decode_predicted_sam_response
+       PROTOTYPE((asn1buf *buf, krb5_predicted_sam_response *val));
 
 /* arrays */
 asn1_error_code asn1_decode_authorization_data
index 6add4dad4bcce20524fdb058d9c8ec889b8768d5..920d93ded98e8e68e51e79d33dfb464112c083e9 100644 (file)
@@ -222,6 +222,27 @@ asn1_error_code asn1_encode_passwdsequence
        PROTOTYPE((asn1buf *buf, const passwd_phrase_element *val, int *retlen));
 
 asn1_error_code asn1_encode_sequence_of_passwdsequence
-       PROTOTYPE((asn1buf *buf, const passwd_phrase_element **val, int *retlen));
+       PROTOTYPE((asn1buf *buf, const passwd_phrase_element **val,
+       int *retlen));
+
+asn1_error_code asn1_encode_sam_flags
+       PROTOTYPE((asn1buf * buf, const krb5_flags val, int *retlen));
+
+asn1_error_code asn1_encode_sam_challenge
+       PROTOTYPE((asn1buf *buf, const krb5_sam_challenge * val, int *retlen));
+
+asn1_error_code asn1_encode_sam_key
+       PROTOTYPE((asn1buf *buf, const krb5_sam_key *val, int *retlen));
+
+asn1_error_code asn1_encode_enc_sam_response_enc
+       PROTOTYPE((asn1buf *buf, const krb5_enc_sam_response_enc *val,
+                  int *retlen));
+
+asn1_error_code asn1_encode_sam_response
+       PROTOTYPE((asn1buf *buf, const krb5_sam_response *val, int *retlen));
+
+asn1_error_code asn1_encode_predicted_sam_response
+       PROTOTYPE((asn1buf *buf, const krb5_predicted_sam_response *val, 
+                  int *retlen));
 
 #endif