crypto: Add krb5_crypto_fx_cf2 to our prototypes
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 7 Mar 2011 17:23:51 +0000 (17:23 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 13 Mar 2011 14:37:43 +0000 (07:37 -0700)
Admit to having the krb5_crypto_fx_cf2 function in the kernel RFC3961
implementation - we're going to use it for for key combining

Change-Id: Ibb11a4d7467bc18eb222d5f8902dc4181b30e92c
Reviewed-on: http://gerrit.openafs.org/4204
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/crypto/rfc3961/rfc3961.h

index 2b285e1..1ac32c3 100644 (file)
@@ -125,6 +125,14 @@ krb5_error_code krb5_crypto_prf(krb5_context context,
                                const krb5_data *input,
                                krb5_data *output);
 
+krb5_error_code krb5_crypto_fx_cf2(krb5_context context,
+                                  const krb5_crypto crypto1,
+                                  const krb5_crypto crypto2,
+                                  krb5_data *pepper1,
+                                  krb5_data *pepper2,
+                                  krb5_enctype enctype,
+                                  krb5_keyblock *res);
+
 krb5_error_code krb5_generate_random_block(void *buf, size_t len);
 
 krb5_error_code krb5_random_to_key(krb5_context context,