From a784b5902d8183a6fb523402d52949b6ea937a09 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 13 Nov 1995 16:51:37 +0000 Subject: [PATCH] Add prototypes for krb5_encrypt_data(), krb5_decrypt_data() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7098 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/krb5.hin | 13 +++++++++++++ 2 files changed, 18 insertions(+) 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" */ -- 2.26.2