summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2006-11-09 20:15:54 +0000
committerKevin Coffman <kwc@citi.umich.edu>2006-11-09 20:15:54 +0000
commitaf11fb8369ed3db1e7c98844f926a0d4292d1567 (patch)
treeb873be94b65ce57513fced8b4d10bd12c2f21124 /src/include
parent95ee526dd46fac618a9d685057fbe6c368f5c188 (diff)
downloadkrb5-af11fb8369ed3db1e7c98844f926a0d4292d1567.tar.gz
krb5-af11fb8369ed3db1e7c98844f926a0d4292d1567.tar.xz
krb5-af11fb8369ed3db1e7c98844f926a0d4292d1567.zip
Add public function to get keylenth associated with an enctype
Add a new function, krb5_c_keylength, to libk5crypto to obtain the keylength associated with an enctype. ticket: new Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18789 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/krb5.hin5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 081a43ffc2..42d141ee3e 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -437,6 +437,11 @@ krb5_error_code KRB5_CALLCONV
size_t *blocksize);
krb5_error_code KRB5_CALLCONV
+ krb5_c_keylength
+ (krb5_context context, krb5_enctype enctype,
+ size_t *keylength);
+
+krb5_error_code KRB5_CALLCONV
krb5_c_init_state
(krb5_context context,
const krb5_keyblock *key, krb5_keyusage usage,