* derive.c (krb5_random2key): Don't compile.
authorKen Raeburn <raeburn@mit.edu>
Thu, 18 Mar 2004 02:16:06 +0000 (02:16 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 18 Mar 2004 02:16:06 +0000 (02:16 +0000)
* dk.h (krb5_derive_random): Declare.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16180 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/dk/ChangeLog
src/lib/crypto/dk/derive.c
src/lib/crypto/dk/dk.h

index fb32bfdc3ff89290bd23268b005873ae347ad66c..3430370afae4615065a97acc9e0ed6292bee635b 100644 (file)
@@ -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.
index 6c55c5e52f375e7bc59b8248359564ee198c895b..81dac4b57c5ee918353e435bc649c24e605dbdc1 100644 (file)
@@ -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
index b9c7f700701eebed924f322a24d89f367ccdd944..1d742ce164b19004cbd803d11e2c6eb8bb6b0836 100644 (file)
@@ -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);