Function seed_coap_prng

Source
pub fn seed_coap_prng(seed: c_uint) -> Result<(), RngError>
Expand description

Seeds the default PRNG of libcoap with the provided seed.

ยงErrors

May return an error if the mutex for seeding the PRNG is poisoned, i.e. there was some panic in a previous attempt of seeding the PRNG.