diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2006-11-17 19:48:17 +0000 |
---|---|---|
committer | Kevin Coffman <kwc@citi.umich.edu> | 2006-11-17 19:48:17 +0000 |
commit | e91c20fb8b51c22f8a81ebd8f81343f4bd1d0896 (patch) | |
tree | 6e12ff022f4a51b58ace620c2e1315c1809e21c1 /src/lib/crypto/libk5crypto.exports | |
parent | f893735bf76cee0a7fea6bb092e4ee4bc84eac9c (diff) | |
download | krb5-e91c20fb8b51c22f8a81ebd8f81343f4bd1d0896.zip krb5-e91c20fb8b51c22f8a81ebd8f81343f4bd1d0896.tar.gz krb5-e91c20fb8b51c22f8a81ebd8f81343f4bd1d0896.tar.bz2 |
update krb5_c_keylength function, create krb5_c_random_to_key function
Modify the keylength function to return both keybytes and keylength.
Change the name of the function and source file to reflect this.
Add a function, krb5_c_random_to_key() that takes random input data
of the right length (keybytes) and produce a valid key for a given
enctype.
ticket: new
Target_Version: 1.6
Tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18836 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/libk5crypto.exports')
-rw-r--r-- | src/lib/crypto/libk5crypto.exports | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/crypto/libk5crypto.exports b/src/lib/crypto/libk5crypto.exports index 1f7dc32..99eb202 100644 --- a/src/lib/crypto/libk5crypto.exports +++ b/src/lib/crypto/libk5crypto.exports @@ -23,7 +23,7 @@ krb5_c_init_state krb5_c_is_coll_proof_cksum krb5_c_is_keyed_cksum krb5_c_keyed_checksum_types -krb5_c_keylength +krb5_c_keylengths krb5_c_make_checksum krb5_c_make_random_key krb5_c_prf @@ -32,6 +32,7 @@ krb5_c_random_add_entropy krb5_c_random_make_octets krb5_c_random_os_entropy krb5_c_random_seed +krb5_c_random_to_key krb5_c_string_to_key krb5_c_string_to_key_with_params krb5_c_valid_cksumtype |