Function gnunet_sys::GNUNET_CRYPTO_kdf_mod_mpi[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_kdf_mod_mpi(
    r: *mut gcry_mpi_t,
    n: gcry_mpi_t,
    xts: *const c_void,
    xts_len: usize,
    skm: *const c_void,
    skm_len: usize,
    ctx: *const c_char
)

Deterministically generate a pseudo-random number uniformly from the integers modulo a libgcrypt mpi.

@param[out] r MPI value set to the FDH @param n MPI to work modulo @param xts salt @param xts_len length of @a xts @param skm source key material @param skm_len length of @a skm @param ctx context string