1krb5_c_fx_cf2_simple - Compute the KRB-FX-CF2 combination of two keys and pepper strings. 2=========================================================================================== 3 4.. 5 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) 7 8.. 9 10 11:param: 12 13 **[in]** **context** - Library context 14 15 **[in]** **k1** - KDC contribution key 16 17 **[in]** **pepper1** - String"PKINIT" 18 19 **[in]** **k2** - Reply key 20 21 **[in]** **pepper2** - String"KeyExchange" 22 23 **[out]** **out** - Output key 24 25 26.. 27 28 29:retval: 30 - 0 Success; otherwise - Kerberos error codes 31 32 33.. 34 35 36 37 38 39 40 41This 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. 42 43 44 45 46 47 48 49 50 51 52.. 53 54 55 56 57 58