summaryrefslogtreecommitdiffstats
path: root/src/lib/kdb/encrypt_key.c
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-02-08 10:14:51 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-02-08 10:14:51 +0000
commit6e7baf59cd6c03cb75ae292f3e513aaa172f0c14 (patch)
tree4cb32e743ae520116dd12479bf4c462dbd797502 /src/lib/kdb/encrypt_key.c
parent0d5de2fd5d3bc1f312bdb4b689a535d538e17727 (diff)
downloadkrb5-6e7baf59cd6c03cb75ae292f3e513aaa172f0c14.tar.gz
krb5-6e7baf59cd6c03cb75ae292f3e513aaa172f0c14.tar.xz
krb5-6e7baf59cd6c03cb75ae292f3e513aaa172f0c14.zip
add comments; rearrange argument order to be in, then out
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@319 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kdb/encrypt_key.c')
-rw-r--r--src/lib/kdb/encrypt_key.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/kdb/encrypt_key.c b/src/lib/kdb/encrypt_key.c
index 4d82cc9456..e82a87ccbf 100644
--- a/src/lib/kdb/encrypt_key.c
+++ b/src/lib/kdb/encrypt_key.c
@@ -21,6 +21,12 @@ static char rcsid_encrypt_key_c [] =
#include <krb5/ext-proto.h>
#include <errno.h>
+/*
+ * Encrypt a key for storage in the database. "eblock" is used
+ * to encrypt the key in "in" into "out"; the storage pointed to by "out"
+ * is allocated before use.
+ */
+
krb5_error_code
krb5_kdb_encrypt_key(in, out, eblock)
krb5_keyblock *in;