Function gnunet_sys::GNUNET_CRYPTO_hkdf [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_hkdf(
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,
...
) -> 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 … pair of void * & size_t for context chunks, terminated by NULL @return #GNUNET_YES on success