add combine_keys
authorJohn Kohl <jtkohl@mit.edu>
Fri, 22 Feb 1991 10:46:00 +0000 (10:46 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 22 Feb 1991 10:46:00 +0000 (10:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1767 dc483132-0cff-0310-8789-dd5450dbe970

doc/implement/encrypt-i.tex

index 2122fa5d48ce3b8f3303a93f8fd59c33be420156..198c3224a774712f2544cb0b1280c96fccaffb41 100644 (file)
@@ -120,6 +120,18 @@ filling in the keyblock address in \funcparam{*keyblock}.
 When the caller has finished using the keyblock, he should call
 \funcname{krb5_free_keyblock} to release its storage.
 
+\begin{funcdecl}{combine_keys}{krb5_error_code}{\funcin}
+\funcarg{const krb5_keyblock *}{key1}
+\funcarg{const krb5_keyblock *}{key2}
+\funcout
+\funcarg{krb5_keyblock **}{outkey}
+\end{funcdecl}
+Combine the two encryption keys \funcparam{key1} and \funcparam{key2} to
+generate a new output key \funcparam{outkey}.  \funcparam{outkey} is
+filled in to point to the freshly-allocated key.  When the caller is
+finished using the \funcparam{*outkey}, it should be freed with
+\funcname{krb5_free_keyblock}.
+
 \subsection{Other data elements}
 In addition to the above listed function entry points, each encryption
 system should have an entry in \globalname{krb5_csarray} and a