From: John Kohl Date: Fri, 28 Sep 1990 10:50:01 +0000 (+0000) Subject: add descriptions of mk_rep, rd_rep X-Git-Tag: krb5-1.0-alpha2~258 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=747ac956a7adbb74b721babda6840fdf79f4c4d0;p=krb5.git add descriptions of mk_rep, rd_rep git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1153 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/api/krb5.tex b/doc/api/krb5.tex index f303ab395..b46773e62 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