summaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-09-28 10:50:01 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-09-28 10:50:01 +0000
commit747ac956a7adbb74b721babda6840fdf79f4c4d0 (patch)
tree9696b12c492bc760e91fb1bc9d6353e075832c6c /doc/api
parentad085f3dbb2d398f638d4cb2c040d4e1dfec2fbb (diff)
downloadkrb5-747ac956a7adbb74b721babda6840fdf79f4c4d0.tar.gz
krb5-747ac956a7adbb74b721babda6840fdf79f4c4d0.tar.xz
krb5-747ac956a7adbb74b721babda6840fdf79f4c4d0.zip
add descriptions of mk_rep, rd_rep
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1153 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/krb5.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/api/krb5.tex b/doc/api/krb5.tex
index f303ab3951..b46773e626 100644
--- a/doc/api/krb5.tex
+++ b/doc/api/krb5.tex
@@ -499,6 +499,36 @@ Returns system errors, encryption errors, replay errors.
Essentially the same as \funcname{krb5_rd_req}, but uses a decoded AP_REQ
as the input rather than an encoded input.
+\begin{funcdecl}{krb5_mk_rep}{krb5_error_code}{\funcin}
+\funcarg{const krb5_ap_rep_enc_part *}{repl}
+\funcarg{const krb5_keyblock *}{kblock}
+\funcout
+\funcarg{krb5_data *}{outbuf}
+\end{funcdecl}
+
+Formats and encrypts an AP_REP message, using \funcparam{*repl} for the
+encrypted part of the message. The message is encrypted under the key
+in \funcparam{*kblock}, then encoded and left in outbuf.
+
+The output buffer storage is allocated, and should be freed by the
+caller when finished.
+
+Returns system errors.
+
+\begin{funcdecl}{krb5_rd_rep}{krb5_error_code}{\funcin}
+\funcarg{const krb5_data *}{inbuf}
+\funcarg{const krb5_keyblock *}{kblock}
+\funcout
+\funcarg{krb5_ap_rep_enc_part *}{repl}
+\end{funcdecl}
+
+Parses and decrypts an AP_REP message from \funcparam{*inbuf}, filling in
+the values in \funcparam{*repl} with the values from the message.
+
+The key in \funcparam{*kblock} is used to decrypt the message.
+
+Returns system errors.
+
\begin{funcdecl}{krb5_mk_error}{krb5_error_code}{\funcin}
\funcarg{krb5_error *}{dec_err}
\funcout