diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-03-18 02:16:06 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-03-18 02:16:06 +0000 |
commit | 59cf8352de688f335407f0fc0b7a701d2832a90a (patch) | |
tree | c42195201077db8ef60e781bc2e423f7b32b5c74 /src/lib | |
parent | c1ff6d6bfa7a79be3f46fb0e005cbcdb76684d8f (diff) | |
download | krb5-59cf8352de688f335407f0fc0b7a701d2832a90a.zip krb5-59cf8352de688f335407f0fc0b7a701d2832a90a.tar.gz krb5-59cf8352de688f335407f0fc0b7a701d2832a90a.tar.bz2 |
* derive.c (krb5_random2key): Don't compile.
* dk.h (krb5_derive_random): Declare.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16180 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/crypto/dk/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/crypto/dk/derive.c | 2 | ||||
-rw-r--r-- | src/lib/crypto/dk/dk.h | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/crypto/dk/ChangeLog b/src/lib/crypto/dk/ChangeLog index fb32bfd..3430370 100644 --- a/src/lib/crypto/dk/ChangeLog +++ b/src/lib/crypto/dk/ChangeLog @@ -1,3 +1,9 @@ +2004-03-17 Ken Raeburn <raeburn@mit.edu> + + * derive.c (krb5_random2key): Don't compile. + + * dk.h (krb5_derive_random): Declare. + 2004-02-24 Sam Hartman <hartmans@avalanche-breakdown.mit.edu> * dk.h: As below. diff --git a/src/lib/crypto/dk/derive.c b/src/lib/crypto/dk/derive.c index 6c55c5e..81dac4b 100644 --- a/src/lib/crypto/dk/derive.c +++ b/src/lib/crypto/dk/derive.c @@ -193,6 +193,7 @@ krb5_derive_random(const struct krb5_enc_provider *enc, return(0); } +#if 0 #include "etypes.h" void krb5_random2key (krb5_enctype enctype, krb5_data *inblock, @@ -213,3 +214,4 @@ krb5_random2key (krb5_enctype enctype, krb5_data *inblock, enc->make_key (inblock, outkey); } +#endif diff --git a/src/lib/crypto/dk/dk.h b/src/lib/crypto/dk/dk.h index b9c7f70..1d742ce 100644 --- a/src/lib/crypto/dk/dk.h +++ b/src/lib/crypto/dk/dk.h @@ -79,3 +79,7 @@ krb5_error_code krb5_dk_make_checksum const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *input, krb5_data *output); +krb5_error_code +krb5_derive_random(const struct krb5_enc_provider *enc, + const krb5_keyblock *inkey, krb5_data *outrnd, + const krb5_data *in_constant); |