Searched refs:rng (Results 1 – 1 of 1) sorted by relevance
642 WC_RNG rng; in dh5_init() local658 if (wc_InitRng(&rng) != 0) { in dh5_init()673 if (wc_DhGenerateKeyPair(dh, &rng, wpabuf_mhead(privkey), &priv_sz, in dh5_init()693 wc_FreeRng(&rng); in dh5_init()786 WC_RNG rng; in crypto_dh_init() local798 if (wc_InitRng(&rng) != 0) { in crypto_dh_init()806 if (wc_DhGenerateKeyPair(dh, &rng, privkey, &priv_sz, pubkey, &pub_sz) in crypto_dh_init()827 wc_FreeRng(&rng); in crypto_dh_init()867 WC_RNG rng; in crypto_get_random() local869 if (wc_InitRng(&rng) != 0) in crypto_get_random()[all …]