aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-06-12 18:29:01 +0000
committerTheodore Tso <tytso@mit.edu>1996-06-12 18:29:01 +0000
commit48b75353b2ff399b39a7211b7820ebcfc40e5ad3 (patch)
tree48e67369bf0c5c07845d707fe18d090fa1a43ad7 /src
parent3bdfcb26009c61a6f898f0637acde34a4e126fd1 (diff)
downloadkrb5-48b75353b2ff399b39a7211b7820ebcfc40e5ad3.zip
krb5-48b75353b2ff399b39a7211b7820ebcfc40e5ad3.tar.gz
krb5-48b75353b2ff399b39a7211b7820ebcfc40e5ad3.tar.bz2
Add prototypes for the SAM encoding and decoding functions, which are
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/asn.1/ChangeLog6
-rw-r--r--src/lib/krb5/asn.1/asn1_k_decode.h14
-rw-r--r--src/lib/krb5/asn.1/asn1_k_encode.h23
3 files changed, 40 insertions, 3 deletions
diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog
index 0a14cb1..377351a 100644
--- a/src/lib/krb5/asn.1/ChangeLog
+++ b/src/lib/krb5/asn.1/ChangeLog
@@ -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
diff --git a/src/lib/krb5/asn.1/asn1_k_decode.h b/src/lib/krb5/asn.1/asn1_k_decode.h
index 9490619..489123b 100644
--- a/src/lib/krb5/asn.1/asn1_k_decode.h
+++ b/src/lib/krb5/asn.1/asn1_k_decode.h
@@ -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
diff --git a/src/lib/krb5/asn.1/asn1_k_encode.h b/src/lib/krb5/asn.1/asn1_k_encode.h
index 6add4da..920d93d 100644
--- a/src/lib/krb5/asn.1/asn1_k_encode.h
+++ b/src/lib/krb5/asn.1/asn1_k_encode.h
@@ -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