diff options
Diffstat (limited to 'src/lib/crypto/dk')
-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); |