From: Theodore Tso Date: Mon, 13 Nov 1995 16:51:37 +0000 (+0000) Subject: Add prototypes for krb5_encrypt_data(), krb5_decrypt_data() X-Git-Tag: krb5-1.0-beta6~805 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a784b5902d8183a6fb523402d52949b6ea937a09;p=krb5.git Add prototypes for krb5_encrypt_data(), krb5_decrypt_data() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7098 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d5a76c3cb..32ac33dc7 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 13 11:49:02 1995 Theodore Y. Ts'o + + * 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. diff --git a/src/include/krb5.hin b/src/include/krb5.hin index e6a2f2e8b..955b14230 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -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" */