1 krb5_c_fx_cf2_simple - Compute the KRB-FX-CF2 combination of two keys and pepper strings.
2 ===========================================================================================
6 .. c:function:: krb5_error_code krb5_c_fx_cf2_simple(krb5_context context, const krb5_keyblock * k1, const char * pepper1, const krb5_keyblock * k2, const char * pepper2, krb5_keyblock ** out)
13 **[in]** **context** - Library context
15 **[in]** **k1** - KDC contribution key
17 **[in]** **pepper1** - String"PKINIT"
19 **[in]** **k2** - Reply key
21 **[in]** **pepper2** - String"KeyExchange"
23 **[out]** **out** - Output key
30 - 0 Success; otherwise - Kerberos error codes
41 This function computes the KRB-FX-CF2 function over its inputs and places the results in a newly allocated keyblock. This function is simple in that it assumes that *pepper1* and *pepper2* are C strings with no internal nulls and that the enctype of the result will be the same as that of *k1* . *k1* and *k2* may be of different enctypes.