Home
last modified time | relevance | path

Searched refs:rng (Results 1 – 1 of 1) sorted by relevance

/hostap-3.6.0/src/crypto/
Dcrypto_wolfssl.c642 WC_RNG rng; in dh5_init() local
658 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() local
798 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() local
869 if (wc_InitRng(&rng) != 0) in crypto_get_random()
[all …]