From: Ken Raeburn Date: Thu, 18 Mar 2004 02:16:06 +0000 (+0000) Subject: * derive.c (krb5_random2key): Don't compile. X-Git-Tag: krb5-1.4-beta1~537 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59cf8352de688f335407f0fc0b7a701d2832a90a;p=krb5.git * 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 --- diff --git a/src/lib/crypto/dk/ChangeLog b/src/lib/crypto/dk/ChangeLog index fb32bfdc3..3430370af 100644 --- a/src/lib/crypto/dk/ChangeLog +++ b/src/lib/crypto/dk/ChangeLog @@ -1,3 +1,9 @@ +2004-03-17 Ken Raeburn + + * derive.c (krb5_random2key): Don't compile. + + * dk.h (krb5_derive_random): Declare. + 2004-02-24 Sam Hartman * dk.h: As below. diff --git a/src/lib/crypto/dk/derive.c b/src/lib/crypto/dk/derive.c index 6c55c5e52..81dac4b57 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 b9c7f7007..1d742ce16 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);