Function gnunet_sys::GNUNET_CRYPTO_hkdf_v[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_hkdf_v(
    result: *mut c_void,
    out_len: usize,
    xtr_algo: c_int,
    prf_algo: c_int,
    xts: *const c_void,
    xts_len: usize,
    skm: *const c_void,
    skm_len: usize,
    argp: *mut __va_list_tag
) -> GNUNET_GenericReturnValue

@ingroup hash @brief Derive key @param result buffer for the derived key, allocated by caller @param out_len desired length of the derived key @param xtr_algo hash algorithm for the extraction phase, GCRY_MD_… @param prf_algo hash algorithm for the expansion phase, GCRY_MD_… @param xts salt @param xts_len length of @a xts @param skm source key material @param skm_len length of @a skm @param argp va_list of void * & size_t pairs for context chunks @return #GNUNET_YES on success