Add prototypes for krb5_encrypt_data(), krb5_decrypt_data()
authorTheodore Tso <tytso@mit.edu>
Mon, 13 Nov 1995 16:51:37 +0000 (16:51 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 13 Nov 1995 16:51:37 +0000 (16:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7098 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/krb5.hin

index d5a76c3cb00994ad2a28610f3d142c1fe1877da6..32ac33dc75fb3b14262dacdfa5bad3d7ae6a7edd 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 13 11:49:02 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * krb5.hin: Add prototypes krb5_encrypt_data(),
+               krb5_decrypt_data(). 
+
 Thu Nov 09 17:05:57 1995  Chris Provenzano (proven@mit.edu)
 
         * krb5.hin : Remove krb5_enctype from krb5_string_to_key() args.
index e6a2f2e8b0575a37523f73db9a327784876c2029..955b14230c6146b0ebd5156a88e916bd90d0952b 100644 (file)
@@ -466,6 +466,19 @@ extern krb5_cksumtype krb5_max_cksum;              /* max entry in array */
 #define krb5_calculate_checksum(context, ctype, in, in_length, seed, seed_length, outcksum) ((*krb5_cksumarray[ctype]->sum_func)(in, in_length, seed, seed_length, outcksum))
 #define krb5_verify_checksum(context, ctype, cksum, in, in_length, seed, seed_length) ((*krb5_cksumarray[ctype]->sum_verf_func)(cksum, in, in_length, seed, seed_length))
 
+/*
+ * encryption routine prototypes
+ */
+krb5_error_code krb5_encrypt_data
+       KRB5_PROTOTYPE((krb5_context context, krb5_keyblock *key, 
+                  krb5_pointer ivec, krb5_data *data, 
+                  krb5_enc_data *enc_data));
+
+krb5_error_code krb5_decrypt_data
+       KRB5_PROTOTYPE((krb5_context context, krb5_keyblock *key, 
+                  krb5_pointer ivec, krb5_enc_data *data, 
+                  krb5_data *enc_data));
+
 /*
  * end "encryption.h"
  */