From 215d9a6745d8caf70b889b493d354e804f4729a5 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 31 May 1990 21:55:01 +0000 Subject: [PATCH] updated for new macro calling convention git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@975 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/implement/encrypt-i.tex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/implement/encrypt-i.tex b/doc/implement/encrypt-i.tex index 5fad68983..2122fa5d4 100644 --- a/doc/implement/encrypt-i.tex +++ b/doc/implement/encrypt-i.tex @@ -4,7 +4,7 @@ Kerberos v5 implementation must implement at least this interface: \subsection{Functional interface} -\begin{funcdecl}[encrypt_func]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{encrypt_func}{krb5_error_code}{\funcvoid} \funcarg{const krb5_pointer}{in} \funcarg{krb5_pointer}{out} \funcarg{const size_t}{size} @@ -28,7 +28,7 @@ If null, the cryptosystem may choose an appropriate initialization vector. Returns errors. -\begin{funcdecl}[decrypt_func]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{decrypt_func}{krb5_error_code}{\funcvoid} \funcarg{const krb5_pointer}{in} \funcarg{krb5_pointer}{out} \funcarg{const size_t}{size} @@ -51,7 +51,7 @@ If null, the cryptosystem may choose an appropriate ivec. Returns errors. -\begin{funcdecl}[process_key]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{process_key}{krb5_error_code}{\funcvoid} \funcarg{krb5_encrypt_block *}{eblock} \funcarg{krb5_keyblock *}{keyblock} \end{funcdecl} @@ -67,7 +67,7 @@ The caller may not move or reallocate \funcparam{keyblock} before calling Returns errors. -\begin{funcdecl}[finish_key]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{finish_key}{krb5_error_code}{\funcvoid} \funcarg{krb5_encrypt_block *}{eblock} \end{funcdecl} Does any necessary clean-up on \funcparam{eblock} (such as releasing @@ -75,7 +75,7 @@ resources held by \funcparam{eblock{\ptsto}priv}. Returns errors. -\begin{funcdecl}[string_to_key]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{string_to_key}{krb5_error_code}{\funcvoid} \funcarg{krb5_keytype}{keytype} \funcarg{krb5_keyblock *}{keyblock} \funcarg{krb5_data *}{data} @@ -95,7 +95,7 @@ key of type \funcparam{keytype}, an error may be returned. Returns errors. -\begin{funcdecl}[init_random_key]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{init_random_key}{krb5_error_code}{\funcvoid} \funcarg{krb5_keyblock *}{seedblock} \funcarg{krb5_pointer *}{seed} \end{funcdecl} @@ -105,13 +105,13 @@ in \funcparam{*seed} with the address of such information. \funcparam{*seed} is to be passed to \funcname{random_key} to provide sequence information. -\begin{funcdecl}[finish_random_key]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{finish_random_key}{krb5_error_code}{\funcvoid} \funcarg{krb5_pointer}{seed} \end{funcdecl} Free any resources held by \funcparam{seed} and assigned by \funcname{init_random_key}. -\begin{funcdecl}[random_key]{krb5_error_code}{\funcvoid} +\begin{funcdecl}{random_key}{krb5_error_code}{\funcvoid} \funcarg{krb5_pointer}{seed} \funcarg{krb5_keyblock **}{keyblock} \end{funcdecl} @@ -122,6 +122,6 @@ When the caller has finished using the keyblock, he should call \subsection{Other data elements} In addition to the above listed function entry points, each encryption -system should have an entry in \libname{krb5_cs_table_entry} and a +system should have an entry in \globalname{krb5_csarray} and a \datatype{krb5_cryptosystem_entry} structure describing the entry points and key and padding sizes for the encryption system. -- 2.26.2